Skip to main content
POST
/
auth
/
token
Login
curl --request POST \
  --url https://api.example.com/auth/token \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>",
  "password": "<string>"
}
'
{
  "access_token": "<string>",
  "refresh_token": "<string>",
  "token_type": "<string>",
  "expires_in": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.mrassistant.ai/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

Token request model.

username
string
required
password
string
required

Response

Successful Response

Token response model.

access_token
string
required
refresh_token
string
required
token_type
string
required
expires_in
integer
required