Skip to main content
POST
Sign in and obtain an ID token

Body

application/json
email
string
required

Account email address.

Example:

"developer@example.com"

password
string
required

Account password.

Example:

"<password>"

returnSecureToken
boolean
default:true

Request a Firebase secure token.

Example:

true

Response

SOXAI Authentication's answer. Send idToken as Authorization: Bearer ; it lasts about an hour, while refreshToken lasts about a month and is exchanged at POST /api/refreshToken. A rejected sign-in is reported in this body too, so read its contents rather than only the status.