Skip to main content
POST
Verify email login

Body

application/json

Request to verify an email login by providing the verification code sent to the email address.

email
string<email>
required

The email address used to initiate the login.

Example:

"john.doe@example.com"

nonce
string
required

The nonce returned from the start login request.

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

code
string
required

The 6-digit verification code sent to the email address.

Pattern: ^[0-9]{6}$
Example:

"123456"

Response

Login verified successfully. Returns access token for API authentication.

OAuth2-compatible token response containing the access token for authenticating API requests.

accessToken
string
required

JWT access token for authenticating API requests. Include in the Authorization header as "Bearer {accessToken}".

tokenType
enum<string>
required

The type of token issued. Always "Bearer" for JWT tokens.

Available options:
Bearer
Example:

"Bearer"

expiresIn
integer
required

Number of seconds until the access token expires.

Example:

604800

userId
string

The unique identifier of the authenticated user.

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"