Obtaining an authorization token

Authentication allows all types of users to obtain an Auth id_token, which can then be utilized as an Authorization Bearer token for users with defined roles, including administrators.

This authToken serves as proof of a user's authentication and can be used to authorize access to protected resources


Login API allows users to securely authenticate and retrieve their Auth Token and User Role.

The endpoint accepts HTTP POST requests and expects the following headers:

  • serviceId (required): The unique identifier for each project.

and JSON payload with the following parameters:

  • email (required): The email of the user.

  • password (required): The password of the user.

curl --location --request POST '' \
--header 'serviceid: serviceid' \
--header 'Content-Type: application/json' \
--data-raw '{

Upon successful authentication, the Login API returns a JSON response with the following parameters:

  • token : The Auth Token used for authorization.

  • role : The role of the authenticated user.

Last updated