For the complete documentation index, see llms.txt. This page is also available as Markdown.

Access and tokens

Accessing the Ardexa API

To access the Ardexa API you will need either:

  • an API token issued by an Ardexa workgroup owner

  • access to an Ardexa device that has been granted permission to interact with Ardexa's API

API access is restricted to the Ardexa Cloud workgroup that issued the token. Note that Ardexa hosts multiple clouds. A token issued for one cloud cannot be used to access another cloud.

If you have the Owner role or the Manage Access permission in your workgroup, see API Tokens for information on how to issue an API token and Device access to the API for information on allowing devices to interact with the API. Most of this documentation assumes that you will be using an API token instead of an Ardexa device.

If you do not have access to the workgroup, contact your workgroup administrator or Ardexa Account Manager to discuss obtaining API access.

Token management

Ardexa API tokens are JSON Web Tokens, which are passed to the API as Bearer tokens via the Authorization HTTP header. As these are Bearer tokens, if an attacker manages to obtain a copy of the token, they will be able to perform any actions the token is authorised to perform. This means that securing the token during transmission and storage is of vital importance.

Ardexa API tokens are issued with an expiry date set by the token issuer. Once this passes, the token will no longer be able to authorise requests to the Ardexa API. This will typically result in HTTP 401 error codes being returned to all requests.

API tokens can also be blocked and/or revoked by workgroup administrators.

Tokens can optionally be configured to allow self-renewal. This allows a new token with matching permissions to be obtained by the token holder. See Automated API Token Renewal for more information.

Supported Protocols

The Ardexa API offers REST and websocket interfaces.

Reference documentation

See API Reference for a detailed openapi specification describing the Ardexa Cloud API.

Last updated

Was this helpful?