Skip to Content
CloudAPI and integrationsAuthentication and permissions

Cloud — Authentication and permissions

Create an authorized Auris M2M application and exchange its client credentials at POST /api/auth/token with grant_type=client_credentials. Send the resulting access token in Authorization: Bearer <access_token>. Do not send the client secret as a resource-server bearer token or expose it in browser code. The required product scope is product:cloud; it is carried in the token’s scope claim, not the JWT aud claim.

Send client_id, client_secret and grant_type in form-encoded or JSON body. An optional scope is a space-separated request; when supplying it, include the required product scope as well as the needed resource scopes. Requested scopes are intersected with allowed scopes and may be further filtered; without a scope request the application’s allowed scopes are used subject to filtering. Check the returned scope before calling the product.

The key must resolve to a tenant or organization. Cloud also recognizes product/resource scope aliases: cloud:read can satisfy read operations, cloud:write can satisfy product operations, resource write can satisfy the matching read, and resource wildcards are recognized. These grants are broader than a single listed scope. Rate limits depend on the operation; follow Retry-After when supplied.

Resource scopes

Each operation lists literal resource scopes identified in its wrapper; additional dynamic or downstream checks can apply. When a key declares granular resource scopes, they are enforced. Keys carrying only product scopes can retain broader product access; use explicit resource scopes for new integrations and grant only the required operations. Never infer tenant access from an ID supplied by the caller.

Compatibility routes

These routes forward to existing application handlers. They are listed for compatibility and troubleshooting, not as a promise of uniform M2M authentication, scopes or response schemas. The forwarded handler can require an interactive session, tenant permissions, a licensed module or a provider configuration. Use the explicit public M2M contract where available. Inspect the result body and the resulting record: some legacy adapters can return metadata with HTTP 200 after a forwarding failure.

Endpoint catalog