All endpoints require authentication.
Endpoints
List Channels
Create Channel
Body
| Field | Type | Required | Description |
|---|
name | string | Yes | Label for the channel |
type | string | Yes | whatsapp, gmail, twitter, web, telegram |
apiKey | string | Depends | API key from your WhatsApp provider |
accessToken | string | Depends | OAuth access token (Gmail, Twitter) |
Get Channel
Update Channel
Delete Channel
Deleting a channel removes it from all associated bots.
WhatsApp — Send Message
Body
| Field | Type | Description |
|---|
to | string | Recipient phone number (with country code, no +) |
message | string | Message text |
channelId | number | The WhatsApp channel to send from |
Send Image
POST /api/whatsapp/send-image
| Field | Type | Description |
|---|
to | string | Recipient phone number |
imageUrl | string | Publicly accessible image URL |
caption | string | Optional caption |
channelId | number | Channel to send from |
List Templates
GET /api/whatsapp/templates
Returns approved WhatsApp message templates for the linked account.
Health Check
Returns connectivity status of the WhatsApp integration.