Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Volanea Campaigns API
version: 0.1.0
description: 'The open email platform: transactional sending, marketing campaigns, and lifecycle automation over one contact graph.
**Authentication** — pass an API key as `Authorization: Bearer `. Three key types exist per project:
`sk_…` (secret, full access — server-side only), `sk_test_…` (test — full access, renders and logs but never delivers),
and `pk_…` (public — only accepted by `POST /v1/events`, safe to ship in client code).
**Response envelope** — every 2xx body is `{ "success": true, "data": … }`. The schema shown for each operation below
describes what goes in `data`, not the whole body. Cursor-paginated lists put the array in `data` and `nextCursor`
beside it: `{ "success": true, "data": [...], "nextCursor": "1730000000000.6a6dd07e6afeb87b46b08bca" }`.
`nextCursor` is an opaque string — send it back as `cursor` unchanged, and never parse or synthesise one.
**Errors** — every error is `{ "success": false, "error": "", "code": "" }` with an
appropriate HTTP status. Branch on `code`, never on the wording of `error`. Validation failures (422) add a `details`
array naming each failing field by its dotted path.
**Unknown request-body fields are rejected** — a body carrying a field this spec does not declare is a 422
`validation_error`, with one `details` entry per unknown key (`code: "unrecognized_keys"`, `path` naming the key).
Until 2026-08 they were silently dropped, which is how `reply_to` for `replyTo`, a `cc` carried over from another
provider, and a misspelled segment `operator` all shipped to production looking like they had worked: the request
answered 200 and the behaviour the field was meant to buy simply never happened. Sending an unknown field now costs
you a failed request instead of a silent one. Query strings are the exception and stay permissive — a URL routinely
carries analytics and cache-busting params that have nothing to do with the endpoint.
**Idempotency** — `POST /v1/send` and `POST /v1/send/batch` accept an `Idempotency-Key` header. A repeated key with the
same body replays the stored response, marked BOTH by the `X-Idempotent-Replay: true` response header and by
`"replay": true` inside `data`. Read either; they are set together. (The header was promised here for years and never
actually sent, so callers wrote against the body field — both are now part of the contract and neither will be
removed.) A repeated key with a *different* body is a 409 `idempotency_key_reused` — the request is neither sent nor
replayed, because silently returning the first response would discard the new message.
**Template variables** — `{{name}}` placeholders are substituted in subjects, bodies, and preheaders wherever this
spec says so. A placeholder may carry a fallback: `{{firstName | "there"}}` renders `there` when `firstName` is
missing, null, or the empty string. The quotes are required and must be double quotes. Without a fallback a missing
variable renders as nothing at all, which is how "Hi ," reaches inboxes. Dotted paths (`{{data.plan}}`) resolve
into the contact''s custom `data`; per-call `variables` win over contact fields of the same name.
**Pagination** — list endpoints return `{ data, nextCursor }`; pass `nextCursor` back as `cursor` until it is `null`.'
servers:
- url: https://api.volanea.com
description: Production
- url: http://localhost:4100
description: Local development
security:
- bearerAuth: []
tags:
# --- truncated at 32 KB (35 KB total) ---
# Full source: https://artifacts.apis.io/volanea-com/openapi/volanea-com-campaigns-api-openapi.yml