Skip to main content
POST
Login with whatsapp

Authorizations

X-Api-Key
string
header
required

API key for your store

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
location_id
string
required
Required string length: 1 - 128
phone
string
required

10 digit phone number without country code linked with WhatsApp.

Required string length: 10
Pattern: ^[0-9]{10}$
country_code
string
default:+91

Calling code for the phone number. Defaults to +91 when omitted.

Required string length: 1 - 5
Pattern: ^\+?\d{1,4}$

Response

OK

message
string
required
success
boolean
required
content
object
required