WhatsApp API docs
Send and receive WhatsApp messages with one API key. Request bodies follow Meta's Cloud API, so Meta's message docs work here too.
Quick startYour first message in five minutesWebhooksReceive messages and verify themAPI referenceEvery endpoint, with examples
Send your first message
curl https://api.sociallysnap.app/v1/messages \
-H "X-API-Key: ss_test_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"messaging_product":"whatsapp","to":"YOUR_NUMBER","type":"text","text":{"body":"Hello"}}'$body = @{
messaging_product = "whatsapp"
to = "YOUR_NUMBER"
type = "text"
text = @{ body = "Hello" }
} | ConvertTo-Json
Invoke-RestMethod -Method Post -Uri "https://api.sociallysnap.app/v1/messages" `
-Headers @{ "X-API-Key" = "ss_test_YOUR_KEY" } `
-ContentType "application/json" -Body $bodyconst response = await fetch("https://api.sociallysnap.app/v1/messages", {
method: "POST",
headers: { "X-API-Key": process.env.SOCIALLYSNAP_API_KEY, "Content-Type": "application/json" },
body: JSON.stringify({ messaging_product: "whatsapp", to: "YOUR_NUMBER", type: "text", text: { body: "Hello" } }),
});
console.log(response.status, await response.json());Node: HTTP Request
Method: POST
URL: https://api.sociallysnap.app/v1/messages
Authentication: Generic Credential Type > Header Auth
Name: X-API-Key
Value: your key
Send Body: JSON
{"messaging_product":"whatsapp","to":"YOUR_NUMBER","type":"text","text":{"body":"Hello"}}