Skip to main content
POST
cURL

Authorizations

x-api-key
string
header
required

Body

application/json
email
string<email>
required
Example:

"you@yourdomain.com"

password
string
required
Example:

"MyStr0ng!Pass"

Response

Login successful. Returns a fresh JWT pair. Use the access_token as Authorization: Bearer <token> against /organizations/me/... to look up the org_id, app_id, and api_key.

access_token
string

RS256-signed JWT. Use as Authorization: Bearer <token> for Account Management endpoints.

refresh_token
string
expires_in
integer

Lifetime of the access token in seconds (default 86400).

Example:

86400

message
string
Example:

"Login successful"