Skip to main content
POST
Create an auth token.

Body

application/json

The create session request body.

email
string
required

User's email address.

  • Must be a valid email format.
Example:

"john_doe@example.com"

password
string
required

User's password.

Example:

"john_doe_password"

Response

Successfully created an auth token for user.

authToken
string
required

A temporary token issued after the initial login step. This token is used in the create session API to exchange for access and refresh tokens.

Example:

"eyJhbGciOiJIUzI1NiIsInR..."

is2FARequired
boolean
required

Whether two-factor authentication (2FA) is required for the create session API. If true, the client must include an OTP code in the request body to complete the authentication.

Example:

true