API Reference
Build on top of SalesByte with the REST API.
The SalesByte REST API lets you send messages, manage contacts, create campaigns, and more — all programmatically.
Base URL
Quick links
Authentication
How to get and use your API key.
Messages
Send WhatsApp messages via API.
Contacts
Create, update, and search contacts.
Conversations
List conversations and message history.
Campaigns
Start and list broadcast campaigns.
Templates
List and send approved templates.
All endpoints
| Method | Endpoint | Description |
|---|---|---|
POST | /messages | Send a text, image, video, or document |
GET | /contacts | Search contacts |
POST | /contacts | Create or update a contact |
GET | /contacts/:id | Get a single contact |
PUT | /contacts/:id | Update a contact |
DELETE | /contacts/:id | Archive a contact |
GET | /conversations | List conversations |
GET | /conversations/:id/messages | Get messages in a conversation |
GET | /followups | List follow-ups |
POST | /followups | Create a follow-up |
GET | /templates | List templates |
POST | /templates/:id/send | Send a template |
GET | /campaigns | List campaigns |
POST | /campaigns | Start a campaign |
GET | /groups | List WhatsApp groups |
POST | /upload | Upload a file and get a public URL |