Connect
Create Access Token
API Reference
Launcher
Connect
Account
Communities
- GETGet communities
- GETGet a community
- GETGet community members
- POSTAdd community member
- POSTBulk add community members
- GETGet community member
- GETGet community member tokens
- GETGet community member badges
- GETGet community tags
- POSTCreate a community tag
- GETGet a community tag
- DELDelete a community tag
- GETGet members by tag
- POSTAdd a tag to community members
- DELRemove tag from a member
Community Badges
- GETGet badges
- POSTCreate Badge
- GETGet badge
- DELDelete badge
- PATCHUpdate badge
- GETGet badge rewards
- POSTCreate badge Reward
- GETGet badge reward
- DELDelete badge reward
- PATCHUpdate badge reward
- GETGet badge attributions
- POSTCreate badge attribution
- PATCHUpdate badge attribution
- GETGet a badge attribution by metadata property
- GETGet a badge attribution
- GETGet badge leaderboard
- GETGenerate badge attribution code
Community Experiences
Community Collections
Community Payments
Metadata
Connect
Create Access Token
Retrieve an OAuth2 JWT Bearer access_token
, refresh_token
, and id_token
(if using OpenID). Tokens can be obtained by passing an authorization_code
or a refresh_token
.
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
Response
201 - application/json
The response is of type object
.
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>"
}