Use the following APIs to issue device token and device credentials.
Create Device Credential
Get Device Token
- Required Permissions
-
You must have the Get Device Token permission to perform this operation.
- API
- /api/device-tokens
- Header
-
x-device-auth
Enter the device credential that you created in the Create Device Credential API.
- Method
- GET
- Required Parameters
-
Name Description id string
Device ID. - Response
-
{ "deviceId": "string", "accessToken": "string" }