Skip to main content

Requesting a token

If you have not created an API Client, please visit Create an API Client before continuing.

Visit Partner Portal

Visit the API Clients page within the partner portal https://stream-partner-web.vercel.app/clients

token page

Gathering credentials

On the API Clients page, grab your Client ID and a Client Secret for the API Client you would like to use.

Once you have your credentials, you will be able to being communicating with our API.

Requesting a Token using oAuth

To request a token, you must make a POST request to /oauth/token,

curl --location --request POST 'https://<STREAM_API_URL>/oauth/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"grant_type": "client_credentials",
"client_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"client_secret": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}'

Visit API Reference - oAuth for more details.