How do I authenticate with the BusinessManager?
  • 29 Jun 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

How do I authenticate with the BusinessManager?

  • Dark
    Light

Article summary

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?