Authorization
📘
Try It Out Yourself
To try out our API and see a live example, visit our API Reference Test Page.
Generate an authorization token
Now that you have your Client ID
and Client Secret
, you can now generate an authorization token. This token is what you will provide in the Authorization
header of your requests.
To generate an authorization token, send a POST request containing the following JSON data to the following API endpoint.
🚧
API Keys
Your API Keys are required to generate an authorization token. View guide on how to get your API Keys.
You should replace
CLIENT_ID
andCLIENT_SECRET
with the appropriate value as seen on your Decide dashboard.
Endpoint: https://api.indicina.co/api/v3/client/api/login
Method: POST
Authentication:No Auth
Content Type:Application/json
Request Body to AuthenticateResponse
{
"client_id": "CLIENT_ID",
"client_secret": "CLIENT_SECRET"
}
In order to authorize a request, you need to provide the authorization token that was generated in the previous step.