Developers
The API
Everything the app does with contacts, lists, suppressions and sequences, plus a transactional send that honours your suppression list and signed webhooks for every event. Paste the OpenAPI document into any client generator.
Authenticate
Create a key in Settings. Scopes are read, write, send and admin (needed to delete a contact). Send the key as Authorization: Bearer sqk_.... Each key gets 600 requests a minute and JSON bodies up to 2 MB. Errors come back as {"error":{"code","message"}} with the matching HTTP status.
Base URL:
https://se.quenc.es/api/v1
Every call is scoped to the organization that owns the key. A key cannot reach another organization's data. Agencies: each client workspace is its own organization, so create keys inside the client's workspace. GET /me names the agency a workspace belongs to.
Add a contact
curl -X POST https://se.quenc.es/api/v1/contacts \
-H "Authorization: Bearer sqk_..." -H "Content-Type: application/json" \
-d '{"email":"ann@example.com","first_name":"Ann","consent_source":"Signup form on example.com","list_id":"<list uuid>"}'Existing contacts are updated and never un-suppressed by this call. Send up to 500 at once as {"contacts":[...]}. A consent source is required; it is stored with the contact as your record of how they opted in.
Send one email
curl -X POST https://se.quenc.es/api/v1/send \
-H "Authorization: Bearer sqk_..." -H "Content-Type: application/json" \
-d '{"from_email":"hello@yourdomain.com","to":"ann@example.com","subject":"Your receipt","html":"<p>Thanks, {{first_name}}.</p>","variables":{"first_name":"Ann"}}'Needs the send scope and a verified identity covering the From address. A suppressed recipient returns status: "suppressed" and nothing is sent. Set "marketing": true to append the unsubscribe link and postal address.
Signup forms
Create a form in the app and you get a URL at /f/<slug> that accepts a plain HTML POST from any site. New subscribers receive a confirmation email from your own SES identity and join the list only after they click it. The confirmation records time, IP address and browser as consent evidence.
Webhooks
Subscribe an https URL to any of subscribe, unsubscribe, delivery, bounce, complaint, reject, delivery_delay. Endpoints belong to a sending identity, so an agency can give each client its own: an endpoint receives only that identity's signups, sends and unsubscribes (unsubscribes go to the identity that last emailed the contact). An endpoint created through the API without identity_id receives every event in the organization. We generate a signing secret per endpoint (shown once on the identity page, rotatable there). Each delivery is a JSON POST with X-Sequences-Signature: t=<unix>,v1=<hmac>. Verify it like this:
import { createHmac } from 'node:crypto';
export function verify(secret, header, rawBody) {
const { t, v1 } = Object.fromEntries(header.split(',').map(kv => kv.split('=')));
if (Math.abs(Date.now() / 1000 - Number(t)) > 300) return false;
return v1 === createHmac('sha256', secret).update(`${t}.${rawBody}`).digest('hex');
}Failed deliveries are retried six times over two days with backoff. Ten consecutive dead deliveries switch the endpoint off until you re-enable it.
Every event carries the same envelope: type, occurred_at, a contact object (id, email, names, attributes) whenever we know the address, a campaign object (id, name, step, A/B variant) for anything that happened to a campaign email, an identity object (id, domain) when we know which sending identity it belongs to, and the raw fields under data. The CRM recipes page shows the payload and how to wire it to HubSpot, Salesforce, Pipedrive, Zoho, GoHighLevel, Close and ActiveCampaign in both directions.
MCP server
The same capabilities as tools for an AI agent: drafting sequences, adding contacts with consent, checking suppressions, scheduling, reading results. Remote MCP over Streamable HTTP at https://se.quenc.es/mcp, authenticated with an API key. Tools are filtered by the key's scopes, and nothing sends until schedule_campaign or send_email is called explicitly.
claude mcp add --transport http sequences https://se.quenc.es/mcp \ --header "Authorization: Bearer sqk_..."
Works with any client that can send a bearer header to a Streamable HTTP server: Claude Code, Cursor, VS Code, or the mcp-remote bridge for Claude Desktop. Tools: get_account, list_identities, list_lists, create_list, list_contacts, add_contacts, add_to_list, check_suppression, list_suppressions, list_campaigns, get_campaign, create_campaign, update_campaign, send_test_email, schedule_campaign, pause_campaign, resume_campaign, cancel_campaign, close_enrollment, send_email, get_events.
Endpoints
| Method | Path | Notes |
|---|---|---|
GET | /me | organization, plan, limits |
GET | /identities | sending domains with footer details and tracking domain |
GET PATCH | /identities/{id} | DNS records; set sender_name, postal_address, tracking_domain; check: true re-verifies |
GET POST | /contacts | list; create or update one or many |
GET DELETE | /contacts/{id} | delete needs admin scope |
POST | /contacts/{id}/unsubscribe | suppresses the address |
GET POST | /lists | |
GET DELETE | /lists/{id} | |
POST | /lists/{id}/contacts | add by contact_ids or emails |
GET POST | /suppressions | |
GET DELETE | /suppressions/{email} | lifting never works for complaints |
GET POST | /campaigns | list; draft a sequence with steps, each with optional A/B variants |
GET PATCH | /campaigns/{id} | steps, variants and statistics; edit a draft |
POST | /campaigns/{id}/schedule|pause|resume|cancel|close | {"at": ISO-8601} to schedule later; close stops new recipients and lets follow-ups finish |
POST | /send | transactional, needs send scope |
GET | /events | ?since=&type=; bounces, complaints, rejects and delays, kept 90 days |
GET POST | /webhooks | |
DELETE | /webhooks/{id} |