Workspace API tokens
Generate a token in Dashboard → Integrations → Generate Token. Pick a name and the scopes the token needs. The full token is shown once, so copy it right away. Send the token in theAuthorization header:
X-API-Key: <YOUR_API_TOKEN> header is also accepted.
A token belongs to one workspace and can only reach devices in that workspace. Revoking a token in Integrations stops it immediately.
Scopes
Give each token only the scopes it needs. A token can also be limited to specific device templates.