Skip to main content
Exchange a registered email and password for a signed JWT session token. Attach the returned token to every subsequent authenticated request via the Authorization: Bearer <token> header. Tokens are time-limited — when one expires, prompt the user to log in again to receive a fresh token.

Endpoint

Authentication

None required. This is a public endpoint.

Request Body

string
required
The email address associated with the Axis account.
string
required
The account password.

Request Example

Response — 200 OK

A successful request returns HTTP 200 with a JSON body containing a JWT session token and the authenticated user record. Note that token lives directly inside data, alongside user — it is not nested inside data.user.
string
Always "success" for a successful response.
object
Container for the session token and authenticated user details.

Error Responses

400 — Validation Error

Returned when a required field is missing or malformed.

401 — Invalid Credentials

Returned when the email does not exist or the password is incorrect. The response is intentionally generic to avoid leaking whether an email address is registered.