Skip to main content
POST
Register with WhatsApp

Authorizations

Authorization
string
header
required

Access token

Headers

x-debug-mode
boolean

This param is used to enable debug mode. If debug mode is enabled, the API will return OTP as well. This is only for development and testing purposes.

Body

application/json
phone
string
required

10 digit WhatsApp number without country code.

Required string length: 10
Pattern: ^\d{10}$
first_name
string
required
country_code
string
default:+91
Pattern: ^\+?\d{1,4}$
last_name
string

Response

OK

message
string
required
success
boolean
required
content
OtpContent · object
required