Email Login
API usage for Email Login
Overview
This API endpoint allows you to login to your Xellar Embedded wallet account using User’s Email, and receive an OTP to verify the account.
- HTTP Method: POST
- Endpoint:
/api/<VERSION>/auth/login-otp
Request Body Parameters
email
(required): User’s chosen email.
Example Request Body
{
"email": "user_email"
}
Request
Request Headers
x-client-secret
(required): Client secret which was generated when register in Xellar Embedded Wallets API Service Dashboard.
Example Request Syntax
Response
The response will include a JSON object with the following properties:
status
(number): The HTTP status code of the response (e.g., 200 for success).message
(string): A message providing additional information about the operation.data
(object): An object containing the verification token
Example Response
{
"status": 200,
"message": "ok",
"data": {
"verificationToken": "your_verification_token_here"
}
}