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.


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" }
}'


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.


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.


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.


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