v1

latestOpenAPI 3.0.02026-08-06165119238.1 KB
Third Party Authentication

Token refresh or exchange

Exchanges the OAuth2 authorization code for an access token, or refreshes an existing access token using a refresh token.

post/zephr/oauth2/token

Request body

OR

Response

OK

OR

Example response

{
  "scope": "user.account:read user.profile:read user.profile:update",
  "access_token": "oa_nj1dfhecrs1jwxi0wd0xk49n",
  "token_type": "bearer",
  "expires_in": 3600,
  "refresh_token": "6kuabo4gug8t9h13x7gt43cm",
  "user_id": "1234567890"
}