Skip to main content
POST
/
v1
/
provider-mcp
/
oauth
/
token
OAuth 2.0 token endpoint (access_token is the dashboard JWT)
curl --request POST \
  --url https://api.example.com/v1/provider-mcp/oauth/token \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '
{
  "grant_type": "authorization_code",
  "code": "<string>",
  "redirect_uri": "<string>",
  "code_verifier": "<string>",
  "client_id": "<string>",
  "client_secret": "<string>"
}
'
{
  "access_token": "<string>",
  "token_type": "<string>",
  "expires_in": 123
}

Headers

authorization
string
required

Body

application/json
grant_type
string
required
Example:

"authorization_code"

code
string
required
redirect_uri
string
required
code_verifier
string
required
client_id
string
client_secret
string

Response

Token issued

access_token
string
token_type
string
expires_in
number