Use the Access Token

After you have obtained the access token from the token request response, you can use it to make authenticated API calls to other endpoints.

As an example, let's use the access token to make a POST request to get your user details:

POST https://app.datorama.com/services/admin/user/find/{user_id}

You should add an Authorization Header:

Authorization: Bearer [your access token]

Replace [your access token] with the actual access token obtained from the token request response (field: “access_token”).

Example Response:

Note
Note This is just an example, and the actual endpoints and data for your specific use case may differ.
Example
Example
{
"id": 123,
"name": "John Doe",
"email": "john.doe@example.com"
...
}