# Chatwise API > Chatwise is one shared inbox for WhatsApp, Instagram, Messenger and Website Chat. Its API reads conversations and messages, sends and creates WhatsApp templates, and delivers events by signed webhook. - Base URL: https://api.chatwise.so. Authentication: `Authorization: Bearer `. - Every page of these docs is Markdown when you add `.md` to its address, or send `Accept: text/markdown`. - An event marked "coming soon" isn't sent yet. ## Start here - [Chatwise API](https://chatwise.so/docs.md): What you can build with the Chatwise API: read the inbox, send WhatsApp templates, and receive events by webhook. - [Quickstart](https://chatwise.so/docs/quickstart.md): Create an API key, make your first request and receive your first webhook. - [Authentication and scopes](https://chatwise.so/docs/authentication.md): Create API keys, send them with each request, and give each key only the scopes it needs. ## Guides - [Pagination](https://chatwise.so/docs/pagination.md): Read long lists page by page with cursors, and pull only what is new. - [Errors](https://chatwise.so/docs/errors.md): How errors are shaped, what each status means, and which requests to retry. - [Rate limits](https://chatwise.so/docs/rate-limits.md): How many requests a key can make, and what to do when it makes too many. - [Several accounts](https://chatwise.so/docs/several-accounts.md): Work with workspaces that connect several WhatsApp numbers, Instagram accounts, Messenger Pages or websites. - [Docs for agents](https://chatwise.so/docs/agents.md): Markdown pages, llms.txt and an OpenAPI file, for AI agents and the people who build with them. ## Webhooks - [Webhooks](https://chatwise.so/docs/webhooks.md): Receive Chatwise events as signed HTTPS requests to your own server. - [Verify signatures](https://chatwise.so/docs/webhooks/verify-signatures.md): Check that a webhook really comes from Chatwise, with samples in Node.js and Python. - [Delivery and retries](https://chatwise.so/docs/webhooks/delivery.md): What Chatwise does with each answer, when it tries again, and how to handle an event more than once. - [Rotate the secret](https://chatwise.so/docs/webhooks/secrets.md): Replace an endpoint's signing secret without missing a delivery. - [Testing and the delivery log](https://chatwise.so/docs/webhooks/testing.md): Send a test event, see what was delivered and why something failed, and send it again. - [Limits and retention](https://chatwise.so/docs/webhooks/limits.md): How many endpoints a workspace can have, which URLs they accept, how large events are and how long they are kept. ## Events - [Events](https://chatwise.so/docs/webhooks/events.md): Every event Chatwise sends, or will send, to a webhook endpoint, with its channels and status. - [message.received](https://chatwise.so/docs/webhooks/events/message-received.md): A customer sent a message. - [message.sent](https://chatwise.so/docs/webhooks/events/message-sent.md): Coming soon, not sent yet. The workspace sent a message: from the dashboard, the mobile app, the API, MCP, a flow, Comment to DM, or the native WhatsApp Business or Instagram app. - [message.delivered](https://chatwise.so/docs/webhooks/events/message-delivered.md): Coming soon, not sent yet. The channel reported an outgoing message was delivered. - [message.read](https://chatwise.so/docs/webhooks/events/message-read.md): Coming soon, not sent yet. The channel reported the customer read an outgoing message. - [message.failed](https://chatwise.so/docs/webhooks/events/message-failed.md): Coming soon, not sent yet. The channel reported an outgoing message could not be delivered. - [comment.received](https://chatwise.so/docs/webhooks/events/comment-received.md): Coming soon, not sent yet. Someone commented on a post of a connected Instagram account. - [webhook.test](https://chatwise.so/docs/webhooks/events/webhook-test.md): You sent a test event, from the dashboard or with the API. ## API reference - [API reference](https://chatwise.so/docs/api.md): Every route of the Chatwise API, with the scope it needs. ## Conversations - [List conversations](https://chatwise.so/docs/api/list-conversations.md): GET /v1/conversations. Lists the workspace's conversations, or finds them by customer. - [Get a conversation](https://chatwise.so/docs/api/get-conversation.md): GET /v1/conversations/{conversationId}. Reads one conversation: its channel, status and customer. ## Messages - [List a conversation's messages](https://chatwise.so/docs/api/list-conversation-messages.md): GET /v1/conversations/{conversationId}/messages. Lists one conversation's messages. - [Get a message](https://chatwise.so/docs/api/get-message.md): GET /v1/conversations/{conversationId}/messages/{messageId}. Reads one message. - [List or search messages](https://chatwise.so/docs/api/list-messages.md): GET /v1/messages. Lists messages across the workspace, or searches their text. - [Send a template by id](https://chatwise.so/docs/api/send-message.md): POST /v1/messages. Sends an approved WhatsApp template by its id. - [Send a template by name](https://chatwise.so/docs/api/send-whatsapp-template.md): POST /v1/template/whatsapp. Sends an approved WhatsApp template by its name. ## WhatsApp templates - [List WhatsApp templates](https://chatwise.so/docs/api/list-whatsapp-templates.md): GET /v1/whatsapp/templates. Lists the workspace's WhatsApp templates, newest first, with the variables and buttons each takes. - [Create a WhatsApp template](https://chatwise.so/docs/api/create-whatsapp-template.md): POST /v1/whatsapp/templates. Creates a WhatsApp template and submits it to Meta for review, on the WhatsApp Business Account of the workspace's oldest connected number. - [Get a WhatsApp template](https://chatwise.so/docs/api/get-whatsapp-template.md): GET /v1/whatsapp/templates/{templateId}. Reads one WhatsApp template. ## Webhook endpoints - [List webhook endpoints](https://chatwise.so/docs/api/list-webhook-endpoints.md): GET /v1/webhook-endpoints. Lists the workspace's webhook endpoints, oldest first. - [Create a webhook endpoint](https://chatwise.so/docs/api/create-webhook-endpoint.md): POST /v1/webhook-endpoints. Creates an endpoint that receives events. - [Get a webhook endpoint](https://chatwise.so/docs/api/get-webhook-endpoint.md): GET /v1/webhook-endpoints/{endpointId}. Reads one endpoint and how its deliveries are going. - [Update a webhook endpoint](https://chatwise.so/docs/api/update-webhook-endpoint.md): PATCH /v1/webhook-endpoints/{endpointId}. Changes an endpoint. - [Delete a webhook endpoint](https://chatwise.so/docs/api/delete-webhook-endpoint.md): DELETE /v1/webhook-endpoints/{endpointId}. Deletes an endpoint and cancels its deliveries that weren't sent yet. - [Send a test event](https://chatwise.so/docs/api/test-webhook-endpoint.md): POST /v1/webhook-endpoints/{endpointId}/test. Sends a signed `webhook.test` event now and answers with what your endpoint did. - [Rotate the signing secret](https://chatwise.so/docs/api/rotate-webhook-secret.md): POST /v1/webhook-endpoints/{endpointId}/rotate-secret. Replaces the endpoint's signing secret and returns the new one, the only time it is returned. - [List event types](https://chatwise.so/docs/api/list-webhook-event-types.md): GET /v1/webhook-event-types. Lists the events an endpoint can subscribe to and the channels each covers. ## Webhook deliveries - [List deliveries](https://chatwise.so/docs/api/list-webhook-deliveries.md): GET /v1/webhook-endpoints/{endpointId}/deliveries. Lists an endpoint's deliveries, newest first. - [Get a delivery](https://chatwise.so/docs/api/get-webhook-delivery.md): GET /v1/webhook-deliveries/{deliveryId}. Reads one delivery, with the payload it sends and its attempts. - [Redeliver](https://chatwise.so/docs/api/redeliver-webhook-delivery.md): POST /v1/webhook-deliveries/{deliveryId}/redeliver. Sends a delivery again, with the same event id, starting from its first attempt. ## Errors - [Every error](https://chatwise.so/docs/api/all-errors.md): Every error the Chatwise API answers on purpose, by status, with its body and what to do. ## Files - [OpenAPI 3.1](https://chatwise.so/docs/openapi.json): Every route and webhook event, with schemas, examples and signed deliveries to test a receiver with. - [Everything in one file](https://chatwise.so/llms-full.txt): Every page as one Markdown file.