# Chatwise API

What you can build with the Chatwise API: read the inbox, send WhatsApp templates, and receive events by webhook.

Chatwise is one shared inbox for WhatsApp, Instagram, Messenger and Website Chat. The API lets your own software work with that inbox.

| You want to | Use |
| --- | --- |
| Read conversations and messages | [Conversations](https://chatwise.so/docs/api/list-conversations.md) and [messages](https://chatwise.so/docs/api/list-messages.md), on every channel |
| Search message text | [List or search messages](https://chatwise.so/docs/api/list-messages.md) |
| Send an approved WhatsApp template | [By id](https://chatwise.so/docs/api/send-message.md) or [by name](https://chatwise.so/docs/api/send-whatsapp-template.md) |
| Find or create WhatsApp templates | [List](https://chatwise.so/docs/api/list-whatsapp-templates.md) and [create](https://chatwise.so/docs/api/create-whatsapp-template.md) |
| Know when a customer writes | [Webhooks](https://chatwise.so/docs/webhooks.md) |

Start with the [quickstart](https://chatwise.so/docs/quickstart.md): create a key, make a request and receive your first webhook.

## How it works

- **Base URL:** `https://api.chatwise.so`. Requests and responses are JSON.
- **API keys:** every request sends a key, which belongs to one workspace and has only the [scopes](https://chatwise.so/docs/authentication.md) you gave it.
- **Ids are strings**, even when they look like numbers. Don't parse them.
- **Times** are ISO 8601 in UTC, such as `2026-11-12T09:25:36.000Z`.
- **Results** are in `data`. Long lists also have a [cursor](https://chatwise.so/docs/pagination.md).
- **The same objects everywhere:** a webhook sends the message and conversation the API returns, with the same fields, as they were when the event was prepared.

## What the API doesn't do

- **It sends WhatsApp templates only.** Free-form replies are sent from the Chatwise inbox or by an AI client connected to it.
- **It doesn't return files.** Attachments have a type and, usually only on Instagram, a media id, but no link to download them. Messages from Messenger and Website Chat list no attachments: an image there is a message without one.

## For AI agents

Every page is also plain Markdown: add `.md` to its address. [Docs for agents](https://chatwise.so/docs/agents.md) lists everything made for agents, such as [llms.txt](https://chatwise.so/llms.txt) and the [OpenAPI file](https://chatwise.so/docs/openapi.json).

To let an assistant like Claude or ChatGPT work in your inbox, connect it with MCP instead: see [integrations](https://chatwise.so/integrations#setup).
