Retrieves the OEM config schema for a given OEM type and app package name. Use it to get the structure that describes which OEM-specific managed configuration keys an app supports and how they're formatted.
By default this returns the latest active schema; pass version_code to pin to a specific schema version, and set include_schema=false when you only need metadata and want to avoid downloading the (potentially large) schema_json payload.
About OEM Config Schema
OEM config schemas describe device-manufacturer-specific managed configuration options (separate from an app's standard managed configuration) so that OEM-provided settings can be surfaced and applied consistently through Esper. Schemas are versioned per OEM type and package name, with one version marked active at a time.
Key Fields / Query Parameters
- oem_type — the OEM/manufacturer identifier the schema applies to
- package_name — the Android package name of the app the schema is for
- version_code — optional, retrieves a specific schema version instead of the latest active one
- include_schema — set to false to omit the schema_json payload and return metadata only
Common Use Cases
- Fetching the current OEM config schema before building a UI or payload for OEM-specific managed configuration
- Checking metadata only (via include_schema=false) to confirm a schema exists or see its version without pulling the full payload
Best Practices
- Use include_schema=false when you only need to check schema existence or version, since schema_json payloads can be large Retrieve the OEM config schema for a given OEM type and package name. Returns the latest active schema by default. Specify
version_codeto retrieve a specific version. Setinclude_schema=falseto receive metadata only (avoids the largeschema_jsonpayload).
- Mock serverhttps://api.esper.io/_mock/openapi/v2/oem-config-schema
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/v2/oem-config-schema
curl -i -X GET \
'https://api.esper.io/_mock/openapi/v2/oem-config-schema?oem_type=ZEBRA&package_name=com.zebra.oemconfig.common&version_code=10&include_schema=true' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "code": 200, "message": "string", "content": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "oem_type": "ZEBRA", "package_name": "com.zebra.oemconfig.common", "version_name": "11.3.3.00", "version_code": "10", "schema_format": "string", "parser_version": "string", "is_latest": true, "status": "ACTIVE", "schema_metadata": {}, "schema_json": {}, "created_at": "2019-08-24T14:15:22Z" } }