This endpoint is hosted by BravoTran, not the partner. Needed only if you authenticate to POST /events with OAuth 2.0 instead of an API token.
Exchanges your OAuth client credentials for an access token using the client credentials grant. Authenticate with one of:
- Client ID and client secret — HTTP Basic authentication (the
Authorizationheader), orclient_idandclient_secretform fields. - Certificate —
client_assertion_typeandclient_assertionform fields, with a JWT signed by your private key.
Client credentials in the query string are rejected. See Authentication for setup and the JWT requirements.
Send the returned access_token to POST /events as Authorization: Bearer <access_token>.
One of:
Send client_id and client_secret here, or omit them and use HTTP Basic authentication instead — not both.
- Mock serverhttps://apidocs.bravotran.com/_mock/openapi/oauth/token
- BravoTran-hosted token endpointhttps://api.bravotran.com/oauth/token
curl -i -X POST \
https://apidocs.bravotran.com/_mock/openapi/oauth/token \
-H 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode grant_type=client_credentials \
--data-urlencode client_id=7f2d55ad-bc27-4b50-8df8-f0432c05a0ee \
--data-urlencode client_secret=your-client-secretAccess token issued
Response
{ "access_token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI3ZjJkNTVhZC1iYzI3In0.signature", "token_type": "Bearer", "expires_in": 3600, "scope": null }