Skip to main content
POST
/
accounts
/
oauth
/
token
cURL
curl --request POST \
  --url https://api.cuddles.care/v1/accounts/oauth/token \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'x-realm: <x-realm>'
{
  "access_token": "<your access token>",
  "refresh_token": "<your refresh token>",
  "id_token": "<your id token>",
  "scope": "openid profile email offline_access",
  "expires_in": 86400,
  "token_type": "Bearer"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

x-realm
string
default:Username-Password-Authentication
required

Authentication scheme

Response

200 OK Success

The response is of type object.