Build powerful WhatsApp integrations with our comprehensive API. Send messages, manage instances, and automate your communication workflows.
The WhatsApp Web API provides a simple and powerful way to integrate WhatsApp into your applications.
Don't have credentials yet? Subscribe here to get your Access Token and Instance ID.
Create a new Instance ID to connect WhatsApp Web.
https://panel.sendbulk.cloud/api/create_instance?access_token=6881c11f741a1
| Parameter | Type | Required | Description |
|---|---|---|---|
access_token | string | Yes | Your API access token |
curl -X POST 'https://panel.sendbulk.cloud/api/create_instance?access_token=6881c11f741a1'
Logout WhatsApp web and do a fresh scan.
https://panel.sendbulk.cloud/api/reboot?instance_id=609ACF283XXXX&access_token=6881c11f741a1
| Parameter | Type | Required | Description |
|---|---|---|---|
instance_id | string | Yes | WhatsApp instance ID |
access_token | string | Yes | Your API access token |
This will logout WhatsApp web, change Instance ID, and delete all old instance data.
https://panel.sendbulk.cloud/api/reset_instance?instance_id=609ACF283XXXX&access_token=6881c11f741a1
Re-initiate connection from app to WhatsApp web when lost connection.
https://panel.sendbulk.cloud/api/reconnect?instance_id=609ACF283XXXX&access_token=6881c11f741a1
Logout from a WhatsApp Web instance.
https://panel.sendbulk.cloud/api/logout?instance_id=609ACF283XXXX&access_token=EMCUH3NQQK8YXXXX
Display QR code to login to WhatsApp web. You can get the results returned via Webhook.
https://panel.sendbulk.cloud/api/get_qrcode?instance_id=609ACF283XXXX&access_token=6881c11f741a1
| Parameter | Type | Required | Description |
|---|---|---|---|
instance_id | string | Yes | WhatsApp instance ID |
access_token | string | Yes | Your API access token |
Generate a pairing code to log in to WhatsApp Web using your phone number.
https://panel.sendbulk.cloud/api/get_paircode?instance_id=609ACF283XXXX&access_token=EMCUH3NQQK8YXXXX&phone=62815xxxxxxxx
Send a text message to a phone number through the app.
https://panel.sendbulk.cloud/api/send?number=84933313xxx&type=text&message=test+message&instance_id=609ACF283XXXX&access_token=6881c11f741a1
https://panel.sendbulk.cloud/api/send
Content-Type: application/json
{
"number": "84933313xxx",
"type": "text",
"message": "test message",
"instance_id": "609ACF283XXXX",
"access_token": "6881c11f741a1"
}
| Parameter | Type | Required | Description |
|---|---|---|---|
number | string | Yes | Phone number (without +) |
type | string | Yes | Message type: "text" |
message | string | Yes | Text message content |
instance_id | string | Yes | WhatsApp instance ID |
access_token | string | Yes | Your API access token |
Send a media or file with message to a phone number through the app.
https://panel.sendbulk.cloud/api/send?number=84933313xxx&type=media&message=test+message&media_url=https%3A%2F%2Fi.pravatar.cc&filename=file_test.jpg&instance_id=609ACF283XXXX&access_token=6881c11f741a1
https://panel.sendbulk.cloud/api/send
Content-Type: application/json
{
"number": "84933313xxx",
"type": "media",
"message": "test message",
"media_url": "https://i.pravatar.cc",
"instance_id": "609ACF283XXXX",
"access_token": "6881c11f741a1"
}
| Parameter | Type | Required | Description |
|---|---|---|---|
number | string | Yes | Phone number (without +) |
type | string | Yes | Message type: "media" |
message | string | Yes | Caption for the media |
media_url | string | Yes | URL of the media file |
filename | string | No | Filename (for documents: file_test.pdf) |
instance_id | string | Yes | WhatsApp instance ID |
access_token | string | Yes | Your API access token |
Send location coordinates to a WhatsApp number.
https://panel.sendbulk.cloud/api/send
curl -X POST 'https://panel.sendbulk.cloud/api/send' \
-H 'Content-Type: application/json' \
--data '{
"number": "20100981XXXX",
"type": "location",
"latitude": "40.7128",
"longitude": "-74.0060",
"address": "New York, NY, USA",
"instance_id": "609ACF283XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'
Send contact information to a WhatsApp number.
https://panel.sendbulk.cloud/api/send
curl -X POST 'https://panel.sendbulk.cloud/api/send' \
-H 'Content-Type: application/json' \
--data '{
"number": "20100981XXXX",
"type": "contact",
"contact_name": "John Doe",
"contact_phone": "+1234567890",
"instance_id": "609ACF283XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'
Send a Template message to a phone number through the app.
https://panel.sendbulk.cloud/api/send_template?instance_id=609ACF283XXXX&access_token=6881c11f741a1
Content-Type: application/json
{
"number": "84933313xxx",
"type": "interactive",
"message": {
"text": "This is an Interactive message!",
"title": "Test Title",
"subtitle": "subtitle",
"footer": "test footer",
"interactiveButtons": [
{
"name": "quick_reply",
"buttonParamsJson": "{\"display_text\":\"Test\",\"id\":\"685250bce39ca\"}"
},
{
"name": "cta_url",
"buttonParamsJson": "{\"display_text\":\"Click me!\",\"url\":\"https://baceoin.com\"}"
},
{
"name": "cta_call",
"buttonParamsJson": "{\"display_text\":\"Call Us\",\"phone_number\":\"+1234567890\"}"
},
{
"name": "cta_copy",
"buttonParamsJson": "{\"display_text\":\"Copy Code\",\"copy_code\":\"PROMO2024\"}"
}
]
}
}
Content-Type: application/json
{
"number": "84933313xxx",
"type": "template",
"message": {
"text": "This is a template message!",
"footer": "test footer",
"templateButtons": [
{
"index": 1,
"quickReplyButton": {
"displayText": "Test",
"id": "685250bce39ca"
}
}
]
}
}
Content-Type: application/json
{
"number": "84933313xxx",
"type": "list",
"message": {
"text": "hello",
"footer": "test footer",
"title": "test title",
"buttonText": "bay",
"sections": [
{
"title": "hello",
"rows": [
{
"title": "hello",
"rowId": "685410595972e",
"description": "hello"
}
]
}
]
}
}
Automatically tries multiple message formats for maximum device compatibility. Falls back to text if interactive messages fail.
https://panel.sendbulk.cloud/api/send_message_smart
Content-Type: application/json
{
"phone_number": "84933313xxx",
"message_type": "interactive",
"instance_id": "609ACF283XXXX",
"access_token": "6881c11f741a1",
"message_data": "{\"text\":\"Hello!\",\"title\":\"Smart Message\",\"footer\":\"Auto-fallback enabled\",\"templateButtons\":[{\"index\":1,\"quickReplyButton\":{\"displayText\":\"Reply\",\"id\":\"reply1\"}}]}"
}
Retrieve all groups for the WhatsApp instance.
https://panel.sendbulk.cloud/api/get_groups?instance_id=609ACF283XXXX&access_token=EMCUH3NQQK8YXXXX
{
"status": "success",
"data": [
{
"id": "120363023285171234@g.us",
"name": "My Group",
"description": "Group description",
"participants": 25,
"admin": true
}
]
}
Create a new WhatsApp group.
https://panel.sendbulk.cloud/api/create_group
curl -X POST 'https://panel.sendbulk.cloud/api/create_group' \
-H 'Content-Type: application/json' \
--data '{
"group_name": "My New Group",
"participants": ["20100981XXXX", "20100982YYYY"],
"instance_id": "609ACF283XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'
Get detailed information about a specific group.
https://panel.sendbulk.cloud/api/group_info?group_id=120363023285171234@g.us&instance_id=609ACF283XXXX&access_token=EMCUH3NQQK8YXXXX
Retrieve all channels for the WhatsApp instance.
https://panel.sendbulk.cloud/api/get_channels?instance_id=609ACF283XXXX&access_token=EMCUH3NQQK8YXXXX
{
"status": "success",
"data": [
{
"id": "120363335005167302@newsletter",
"name": "My Channel",
"description": "Channel description",
"subscribers": 1250,
"verified": true
}
]
}
Get detailed information about a specific channel.
https://panel.sendbulk.cloud/api/channel_info?channel_id=120363335005167302@newsletter&instance_id=609ACF283XXXX&access_token=EMCUH3NQQK8YXXXX
Retrieve all contacts from the WhatsApp instance.
https://panel.sendbulk.cloud/api/get_contacts?instance_id=609ACF283XXXX&access_token=EMCUH3NQQK8YXXXX
{
"status": "success",
"data": [
{
"id": "20100981XXXX@s.whatsapp.net",
"name": "John Doe",
"profilePicUrl": "https://...",
"isMyContact": true
}
]
}
Get all return values from WhatsApp. Like connection status, Incoming message, Outgoing message, Disconnected, Change Battery,...
https://panel.sendbulk.cloud/api/set_webhook?webhook_url=https%3A%2F%2Fwebhook.site%2F1b25464d6833784f96eef4xxxxxxxxxx&enable=true&instance_id=609ACF283XXXX&access_token=6881c11f741a1
| Parameter | Type | Required | Description |
|---|---|---|---|
webhook_url | string | Yes | Your webhook URL (URL encoded) |
enable | boolean | Yes | Enable/disable webhook (true/false) |
instance_id | string | Yes | WhatsApp instance ID |
access_token | string | Yes | Your API access token |
Check the connection status of your WhatsApp instance.
https://panel.sendbulk.cloud/api/status?instance_id=609ACF283XXXX&access_token=EMCUH3NQQK8YXXXX
{
"status": "success",
"data": {
"instance_id": "609ACF283XXXX",
"status": "connected",
"battery": 85,
"plugged": true,
"phone": "+1234567890"
}
}