API Reference
Canned responses API
Create and manage WhatsApp canned responses on Vobiz - reusable reply snippets that agents trigger with a /shortcut command directly inside the inbox.
GET
Canned responses API
How agents use them: In the inbox, an agent types
/greeting and the pre-saved content is automatically inserted into the reply box.https://api.vobiz.ai/api/v1/messaging
Authentication: Every request requires X-Auth-ID: MA_XXXXXXXX and X-Auth-Token: <token> headers (a Bearer JWT is also accepted). Set Content-Type: application/json on requests with a body. Get your credentials from console.vobiz.ai.
Endpoints overview
| Method | Endpoint | Description |
|---|---|---|
GET | /api/v1/messaging/canned-responses | List all canned responses |
POST | /api/v1/messaging/canned-responses | Create a canned response |
DELETE | /api/v1/messaging/canned-responses/{id} | Delete a canned response |
List canned responses
cURL
200 OK
Create canned response
shortcut is the trigger agents type in the inbox. The content is the full text inserted.
| Field | Required | Description |
|---|---|---|
shortcut | Yes | Trigger keyword (e.g. /greeting) |
content | Yes | Full text of the canned reply |
cURL
201 Created
Delete canned response
204 No Content.
cURL
204 No Content
Canned response object
| Field | Type | Description |
|---|---|---|
id | UUID | Canned response ID |
shortcut | string | Trigger keyword (e.g. /greeting) |
content | string | Full text inserted into the reply box |
created_at | RFC3339 | Creation timestamp (UTC) |