NakWasap
Settings
Manage your workspace
Developer API
Manage API keys and view documentation.
Instance Status
Live connection status for your WhatsApp instances.
API Keys
Use these keys to authenticate your requests. Keep them secret.
Documentation
How to use the API to send messages.
Authentication: Include your API key in every request header: Authorization: Bearer sk_live_...
GET
/api/v1/instancesList all WhatsApp instances for your team with live connection status.
curl "https://your-domain.com/api/v1/instances" \ -H "Authorization: Bearer sk_live_..."
RESPONSE
{
"instances": [
{
"instanceName": "my-instance",
"integration": "WHATSAPP-BAILEYS",
"status": "open",
"profileName": "My Business",
"profilePictureUrl": "https://pps.whatsapp.net/...",
"number": "60123456789"
},
{
"instanceName": "my-waba",
"integration": "WHATSAPP-BUSINESS",
"status": "open",
"profileName": "My Business WABA",
"profilePictureUrl": null,
"number": "60198765432"
}
]
}GET
/api/v1/instances/qr?instanceName=xxxGet QR code to connect a Baileys (Web) instance. Returns base64-encoded PNG image.
curl "https://your-domain.com/api/v1/instances/qr?instanceName=my-instance" \ -H "Authorization: Bearer sk_live_..."
RESPONSE
{
"qr": "data:image/png;base64,iVBORw0KGgo..."
}
// If already connected:
{
"qr": null,
"message": "Instance already connected."
}GET
/api/v1/groupsList WhatsApp groups for a Baileys instance. Supports search by group name or JID.
List groups
curl "https://your-domain.com/api/v1/groups?instanceName=my-instance" \ -H "Authorization: Bearer sk_live_..."
Search groups
curl "https://your-domain.com/api/v1/groups?instanceName=my-instance&search=marketing" \ -H "Authorization: Bearer sk_live_..."
RESPONSE
{
"groups": [
{
"jid": "[email protected]",
"name": "Marketing Team",
"participantCount": 25
},
{
"jid": "[email protected]",
"name": "Support Group",
"participantCount": 12
}
],
"total": 2
}