This documentation is currently under development. Certain sections are not yet complete and will be added shortly.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Devices

Get all registered devices

get
/api/{tenantId}/devices

Returns all devices associated with the tenant, including their configuration and status.

Authorization

Requires Device.Read scope.

Pagination

Currently returns all devices. Pagination may be added in future versions if needed.

Use Cases

  • Device inventory management

  • Configuration deployment

  • Status monitoring

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
tenantIdstringRequired
Responses
200

List of all devices

Device metadata exposed by the API.

deviceIdstringOptional

Unique device identifier.

namestringOptional

Device name.

descriptionstring · nullableOptional

Optional description.

isEnabledbooleanOptional

Whether the device is currently active.

typestring · enumOptional

Device type (CrewCheck, etc.).

Possible values:
settingsone ofOptional

Type-specific settings.

get/api/{tenantId}/devices

Create a new device of the specified type.

post
/api/{tenantId}/devices

Creates a new device with the specified type and configuration. Currently supports CrewCheck device type with logo URL configuration.

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
tenantIdstringRequired
Body

Payload to create a new device.

typestring · enumOptional

Device type to create.

Possible values:
namestringOptional

Device name.

descriptionstring · nullableOptional

Optional device description.

Responses
201

Device created successfully

No content

post/api/{tenantId}/devices

No content

Retrieve a device by id.

get
/api/{tenantId}/devices/{deviceId}

Returns detailed information about a specific device including its type and configuration settings.

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
deviceIdstringRequired

Device identifier.

tenantIdstringRequired
Responses
200

Device details

No content

get/api/{tenantId}/devices/{deviceId}

No content

Update a device.

put
/api/{tenantId}/devices/{deviceId}

Updates name, description, and enabled status.

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
deviceIdstringRequired

Device identifier.

tenantIdstringRequired
Body

Payload to update a device.

namestringOptional

Device name.

descriptionstring · nullableOptional

Optional description.

isEnabledbooleanOptional

Whether the device should be enabled.

Responses
200

Device updated successfully

No content

put/api/{tenantId}/devices/{deviceId}

No content

Delete a device and revoke its API key.

delete
/api/{tenantId}/devices/{deviceId}

Removes the device from the system and invalidates any associated API keys. This prevents the device from authenticating to the system.

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
deviceIdstringRequired

Device identifier.

tenantIdstringRequired
Responses
202

Device deletion accepted

No content

delete/api/{tenantId}/devices/{deviceId}

No content

Connect a device using its API key and return device settings.

post
/api/{tenantId}/devices/{deviceId}/connect

Establishes a connection for the device and returns its current configuration settings. This endpoint verifies the device's authorization before allowing the connection.

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
deviceIdstringRequired

Device identifier.

tenantIdstringRequired
Responses
200

Connection established with device settings

Connect result information

settingsone ofOptional

Settings related to the connected device

post/api/{tenantId}/devices/{deviceId}/connect

Reset a device connection and return a fresh API key and environment details.

post
/api/{tenantId}/devices/{deviceId}/connections/reset

Generates a new API key for the device and returns connection details including the environment URI. This is useful when the device needs to reconnect or its credentials have been compromised.

Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
tenantIdstringRequired

Tenant identifier.

deviceIdstringRequired

Device identifier.

Responses
200

Connection token with new API key

Connection token information returned to the device.

deviceIdstringOptional

Device identifier.

tenantIdstringOptional

Tenant identifier.

apiKeystringOptional

Issued API key for the device.

environmentstring · uriOptional

Environment base URI the device should call.

post/api/{tenantId}/devices/{deviceId}/connections/reset

Last updated