Authorization

Deskree employs Bearer tokens for user authorization in API requests, dependent on project endpoint permissions.

How to send a request that needs authorization?

When your endpoints have permissions other than public, include a Bearer token in the authorization header for API requests.

curl --location 'https://${project_id}.api.deskree.com/api/v1/rest/collections/users' \
--header 'Authorization: Bearer ${idToken}'

How to get a Bearer token?

To obtain a token from sign-up and sign-in requests, activate the AUTH provider first. Sign in or sign up a user using any of the Deskree AUTH API methods listed below, and the token will be returned within the idToken property.

Last updated