Devices
devices
Methods
get/devices
Retrieve a list of devices.
Filtering by custom properties
Use the query parameter to filter devices on custom properties.
Syntax:
properties.key:value: matches devices with a property that contains a key namedkeywith a value ofvalue; use double quotes if the value contains spaces or special charactersproperties.key:value1,value2: matches devices with a property that contains a key namedkeyand its value is eithervalue1orvalue2properties.key:*: matches devices with a property that contains a key namedkeyand any valuefoo: matches devices with properties where any key or stringified value containsfooMultiple qualifiers can be used in the same query string; this will filter devices matching the intersection of the qualifiers (AND).
post/devices
Create a device
get/devices/{nameOrId}
Get details on a specific device.
Delete A Device -> { id }
delete/devices/{nameOrId}
Delete a device. Once a device is deleted, it will no longer show up in your list of devices.
Before deleting a device, you must delete all associated data.
Domain types
Device = { id, name, createdAt, 4 more... }
Devices
Tokens
devices.tokens
Methods
get/device-tokens
List device tokens
post/device-tokens
You must have an Enterprise or Team account to create and use device tokens
get/device-tokens/{id}
Get a device token
patch/device-tokens/{id}
Edit a device token
Delete A Device Token -> { id }
delete/device-tokens/{id}
Delete a device token
Domain types
DeviceToken = { id, createdAt, deviceId, 1 more... }
A DeviceToken authenticates device agents to the API.