Skip to main content
POST
/
v1
/
authenticate
Login
curl --request POST \
  --url https://api.example.com/v1/authenticate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "[email protected]",
  "password": "secure_password"
}
'
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expires_in": 900,
"user_id": "123e4567-e89b-12d3-a456-426614174000"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
username
string
required
password
string<password>
required
Example:

"secure_password"

Response

Authentication successful or MFA required

access_token
string
required
expires_in
integer
required

Token expiration in seconds

user_id
string<uuid>
required