The base URL is https://api.chatwise.so. Every route needs an API key: see authentication and scopes. A machine-readable OpenAPI 3.1 file describes all of them.
Conversations
Read the conversations in the workspace's inbox.
| Route | What it does | Scope |
|---|---|---|
GET /v1/conversations | List conversations | conversations:read |
GET /v1/conversations/{conversationId} | Get a conversation | conversations:read |
Messages
Read and search messages, and send approved WhatsApp templates.
| Route | What it does | Scope |
|---|---|---|
GET /v1/conversations/{conversationId}/messages | List a conversation's messages | messages:read |
GET /v1/conversations/{conversationId}/messages/{messageId} | Get a message | messages:read |
GET /v1/messages | List or search messages | messages:read |
POST /v1/messages | Send a template by id | messages:send |
POST /v1/template/whatsapp | Send a template by name | messages:send |
WhatsApp templates
Find WhatsApp templates, and create new ones.
| Route | What it does | Scope |
|---|---|---|
GET /v1/whatsapp/templates | List WhatsApp templates | templates:read |
POST /v1/whatsapp/templates | Create a WhatsApp template | templates:write |
GET /v1/whatsapp/templates/{templateId} | Get a WhatsApp template | templates:read |
Webhook endpoints
Choose where Chatwise sends events.
| Route | What it does | Scope |
|---|---|---|
GET /v1/webhook-endpoints | List webhook endpoints | webhooks:read |
POST /v1/webhook-endpoints | Create a webhook endpoint | webhooks:write |
GET /v1/webhook-endpoints/{endpointId} | Get a webhook endpoint | webhooks:read |
PATCH /v1/webhook-endpoints/{endpointId} | Update a webhook endpoint | webhooks:write |
DELETE /v1/webhook-endpoints/{endpointId} | Delete a webhook endpoint | webhooks:write |
POST /v1/webhook-endpoints/{endpointId}/test | Send a test event | webhooks:write |
POST /v1/webhook-endpoints/{endpointId}/rotate-secret | Rotate the signing secret | webhooks:write |
GET /v1/webhook-event-types | List event types | webhooks:read |
Webhook deliveries
See what was sent to an endpoint, and send it again.
| Route | What it does | Scope |
|---|---|---|
GET /v1/webhook-endpoints/{endpointId}/deliveries | List deliveries | webhooks:read |
GET /v1/webhook-deliveries/{deliveryId} | Get a delivery | webhooks:read |
POST /v1/webhook-deliveries/{deliveryId}/redeliver | Redeliver | webhooks:write |