- Print
- DarkLight
How do I authenticate with the BusinessManager?
Article summary
Did you find this summary helpful?
Thank you for 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?