circle-exclamation
This documentation is currently under development. Certain sections are not yet complete and will be added shortly.

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

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
tenantIdstringRequired
Responses
chevron-right
200

List of all devices

Device metadata exposed by the API.

deviceIdstring · nullableOptional

Unique device identifier.

namestring · nullableOptional

Device name.

descriptionstring · nullableOptional

Optional description.

isEnabledbooleanOptional

Whether the device is currently active.

typestring · enumOptionalPossible values:
settingsone ofOptional

Type-specific settings.

objectOptional
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.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
tenantIdstringRequired
Body

Payload to create a new device.

typestring · enumOptionalPossible values:
namestring · nullableOptional

Device name.

descriptionstring · nullableOptional

Optional device description.

Responses
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.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
deviceIdstringRequired

Device identifier.

tenantIdstringRequired
Responses
chevron-right
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.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
deviceIdstringRequired

Device identifier.

tenantIdstringRequired
Body

Payload to update a device.

namestring · nullableOptional

Device name.

descriptionstring · nullableOptional

Optional description.

isEnabledbooleanOptional

Whether the device should be enabled.

Responses
chevron-right
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.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
deviceIdstringRequired

Device identifier.

tenantIdstringRequired
Responses
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.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
deviceIdstringRequired

Device identifier.

tenantIdstringRequired
Responses
chevron-right
200

Connection established with device settings

Connect result information

settingsone ofOptional

Settings related to the connected device

objectOptional
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.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
tenantIdstringRequired

Tenant identifier.

deviceIdstringRequired

Device identifier.

Responses
chevron-right
200

Connection token with new API key

Connection token information returned to the device.

deviceIdstring · nullableOptional

Device identifier.

tenantIdstring · nullableOptional

Tenant identifier.

apiKeystring · nullableOptional

Issued API key for the device.

environmentstring · nullableOptional

Environment base URI the device should call.

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

Last updated