Step 1 - Get the Token
Last update: 7 days ago by Irais Aguirre
Make a POST to the following Keycloak endpoint with your API credentials:
| URL | https://sso2.broadcastermobile.com/realms/broadcaster-api-external/protocol/openid-connect/token |
| METHOD | POST |
| HEADERS | Content-Type: application/x-www-form-urlencoded |
Body
grant_type=client_credentialsclient_id=<YOUR_CLIENT_ID>client_secret=<YOUR_SECRET>
| Parameters | Description | Required |
|---|---|---|
| grant_type | Must always be sent as client_credentials. | Yes |
| client_id | Identifier of the API key assigned to your account. | Yes |
| client_secret | Secret associated with the client_id. | Yes |
Successful response
{"access_token": "eyJhbGci...","expires_in": 600,"token_type": "Bearer"}
Store the access_token value. It is valid for 10 minutes (expires_in in seconds).
The portal token is a user token (realm broadcaster). The token to send SMS is a machine token (realm broadcaster-api-external) that you obtain with the client_credentials flow and your API key. They are not interchangeable.
