Create Device

Create Device


Behaviour

This API is designed to create a user device within Cortex.

The only required field in the body is deviceId - the rest are optional.

You can associate a device with an Cortex SSO (auth) ID by supplying an Cortex access token in the Authorization header, for example:

Authorization: Bearer {access_token}

This will populate the authId field automatically with their SSO ID.

Duration is measured in seconds.


Authentication

Authentication is required for this API using an API Key. This API key will be provided by the Cortex support team.

HeaderWhat’s it forExample Value
X-APP-IDDefines the application the call is accessing from, e.g. android, ios, or web.android
X-REALMDefines the space or client the caller is trying to access, e.g. CORTEX.cortex
X-API-KEYDefines the key or password the caller is authenticating with. These will be stored per app ID and realm.
Language
Credentials
http
URL
Click Try It! to start a request and see the response here!