Getting Started¶
The Location Intelligence APIs use Machine-to-Machine Authentication and Authorization with OAuth2.0 client credentials flow.
End-user requests Enlighted for API access.
Once approved, Enlighted will email the end-user with a Client ID and Client Secret.
Request Auth0 service for a Bearer token using a Client ID and Secret provided by Enlighted.
Example request for Bearer Token¶
curl --request POST \
--url https://enlightedinc-p01.us.auth0.com/oauth/token \
--header 'content-type: application/json' \
--data '{"client_id":<client_id>,"client_secret":<client_secret>,"audience":"https://rtls-us-east-1-prod.dsp.enlightedinc.com","grant_type":"client_credentials"}'
Response¶
{
"access_token": <access_token>,
"token_type": "Bearer"
}