Skip to content
Chatwise
Skip to Content
Developer docs

API reference

Every route of the Chatwise API, with the scope it needs.

View as Markdown

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.

RouteWhat it doesScope
GET /v1/conversationsList conversationsconversations:read
GET /v1/conversations/{conversationId}Get a conversationconversations:read

Messages

Read and search messages, and send approved WhatsApp templates.

RouteWhat it doesScope
GET /v1/conversations/{conversationId}/messagesList a conversation's messagesmessages:read
GET /v1/conversations/{conversationId}/messages/{messageId}Get a messagemessages:read
GET /v1/messagesList or search messagesmessages:read
POST /v1/messagesSend a template by idmessages:send
POST /v1/template/whatsappSend a template by namemessages:send

WhatsApp templates

Find WhatsApp templates, and create new ones.

RouteWhat it doesScope
GET /v1/whatsapp/templatesList WhatsApp templatestemplates:read
POST /v1/whatsapp/templatesCreate a WhatsApp templatetemplates:write
GET /v1/whatsapp/templates/{templateId}Get a WhatsApp templatetemplates:read

Webhook endpoints

Choose where Chatwise sends events.

RouteWhat it doesScope
GET /v1/webhook-endpointsList webhook endpointswebhooks:read
POST /v1/webhook-endpointsCreate a webhook endpointwebhooks:write
GET /v1/webhook-endpoints/{endpointId}Get a webhook endpointwebhooks:read
PATCH /v1/webhook-endpoints/{endpointId}Update a webhook endpointwebhooks:write
DELETE /v1/webhook-endpoints/{endpointId}Delete a webhook endpointwebhooks:write
POST /v1/webhook-endpoints/{endpointId}/testSend a test eventwebhooks:write
POST /v1/webhook-endpoints/{endpointId}/rotate-secretRotate the signing secretwebhooks:write
GET /v1/webhook-event-typesList event typeswebhooks:read

Webhook deliveries

See what was sent to an endpoint, and send it again.

RouteWhat it doesScope
GET /v1/webhook-endpoints/{endpointId}/deliveriesList deliverieswebhooks:read
GET /v1/webhook-deliveries/{deliveryId}Get a deliverywebhooks:read
POST /v1/webhook-deliveries/{deliveryId}/redeliverRedeliverwebhooks:write

On this page