Skip to main content

List device tokens

Request

Security
ApiKey(Required scopes: deviceTokens.list)
Query
deviceIdstring

Filter by device ID

Payload
// No request payload

Responses

List of device tokens

Bodyapplication/json
Array [
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 } ]