ESTAGE Support
IdeasMy tickets

API basics

All the basics to get started with the ESTAGE API.

Base URL

The base URL is https://api.estage.com. Endpoints are versioned under /v1:

https://api.estage.com/v1

A key belongs to one project, so paths never name a project: GET /v1/contacts lists the contacts of the key's project.

Headers

Header Required Value
ESTAGE-API-Key Yes est_live_… — or send the same key as Authorization: Bearer est_live_…
Content-Type With a body application/json
Accept Recommended application/json
Idempotency-Key Recommended on writes Any unique string per operation, up to 255 characters. See Idempotency.

Authentication

Requests use a project API key. Keys start with est_live_. Send the key in the ESTAGE-API-Key header, or as Authorization: Bearer <key> — both work, so use whichever your tool makes easier (n8n, Zapier and Make have a ready "Bearer token" option). The key is never accepted in the query string.

Keys are created in Genesis: Settings → API keys → Create key — by the project owner, or a team member whose role allows managing API keys.

  • Access — tick only the permissions your code needs, for example Contacts → Read / Write and Events → Write. A call outside them answers 403 forbidden_scope, and details.required_scopes names the permissions this call needs. A call that returns two kinds of data needs both — for example a contact's orders needs Contacts → Read and Orders → Read.
  • Advanced — Requests per minute, Expires on (empty: never expires) and Allowed IP addresses (one IP or CIDR range per line; empty: any address).
  • Use in this app's server code — for code Genesis writes: the key is saved for the app's server as ESTAGE_API_KEY and never shown.

The secret is shown once. A project can have up to 20 active keys. Each key has Edit, Rotate (the old secret keeps working for 24 hours by default — anything from 0 to 168 hours) and Revoke.

Server-side only. A key opens the project's whole CRM. Call the API from your backend, a Dedicated Cloud function, Zapier, Make or n8n — never from a web page or a mobile app.

GET /v1/me returns the project, the key's permissions and its rate limits — the quickest way to check a key works.

Versions

The version is in the path (/v1). Within /v1 only compatible changes ship: new endpoints, new optional parameters, new response fields, new enum values and new webhook events. Ignore fields you do not know. Anything incompatible is first added beside the old field, marked deprecated, and announced with Deprecation / Sunset headers at least six months ahead.

Media types

Requests and responses are JSON in UTF-8. Times are ISO 8601 in UTC (2026-11-10T12:00:00Z). Money is a string with two decimals ("19.99"); percentages, quantities and weights are numbers.

HTTP methods

  • GET — reads. Safe to retry.
  • POST — creates, or runs an action (/broadcasts/{id}/schedule, /orders/{id}/refund). Send an Idempotency-Key so a retry never does it twice.
  • PATCH — changes the fields you send; the rest stay as they are.
  • PUT — replaces a whole set (a collection's products, an automation's graph). PUT /v1/contacts/{id}/fields is the exception: it sets the fields you send and leaves the rest.
  • DELETE — removes (DELETE /v1/contacts/{id} opts the contact out instead; the record stays). Repeating it does no harm; once the record is gone the answer is 404.

Successful responses are { "data": …, "meta": { … } }; meta appears when there is something to say (a cursor, counts).

Response codes

Status error.code What it means What to do
200 / 201 / 202 — OK / created / accepted (runs on a queue, e.g. events) —
401 unauthenticated The key is missing, wrong, revoked, expired, or not allowed from this IP Check the key; a revoked key needs a new one
403 forbidden_scope The key lacks a permission — details.required_scopes names it Add it under Settings → API keys → Edit on the key
403 forbidden The action is not allowed for this project Do not retry
404 not_found No such record in this project Check the id
405 method_not_allowed Wrong HTTP method for this path —
409 conflict The same Idempotency-Key with a different request, or the first one is still running Use a new key, or wait
422 validation_failed A field is wrong (details maps each field to its messages), or the request cannot be done as sent (message says why) Fix the input
429 rate_limited Too many requests, or too many failed key attempts from your address Wait Retry-After seconds
5xx unavailable Something failed on our side Retry later with the same Idempotency-Key

A bulk import (POST /v1/contacts/bulk) answers 202 with a job: follow it with GET /v1/jobs/{id} until status is completed or failed.

Error handling

Every error has the same shape:

{
  "error": {
    "code": "validation_failed",
    "message": "The request is invalid.",
    "details": { "email": ["The email field must be a valid email address."] }
  }
}
  • code — a stable token. Branch on it, not on message, whose wording may change.
  • message — a sentence for people.
  • details — present when there is more: field errors, or the missing permissions.

Rate limits

Limit Default
Reads (GET) per key 300 per minute, or the key's Requests per minute
Writes per key 120 per minute, or half the key's Requests per minute
Heavy operations per key (bulk imports of contacts, suppressions and inventory, bulk tag/list changes, enrolling contacts, events, reports, segment contacts and counts, booking a slot, free slots, affiliate reports, one affiliate's details, earnings stats, the payout preview, webhook tests) 20 per minute
All keys of one project 1,000 per minute

Responses carry X-RateLimit-Limit and X-RateLimit-Remaining. A 429 adds Retry-After in seconds. Heavy operations say so in their description.

Pagination

Lists that grow — contacts, orders, suppressions, payouts, a contact's activity, a campaign's recipients, webhook deliveries — page with a cursor:

GET /v1/contacts?limit=100
→ { "data": [ … ], "meta": { "next_cursor": "eyJ…", "limit": 100 } }

GET /v1/contacts?limit=100&cursor=eyJ…

limit is 1–100 (default 50). Keep asking with meta.next_cursor until it is null. Cursors are opaque and belong to one list.

Short lists — tags, messages, campaigns, products, coupons, bookings and the like — use page and per_page (1–100, default 50), with meta: { page, per_page, total, last_page }. Small sets — lists, custom fields, segments, automations, collections, meeting types, schedules, webhooks — come back whole.

Idempotency

Send Idempotency-Key on every POST, PUT, PATCH and DELETE. The first response is kept for 24 hours for that API key and Idempotency-Key; repeating the same request returns it again with Idempotent-Replayed: true instead of doing the work twice. Errors you fix outside the request (401, 403, 404, 422, 429) and 5xx are not kept, so a retry after the fix gets a fresh answer.

Webhooks

ESTAGE can call your server when something happens in the project. Subscribe with POST /v1/webhooks (see Webhooks in the API reference): an https URL, the events you want and a secret of your own (32–200 characters). The key needs Webhooks → Manage and the Read permissions of each event — GET /v1/webhooks/events lists the events and what each needs. Up to 10 webhooks per project.

  • Each delivery carries X-Estage-Event, X-Estage-Delivery and X-Estage-Signature: t=<unix time>,v1=<hex>, where v1 is the HMAC-SHA256 of <t>.<raw body> with your secret. Check it before trusting the body. Retries send the same body with the same id, so drop an id you have already handled.
  • Answer with a 2xx within 10 seconds. A failed delivery is retried after 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours. Answering 410 turns the webhook off, and so do 10 deliveries in a row that fail every retry.
  • POST /v1/webhooks/{id}/test sends a signed webhook.test at once. Deliveries are kept for 30 days (GET /v1/webhooks/{id}/deliveries).

Set up in the CRM first

Some things are done by the project owner in the ESTAGE CRM, not through the API:

  • Email campaigns send only from a verified sender: CRM → Settings, tab Email sending — Domain authentication and Sending addresses.
  • Custom fields can be created through the API (POST /v1/fields, permission Custom fields → Write) or on any contact: tab Contact information → Custom fields → Manage fields.

FAQ

Who can use the API? Anyone with a key. Keys are created by the project owner, or a team member whose role allows managing API keys. The API keys screen is being opened project by project — if your project has no API keys tab in Settings yet, you cannot create a key there yet.

Can I call it from my website's JavaScript? No. The key would be visible to every visitor and opens the whole CRM. Call it from a server — in Genesis, a Dedicated Cloud function.

Do I have to write the code myself? No. In a Genesis project, describe what you want in the chat ("send my ESTAGE follow-up email when an exhibitor signs the contract") and the builder writes the server code with the key you saved through Use in this app's server code.

Can I test without changing real data? There is no separate test mode. Use a separate test project with its own key.

Where are the step-by-step guides? Under Guides on this site.