Authorization

Login For Access Token

POST /api/v1/auth/token

Login For Access Token

curl --request POST \
  --url 'https://api.example.com/api/v1/auth/token' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data '{
  "key": "value"
}'
{
  "access_token": "<string>",
  "token_type": "<string>"
}

Successful Response

Request Body

application/x-www-form-urlencoded
  • grant_type string
  • username string required
  • password string required
  • scope string default

    Default: .

  • client_id string
  • client_secret string

Response

application/json
  • access_token string
  • token_type string