Built for production usage with full examples in cURL, Node.js, PHP, C#, Python, and Java. Use the right panel to switch endpoint, generate code instantly, and run live test requests exactly like modern API portals.
Authentication
All routes under /api/v2/p/* require API Key authentication.
Send your key in header: Authorization: Bearer wlk_xxx
Header
Required
Description
Authorization
Yes
Bearer token generated from API Keys panel.
Connection Routing Headers
For sending messages, you can route per request to Meta Cloud API or QR/Baileys sessions.
Header
Values
Description
x-connection-type
meta / qr
Defaults to meta. Set qr to send through connected WhatsApp Web session.
x-instance-id
string
Optional. Targets a specific connected QR session when x-connection-type=qr.
Messages
POST/api/v2/p/messages/send
Send text/media/location messages to WhatsApp contacts.
POST/api/v2/p/messages/send-template
Send Meta template messages with language + parameters.
Contacts
GET/api/v2/p/contacts
List contacts with pagination and filters.
GET/api/v2/p/contacts/:id
Fetch single contact by id.
POST/api/v2/p/contacts
Create a new contact in CRM.
PUT/api/v2/p/contacts/:id
Update existing contact data.
DELETE/api/v2/p/contacts/:id
Delete contact record.
Conversations
GET/api/v2/p/conversations
List conversations with status + assignment details.