POST
/
auth
/
token
/
Obtain Bearer tokens
curl --request POST \
  --url https://sandbox.prezio.eu/api/auth/token/ \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "your_username",
  "password": "your_password"
}'
{
  "access": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
  "refresh": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."
}

Body

username
string
required
password
string
required

Response

200 - application/json
access
string
required
refresh
string
required