Email Sign In

circle-info

💡 Sign in with your email and password to receive JWT tokens.

circle-info

💡 Before You Start — You need the following to proceed:

circle-info

💡 APIs Used in This Document

Endpoint
Method
Auth
Description

/v1/auth/email/signin

POST

Not required

Email sign-in

/v1/auth/refresh

POST

Not required

Token refresh

Overview

Signing in with a registered email and password issues an Access Token and Refresh Token. Accounts with MFA enabled must also submit a TOTP code.


Sign-in Flow

spinner

REST API

POST /v1/auth/email/signin

Request Parameters

Parameter
Type
Required
Description

method

string

Yes

Fixed value "password"

email

string

Yes

Registered email address

password

string

Yes

Password

mfaCode

string

Conditional

6-digit TOTP code when MFA is enabled

When MFA Is Enabled

Accounts with MFA enabled must include mfaCode in the request.

Success Response

Error Responses

Error Code
HTTP
Description

auth/invalid-email

400

Invalid email format

auth/invalid-credentials

401

Email or password mismatch

auth/mfa-required

403

MFA code required

auth/invalid-mfa-code

401

Invalid MFA code

auth/account-banned

403

Account is suspended


Using in Your App

The bkendFetch helper automatically includes the required headers.

circle-info

💡 See Integrating bkend in Your App for bkendFetch setup.


Token Refresh

When your Access Token expires, use the Refresh Token to obtain new tokens.

See Session Management for details.


Next Steps

Last updated