- Print
- DarkLight
How do I authenticate with the BusinessManager?
Article Summary
Share feedback
Thanks for sharing your feedback!
To use the BusinessManager API authenticate with your Client ID and Client Secret.
You get a token in return.
You need your Client ID and Client Secret for your software.
Perform this request:
curl --request POST \
--url https://promaterial.eu.auth0.com/oauth/token \
--header 'content-type: application/json' \
--data '{
"client_id": "<your client ID>",
"client_secret": "<your client secret>",
"audience": "http://bm.promaterial.com/api",
"grant_type": "client_credentials"
}'
Answer:
{
"access_token": "<your JWT access token>",
"scope": "read:connecteddistributiongates",
"expires_in": 86400,
"token_type": "Bearer"
}
Was this article helpful?