Skip to main content
POST
Authenticate and get bearer token

Body

application/json
email
string<email>
required

Account email address

Example:

"admin@example.com"

password
string<password>
required

Account password

Example:

"********"

Response

Authentication successful

success
boolean
Example:

true

token
string

Bearer token (64-char hex)

Example:

"a1b2c3d4e5f67890..."

token_type
string
Example:

"Bearer"

expires_at
string<date-time>

Token expiry timestamp (90 days from creation)

user
object
usage
string

Example of how to use the token