B2B API Guides//
API Reference
/- Authenticate client
Rotates and returns the client secret
Authenticate client
Authenticate a client and retrieve the JWT token
- Mock serverhttps://api-docs.raipartners.com/_mock/apis/b2b/auth/token
- Productionhttps://api.raipartners.com/b2b/auth/token
- Sandboxhttps://api.dev.raipartners.com/b2b/auth/token
curl -i -X POST \
https://api-docs.raipartners.com/_mock/apis/b2b/auth/token \
-H 'API-Version: 1.0.0' \
-H 'Content-Type: application/json' \
-d '{
"client_id": "los-client",
"client_secret": "my-super-auth-secret"
}'The JWT token.
The token scope as a space delimited set of values.
Example:"read:user write:user"
Response
{ "scope": "read:user write:user", "refresh_expires_in": 300, "token_type": "Bearer", "not-before-policy": 0, "access_token": "eyo.....", "expires_in": 300 }