Adullam Get Token API
The Get Token API allows you to obtain an access token for authenticating your requests to the Adullam platform. This documentation provides details on how to use the Get Token API, including the required parameters and response format.Endpoint
Request Parameters
The Get Token API requires the following parameters in the request body:grant_type(string, required): The type of grant being used. Common values includeclient_credentialsandauthorization_code.client_id(string, required): Your application’s client ID.client_secret(string, required): Your application’s client secret.code(string, optional): The authorization code received from the authorization server (required forauthorization_codegrant type).redirect_uri(string, optional): The redirect URI used in the authorization request (required forauthorization_codegrant type).
Example Request
Example Response
Response Parameters
The response from the Get Token API includes the following parameters:access_token(string): The access token to be used for authenticating API requests.token_type(string): The type of token issued (typically “Bearer”).expires_in(integer): The duration in seconds for which the access token is valid.scope(string): The scopes associated with the access token.
Using the Access Token
To use the access token, include it in theAuthorization header of your HTTP requests to the Adullam REST API. The header should be formatted as follows:
YOUR_ACCESS_TOKEN with the actual access token you received.