Use the developer guides to authenticate, send messages, handle errors and process webhooks.
These pages cover the behaviour that sits behind every endpoint, beyond the endpoint reference. Start with the Quickstart. If you’re building with an AI agent, read Agents first.
| Guide | Covers |
|---|---|
| Quickstart | Check your key, send a test email and read back what happened to it. |
| Choose an integration | Compare the server API, the web SDK, Segment, AI agents, partner workspaces and webhooks by where your code runs, the credential it holds and whether it is available today. |
| Transactional messages | Send receipts, resets and alerts by email and push, with stored templates, a fallback channel, scheduling and batches. |
| Push notifications | Set up iOS, Android and web apps for push, register devices from your server and report taps. |
| Campaigns and journeys | Build and send a campaign and activate a journey through /v1: the calls in order, what each needs and the errors you will meet. |
| Agents | Connect any MCP client to your workspace, and learn what an agent key cannot do. |
| Authentication | Create an API key, choose its scopes and understand the actions an agent key cannot perform. |
| IDs and identity | Learn how Kirora ids, your own externalId, email and phone identify a contact, how identify resolves and refuses them, and how to get the id of every resource. |
| Pagination | Page through any list with an opaque cursor from meta.pagination.nextCursor; there is no page parameter. |
| Errors | Read the error envelope, look up every public error code, and learn which errors are worth retrying. |
| Rate limits | Stay within the per-key and per-workspace request limits, and back off correctly with Retry-After. |
| Limits | Look up every fixed limit of the API in one table, with what each returns when you exceed it. |
| Idempotency | Make retries safe with Idempotency-Key on every POST, and learn which operations are safe to retry without one. |
| Batches and asynchronous results | Send up to 100 contacts, events or messages in one call, read each item’s result, retry safely, and know that accepted is not delivered. |
| Templates as code | Read, edit and write back a template’s JSON document from git, the CLI or an agent. |
| Objects and rules | Build segment rules, journey definitions and template documents, and read the webhook envelope, from minimal and complete examples that pass validation. |
| Webhooks | Receive events as they happen: the event catalogue, signature verification, delivery and retries. |
| Message log and exports | Read the message log with its filters and statuses, and export it as a CSV file. |
| Retention and deletion | Learn what Kirora keeps and for how long, from message content and events to webhook deliveries, and what deleting a contact removes. |
| Events | Name events and their properties, fill the context object, and use the events with a fixed meaning. |
| Key events | The standard events goal presets, templates and Kiro are built on, and how to use your own names. |
| E-commerce events | Use the standard commerce event names and properties, and record payments from a connected provider. |
| Connecting Stripe | Record your Stripe payments, invoices and subscriptions as events on your contacts. |
| Connecting Zapier | Start Zaps from Kirora events, and create contacts, track events and send email from Zaps. |
| Connecting n8n | The Kirora and Kirora Trigger nodes for n8n workflows. |
| Using Kirora from a Lovable app | Add Kirora to Lovable as a custom connector, with the knowledge files that teach it to identify contacts, track events and send transactional email. |
| Sending data from PostHog | Send PostHog’s people and events to Kirora through a destination in PostHog’s data pipeline. |
| Sending data from Segment | Point Segment’s libraries or a Segment webhook destination at Kirora, and see how each call maps to Kirora data. |
| Versioning | Learn what /v1 guarantees and how additive changes are signalled. |
| Staging | Run your integration against a second workspace for staging; there is no test mode. |
| Troubleshoot your integration | Go from a symptom to its first checks and the evidence to collect, using the request id, the request log and the error codes. |
| Go-live checklist | Check identity, consent, channels, keys, retries and webhooks before real traffic, and hand the marketing team a data dictionary and a list of owners. |
| Glossary | Look up the exact meaning of the terms these guides use, from workspace and contact to accepted, sent and delivered. |
| Changelog | Read every change to /v1, newest first, with what a breaking change needs from you. |
Recipes
Each recipe is one task from start to finish, with the calls in order and a check at the end.
| Recipe | Covers |
|---|---|
| Start a journey from an order | Track Order Completed for a contact and send them a thank-you email from a journey that the order starts. |
| Remind customers about failed payments | Remind a customer once per failed bill, stop when it is paid or closed, and read what was recovered. |
| Set a contact’s topic choices | Create a topic, record a contact’s choice on it per channel, and read the choice back to check it. |
| Receive delivery events | Subscribe a webhook, send an email, and verify and handle the message.delivered event it reports. |
The shape of every response
Success bodies carry the payload under data, with optional meta:
{ "data": { "id": "018f…", "name": "Weekly digest" } }List responses add pagination to meta:
// A list response; "data" holds the page's items
{
"data": [ … ],
"meta": { "pagination": { "limit": 20, "nextCursor": "eyJpZCI6…" } }
}Errors replace data with error, and never mix the two:
// An error response; "details" depends on the code
{ "error": { "code": "CONFLICT", "message": "…", "details": { … } } }204 No Content responses have no body at all.
Base URL
The base URL is https://api.kirora.io. Every SDK uses it by default and lets you override it, so
tests can point at a mock server. The version is in each path (/v1/…), not in the base URL.