For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Developer GuidesThreads APIAccount Management APIAnalytics API
Developer GuidesThreads APIAccount Management APIAnalytics API
  • O Auth
    • POSTOAuth 2.0 Token Exchange
  • Post
    • POSTGet Entities
  • Get
    • GETGet Organization
    • GETGet User
    • GETGet Workspace
  • Create
    • PUTCreate Organization
    • PUTCreate Organization And Workspace
    • PUTCreate User
    • PUTCreate Workspace
  • Update
    • PATCHUpdate Organization
    • PATCHUpdate User
    • PATCHUpdate Workspace
LogoLogo
O Auth

OAuth 2.0 Token Exchange

POST
https://sandbox.api.boosted.ai/oauth2/token
POST
/oauth2/token
$curl -X POST https://sandbox.api.boosted.ai/oauth2/token \
> -H "Content-Type: application/x-www-form-urlencoded" \
> -d "grant_type=string" \
> -d "subject_token=string" \
> -d "subject_token_type=string" \
> -d "client_id=string" \
> -d "client_secret=string"
1{
2 "access_token": "string",
3 "expires_in": 1,
4 "issued_token_type": "string",
5 "scope": "string",
6 "token_type": "string"
7}

Exchanges a partner-issued JWT for a Boosted access token. Partners authenticate using client credentials (client_id and client_secret) and provide a signed JWT in the request body. The JWT is validated and exchanged for a Boosted token with the requested scope.

Was this page helpful?

Get Entities

Next
Built with

Request

This endpoint expects an object.
grant_typestringRequired

Grant type (must be ‘urn:ietf:params:oauth:grant-type:token-exchange’)

subject_tokenstringRequired

The partner-issued JWT to exchange

subject_token_typestringRequired

Token type (must be ‘urn:ietf:params:oauth:token-type:jwt’)

client_idstringRequired
Partner client ID
client_secretstringRequired
Partner client secret
scopestringOptional

Requested scope (e.g., ‘thread’, ‘account-management’)

Response

OK
access_tokenstring
expires_ininteger
issued_token_typestring
scopestring
token_typestring

Errors

400
Bad Request Error
401
Unauthorized Error