Skip to the content
Kairosend Kairosend
Kairosend Kairosend

One API for email and WhatsApp

Send with one call, read what became of the message, and hear about it through a signed webhook. Test keys run every check and send nothing.

curl -X POST \
  https://kairosend.com/v1/messages \
  -H "Authorization: Bearer nrl_live_..." \
  -H "Idempotency-Key: order-4182" \
  -H "Content-Type: application/json" \
  -d '{
    "channel": "email",
    "to": "[email protected]",
    "template": "order-shipped",
    "variables": { "order_number": "4182" }
  }'
The developer overview: a first message in curl, C#, Node and Python, API calls and keys

From a key to a webhook

  1. 1

    Make a key

    A live key sends; a test key runs every check, sends nothing and costs nothing. Give each key only the scopes it needs, such as messages:send or contacts:write.

    API keys, one for staging and one for the shop's backend
  2. 2

    Send and check

    Every call is in the request log with its key, its time and its answer. Request and answer bodies are not kept, because they carry your customers' details.

    The request log: each call to send a message, with its key and time
  3. 3

    Hear what happened

    Choose the events you want, from message.delivered to contact.opted_out. Each delivery is signed, logged with its status and time, and the secret can be rotated.

    A webhook endpoint, its chosen events and its deliveries

A reference you can read before signing up

Every endpoint and webhook

Made from the code that serves them, with examples in curl, Ruby, Node.js, PHP and Python, and the OpenAPI document to download. Signed in, you can try any call with a test key.

Open the reference

The Kairosend API reference, with its keys and scopes

What the API covers

Messages
Send email or a WhatsApp template, preview one before sending, read one or the list, and cancel one scheduled up to 30 days ahead. The same idempotency key never sends twice.
Conversations
Read inboxes and conversations, reply, add notes, assign, label, resolve, and hand a conversation to your team.
Audience
Contacts with their consent, opt-outs, and events such as signed_up or paid that can start a sequence.
Templates
Read your templates, and create and change email templates.
Webhooks
Nineteen events for messages, conversations, templates and contacts, signed so you can check they came from us.
MCP
An MCP server at /v1/mcp, so tools that speak MCP can send, read and reply with your key.
Money
When the credits run out, a send is refused with 402 insufficient_credits. Nothing goes out unpaid.

Send your first message from code

Make a test key, send from curl, and watch the request arrive in the log.

Get a key
Messages and what happened to each, on a phone