Skip to main content

Get a device token

Request

Security
ApiKey(Required scopes: deviceTokens.list)
Path
idstringrequired

Device token ID

Payload
// No request payload

Responses

The device token

Bodyapplication/json
idstringrequired
createdAtstring, (date-time)required

Timestamp of the device token's creation

deviceIdstring or null

ID of the associated device

projectIdstringrequired

ID of the associated project

enabledbooleanrequired

Whether this token is enabled or not

preapprovedbooleanrequired

Whether devices created with this token are preapproved

Response
{ "id": "string", "createdAt": "2019-08-24T14:15:22Z", "deviceId": "string", "projectId": "string", "enabled": true, "preapproved": true }