Login & Register
Register with phone
This API provides the functionality to register a user using their phone number. This allows you to securely register users and obtain access and refresh tokens for subsequent API calls.
POST
/
auth
/
register
/
phone
Authorizations
Authorization
string
headerrequiredAccess token
Body
application/json
country_code
enum<string>
Two-letter code begin with a plus sign prefix that identifies different countries. By default it will be +91 if not provided.
Available options:
+91
phone
string
required10 digit phone number without country code.
first_name
string
requiredA string representing the first name.
last_name
string
A string representing the last name.
email
string
requiredA string representing the email address.
otp_token
string
A string representing the OTP token.
Response
200 - application/json
message
string
A descriptive message confirming the success or failure of the Registration process.
success
boolean
Indicates whether the request was successful or failure (true for success, false for failure).
content
object
An object containing the response content.