POST
/
connect
/
token
curl --request POST \
  --url https://api.other.page/v1/connect/token \
  --header 'Content-Type: application/json' \
  --data '{
  "grant_type": "authorization_code",
  "client_id": "<string>",
  "client_secret": "<string>",
  "redirect_uri": "<string>",
  "code": "<string>",
  "code_verifier": "<string>"
}'
{
  "token_type": "Bearer",
  "expires_in": 123,
  "access_token": "<string>",
  "refresh_token": "<string>",
  "scope": "<string>"
}

Body

application/json
grant_type
enum<string>
required
Available options:
authorization_code
client_id
string
required

Your Connect Client ID obtained in the community dashboard.

client_secret
string
required

Your Connect Client Secret obtained in the community dashboard.

redirect_uri
string
required

The location the user will be redirected to. Must be defined in the connect app.

code
string
required

The code received from the url query during the authorization flow.

code_verifier
string
required

The code verifier if using PKCE

Response

201 - application/json
token_type
string
default:Bearer
required
expires_in
number
required
access_token
string
required
refresh_token
string
required
scope
string
required