Skip to content
WeZend
Reference

API reference

Every endpoint an API key can call, generated from the platform's own route definitions.

199 endpoints across 19 areas. This list is generated from the platform's route definitions, so it cannot describe an endpoint that does not exist — but it is a snapshot, taken on 2026-11-15, not a live view. Dashboard-only endpoints are deliberately left out: an API key returns 401 on those, and the guides say which areas they are.

Base URL: https://api.wezend.com

API key means X-API-Key is enough. API key or login means the same endpoint also accepts a dashboard session, which is what the product's own UI uses.

Want the data instead of the table? This page is rendered from GET https://api.wezend.com/v1/public/api-reference — public, no key, cached for an hour. That endpoint is not in the list below, because the list only covers what an API key can call and this one needs none.

/v1/campaigns

MethodPathAuthWhat it does
POST/v1/campaigns/:id/triggerAPI key or login

/v1/chatbot

MethodPathAuthWhat it does
GET/v1/chatbot/ab-resultsAPI key or login
GET/v1/chatbot/action-requestsAPI key or login
POST/v1/chatbot/action-requests/:id/approveAPI key or login
POST/v1/chatbot/action-requests/:id/rejectAPI key or login
GET/v1/chatbot/actionsAPI key or login
POST/v1/chatbot/actionsAPI key or login
DELETE/v1/chatbot/actions/:idAPI key or login
PUT/v1/chatbot/actions/:idAPI key or login
POST/v1/chatbot/actions/:id/testAPI key or login
GET/v1/chatbot/conversations/:id/sourcesAPI key or login
POST/v1/chatbot/conversations/:id/stateAPI key or loginHand a conversation back to the bot, or take it away from it.
GET/v1/chatbot/costsAPI key or login
GET/v1/chatbot/csatAPI key or login
GET/v1/chatbot/digest/previewAPI key or login
GET/v1/chatbot/draftsAPI key or login
POST/v1/chatbot/drafts/:id/${action}API key or login
POST/v1/chatbot/embeddings/indexAPI key or login
GET/v1/chatbot/embeddings/statusAPI key or login
GET/v1/chatbot/graduationAPI key or loginHow far each shadow channel is from being allowed to send by itself.
DELETE/v1/chatbot/mailboxAPI key or login
GET/v1/chatbot/mailboxAPI key or login
POST/v1/chatbot/mailboxAPI key or login
POST/v1/chatbot/mailbox/rotateAPI key or login
POST/v1/chatbot/replayAPI key or login
GET/v1/chatbot/settingsAPI key or login
PUT/v1/chatbot/settingsAPI key or login
GET/v1/chatbot/setup-statusAPI key or login
GET/v1/chatbot/shop/insightsAPI key or login
GET/v1/chatbot/shop/revenueAPI key or login
GET/v1/chatbot/shop/statusAPI key or login
POST/v1/chatbot/shop/syncAPI key or login
GET/v1/chatbot/sourcesAPI key or login
POST/v1/chatbot/sourcesAPI key or login
DELETE/v1/chatbot/sources/:idAPI key or login
PUT/v1/chatbot/sources/:idAPI key or login
POST/v1/chatbot/sources/:id/refreshAPI key or login
POST/v1/chatbot/sources/:id/rollbackAPI key or login
GET/v1/chatbot/sources/:id/versionsAPI key or login
POST/v1/chatbot/sources/importAPI key or loginA web page (or a few pages of the same site): fetched by the server, with the safeguards in services/knowledgeImport. Each page becomes a source that remembers its address, so it can be refreshed.
POST/v1/chatbot/sources/uploadAPI key or loginA file the browser read: .txt/.md/.html, or a PDF (base64) — best effort for PDFs, with a plain message when there is no readable text.
GET/v1/chatbot/statsAPI key or login
GET/v1/chatbot/suggestionsAPI key or login
POST/v1/chatbot/suggestions/:id/acceptAPI key or login
POST/v1/chatbot/suggestions/:id/dismissAPI key or login
GET/v1/chatbot/templatesAPI key or login
POST/v1/chatbot/templates/:tid/applyAPI key or login
POST/v1/chatbot/testAPI key or loginDry run: the same decision the live bot would make, with nothing sent and nothing recorded. Counts as one AI use only when it reaches the model.
GET/v1/chatbot/testsAPI key or login
POST/v1/chatbot/testsAPI key or login
DELETE/v1/chatbot/tests/:idAPI key or login
POST/v1/chatbot/tests/from-turnAPI key or login
POST/v1/chatbot/tests/runAPI key or login
GET/v1/chatbot/turnsAPI key or login
GET/v1/chatbot/usageAPI key or loginThis month's bot conversations against the allowance (the plan's, or the superadmin's override for this customer).

/v1/desk

MethodPathAuthWhat it does
GET/v1/desk/agentsAPI key or loginThe people a conversation can be given to: active people on the account who can work the Inbox.
GET/v1/desk/attentionAPI key or login
GET/v1/desk/canned-repliesAPI key or login
POST/v1/desk/canned-repliesAPI key or login
DELETE/v1/desk/canned-replies/:idAPI key or login
PUT/v1/desk/canned-replies/:idAPI key or login
GET/v1/desk/conversations/:idAPI key or login
POST/v1/desk/conversations/:id/assignAPI key or login
POST/v1/desk/conversations/:id/notesAPI key or login
POST/v1/desk/conversations/:id/priorityAPI key or login
POST/v1/desk/conversations/:id/save-knowledgeAPI key or login
POST/v1/desk/conversations/:id/statusAPI key or login
POST/v1/desk/conversations/:id/suggest-replyAPI key or login
POST/v1/desk/conversations/:id/summaryAPI key or login
POST/v1/desk/conversations/:id/tagsAPI key or login
GET/v1/desk/countsAPI key or login
GET/v1/desk/queueAPI key or login
GET/v1/desk/reportsAPI key or login
GET/v1/desk/rulesAPI key or login
POST/v1/desk/rulesAPI key or login
DELETE/v1/desk/rules/:idAPI key or login
PUT/v1/desk/rules/:idAPI key or login
GET/v1/desk/settingsAPI key or login
PUT/v1/desk/settingsAPI key or login
GET/v1/desk/teamsAPI key or login
POST/v1/desk/teamsAPI key or login
DELETE/v1/desk/teams/:idAPI key or login
PUT/v1/desk/teams/:idAPI key or login

/v1/events

MethodPathAuthWhat it does
POST/v1/eventsAPI keysingle event OR { events: [...] } / a bare array for batch.

/v1/liquid

MethodPathAuthWhat it does
POST/v1/liquid/checkAPI key or login

/v1/mcp

MethodPathAuthWhat it does
POST/v1/mcpAPI keyMCP endpoint (streamable-HTTP style: single JSON-RPC request → single JSON response).
POST/v1/mcp/actAPI keyPlain REST for a ChatGPT GPT Action: { tool, arguments }.

/v1/objects

MethodPathAuthWhat it does
GET/v1/objectsAPI key or loginthe types this account has, with a count of each
GET/v1/objects/:typeAPI key or login
DELETE/v1/objects/:type/:externalIdAPI key or login
GET/v1/objects/:type/:externalIdAPI key or login
PUT/v1/objects/:type/:externalIdAPI key or login{ attributes, replace? } — create or update; attributes are merged unless replace is true, and null removes a key
GET/v1/objects/:type/:externalId/contactsAPI key or loginwho belongs to it (at most 200)
POST/v1/objects/:type/:externalId/contactsAPI key or login{ contact_id | email, role? } — relate a contact; asking again updates the role
DELETE/v1/objects/:type/:externalId/contacts/:contactIdAPI key or login
GET/v1/objects/by-contact/:contactIdAPI key or loginthe objects one contact belongs to ("by-contact" is not a valid type, so it cannot be mistaken for one)

/v1/snippets

MethodPathAuthWhat it does
GET/v1/snippetsAPI key or login
POST/v1/snippetsAPI key or login
DELETE/v1/snippets/:idAPI key or loginIn use = named by a saved campaign or template, a journey, or another snippet. Looked up by the text, so it is a guard against the obvious mistake, not a proof.
GET/v1/snippets/:idAPI key or login
PUT/v1/snippets/:idAPI key or loginOnly `content` and `description` change. The name stays: it is what the messages say.

/v1/webhook-endpoints

MethodPathAuthWhat it does
GET/v1/webhook-endpointsAPI key or loginlist + the catalogue of subscribable events
POST/v1/webhook-endpointsAPI key or login{ url, events? } — creates + returns the signing secret ONCE
DELETE/v1/webhook-endpoints/:idAPI key or login
PATCH/v1/webhook-endpoints/:idAPI key or login{ url?, events?, status? }
POST/v1/webhook-endpoints/:id/testAPI key or logindeliver a ping

Account

MethodPathAuthWhat it does
POST/v1/account/ai-assistAPI key or loginper-block text assist for the email builder (F2). action ∈ rewrite|shorten|lengthen|friendly|professional|fix|generate|subjects. Always responds (degrades gracefully without an AI key), so the ✨ menu never dead-ends.
POST/v1/account/ai-coach-requestAPI key or logincustomer asks to enable the paid add-on
GET/v1/account/ai-coach-statusAPI key or loginis the coach enabled / requested?
POST/v1/account/ai-recommendationsAPI key or loginpersonalised marketing advice (cached daily) Paid add-on: only available to customers with ai_coach_enabled.
POST/v1/account/ai-writeAPI key or logingenerate a full email from a brief
POST/v1/account/ai-writer-requestAPI key or login
GET/v1/account/ai-writer-statusAPI key or login
GET/v1/account/analyticsAPI key or login
GET/v1/account/balanceAPI key or login
GET/v1/account/billing-currencyAPI key or logincurrent currency + available options
PUT/v1/account/billing-currencyAPI key or login
PUT/v1/account/billing-detailsAPI key or logincustomer chooses their invoice/billing currency. Converts any existing balance to the new currency at the effective rate. PUT /v1/account/billing-details — company/tax details used on invoices
GET/v1/account/brand-voiceAPI key or logincurrent profile
PUT/v1/account/brand-voiceAPI key or loginset (or clear with null/{})
GET/v1/account/channel-deliverabilityAPI key or logindelivery/failure rates for EVERY channel (sms/rcs/whatsapp/voice/email + push), not just email reputation.
GET/v1/account/deliverabilityAPI key or loginbounce/complaint rates + health from the email feedback loop (the deliverability signals the platform already captures).
GET/v1/account/email-domainsAPI key or loginlist domains + their DNS records
POST/v1/account/email-domainsAPI key or loginadd a domain to verify
DELETE/v1/account/email-domains/:idAPI key or login
PUT/v1/account/email-domains/:id/bimiAPI key or login{ logo_url } — set/clear the BIMI SVG logo.
POST/v1/account/email-domains/:id/check-signingAPI key or loginthe ONLY honest DKIM confirmation. /verify above resolves DNS. It cannot see whether the outbound relay actually signs, and presenting those two as one green tick is exactly what let an account show "DKIM verified" while its delivered mail carried no DKIM-Signature header at all. The definitive test is the one a customer spelled out for us: send a mail to an address you can read, open "show original", and look for a DKIM-Signature with d=<your domain>. This endpoint takes those pasted headers and answers it — no guessing, no DNS inference — and records the verdict against the domain so the dashboard stops claiming more than it knows. Body: { headers: "<raw header blob or JSON map>", authentication_results?: "<optional>" }
GET/v1/account/email-domains/:id/dmarcAPI key or loginrecent reports + rollup for a domain
POST/v1/account/email-domains/:id/dmarcAPI key or loginUpload a DMARC aggregate (rua) XML report — parsed to a pass/fail-alignment summary so the customer sees spoofing / auth failures on their sending domain. POST /v1/account/email-domains/:id/dmarc { xml }
GET/v1/account/email-domains/:id/dmarc/readinessAPI key or logincan THIS domain move to p=quarantine? The same four criteria the platform holds itself to, asked for one customer's domain. Answers the decision rather than the data: a table of source IPs is not what tells someone whether it is safe to ask receivers to quarantine their own mail. It also hands back the two records to publish. The second one — RFC 7489 §7.1's external destination authorisation — is the step people miss, and missing it means Google and Microsoft refuse to send anything at all, silently. It is returned next to the first, not in a footnote.
POST/v1/account/email-domains/:id/verifyAPI key or loginrun live DNS checks
POST/v1/account/email-domains/:id/warmupAPI key or login{ action: start|pause|resume|stop } While active, marketing email beyond the day's cap is held (21-day ramp, no cron).
GET/v1/account/link-domainsAPI key or loginlist with the CNAME record + the target host
POST/v1/account/link-domainsAPI key or login{ domain }
DELETE/v1/account/link-domains/:idAPI key or login
POST/v1/account/link-domains/:id/verifyAPI key or loginlive DNS (CNAME) check
GET/v1/account/list-growthAPI key or loginsubscriber growth over time
GET/v1/account/meAPI key or loginworks with both X-API-Key and Bearer JWT
GET/v1/account/planAPI key or logincurrent tier/band, included volumes (annual-adjusted), this month's usage, region mode and the self-serve upgrade options.
GET/v1/account/pricingAPI key or loginReturns ONLY sell prices — never cost prices
POST/v1/account/spam-checkAPI key or login{ subject, html, text } → { score, rating, issues }
GET/v1/account/tracking-identityAPI key or loginthe secret your BACKEND signs contact identifiers with, so the browser SDK can prove a visitor is a particular contact. Needs the settings capability.
PUT/v1/account/tracking-identityAPI key or login{ require_identity: boolean }. Turning it off lets anyone holding the public tracking key name any contact, so the response says so.
POST/v1/account/tracking-identity/rotateAPI key or loginissue a new identity secret, invalidating every user_hash already computed with the old one.
GET/v1/account/tracking-keyAPI key or loginthe customer's public, write-only tracking key plus the ready-to-paste <script> snippet for the browser SDK. Created on first request.
PUT/v1/account/tracking-originsAPI key or loginrestrict which website origins may use the key (e.g. ["https://shop.example.com"]). Empty list = accept any origin.
GET/v1/account/usageAPI key or login

Account — Unsubscribes

MethodPathAuthWhat it does
GET/v1/account/unsubscribes/api/liftsAPI key or loginwho lifted what, when and why. Newest first; `since` is an ISO timestamp, `address` is matched case-insensitively. Read: everyone.
GET/v1/account/unsubscribes/api/listAPI key or logina customer's own suppressions. flexAuth, not requireAuth: this was JWT-only, so a customer's BACKEND could not read it — only a signed-in browser could. That left the contact.unsubscribed webhook as the single way to get opt-outs into their own consent records, with no way to reconcile if their endpoint was down. Reported by a customer on 2026-08-31, and they were right that it made the webhook a single point of failure for data they are obliged to keep. requireCapability("read") covers both callers: an API key must carry the read scope, a dashboard user must have a role that allows reads. It is the customer's own suppression list either way.

Contacts

MethodPathAuthWhat it does
GET/v1/contactsAPI key or loginlist contacts
POST/v1/contactsAPI key or logincreate a single contact manually (e.g. to send a test)
DELETE/v1/contacts/:idAPI key or login
PATCH/v1/contacts/:idAPI key or loginPATCH /v1/contacts/:id — update a contact (standard fields + custom fields)
GET/v1/contacts/fieldsAPI key or loginlist this customer's custom field definitions
POST/v1/contacts/fieldsAPI key or logindefine a new custom field
DELETE/v1/contacts/fields/:idAPI key or loginremove a field definition (existing data on contacts is kept)
POST/v1/contacts/importAPI key or loginupload CSV (write). New optional multipart fields record consent, and only these do: consent_basis=consent, consent_channels=email,sms, consent_text_version, consent_locale. Without them the import runs and the response says consent:{recorded:false}. Refusals come BEFORE any row is written: 403 consent_requires_settings a member sent consent fields (confirming the lawful basis needs `settings`) 400 consent_basis_invalid 400 consent_channels_invalid 409 consent_text_changed the version is not the current one; the body carries `version` 409 consent_wording_pending the wording is still a placeholder pending legal review and this is production (see GET consent-text `available`); asked right after who may confirm On success the response carries consent:{recorded, confirmation_id, channels, records_written, contacts_with_consent, skipped_suppressed}. The counts are what was COMMITTED (each row is its own savepoint: a row the database refuses is undone alone, and the rest of the file is imported): { total, imported, skipped, suppressed, skipped_duplicates, rejected, rejected_by_reason: { <code>: n }, rejected_sample: [{ row, reason }] (the first 20), errors (the first 50, with a sentence per row), … } and total = imported + skipped. `reason` is one of missing_email_or_phone, invalid_email, invalid_phone, conflicts_with_other_contact (an e-mail and a phone number that belong to two different existing contacts), value_too_long, invalid_value, row_failed: a code names a kind of problem, never an address. A row that matches a contact you already have updates it and counts in `imported`; `skipped_duplicates` is a row that repeats an earlier row of the same file exactly.
GET/v1/contacts/import/consent-textAPI key or loginthe wording a person confirms before consent is recorded for an import. The SERVER holds the sentence (services/importConsent); the client shows it and sends back only the version. `channels` (optional) shapes the sentence to the ticked channels; the list returned is every channel on offer. Unknown locale → en. Read. 200 { version: "import-consent-v1", locale: "en"|"da", text, channels: ["email","sms","whatsapp"], available: boolean, wording_status: "pending_legal_review"|"approved" } `available:false` (the wording is still a placeholder and this is production) means an import that sends consent fields is refused 409 consent_wording_pending: a screen should say so first.
POST/v1/contacts/upsertAPI key or logincreate the contact, or update the one that already has this email or phone

Conversations

MethodPathAuthWhat it does
GET/v1/conversationsAPI key or login
PATCH/v1/conversations/:idAPI key or login
GET/v1/conversations/:id/messagesAPI key or login
POST/v1/conversations/:id/replyAPI key or login

Integrations

MethodPathAuthWhat it does
POST/v1/integrationsAPI key or logincreate integration (accepts JWT or API key) Uses flexAuth middleware that tries API key first, then JWT. Needs `settings` (INTEGRATION_CAPS.connect): connecting a store is an administrator's decision; a member gets 403 insufficient_role. A WooCommerce store gets a secret of its own, made HERE (crypto-random, services/wooWebhookSecret) and stored encrypted in the same INSERT, so there is never a moment when the row has none and would be verified by the platform-wide secret. The answer carries it ONCE, in `webhook` — { url, secret, shown_once: true } — and nothing returns it again; a lost one is replaced with POST /:id/webhook-secret/rotate. A caller-supplied `webhook_secret` for a WooCommerce store is refused (400 webhook_secret_is_server_generated) rather than quietly ignored, which would leave the merchant signing with a secret we do not hold. Other platforms are unchanged (Shopify signs with the app's secret).

Lists

MethodPathAuthWhat it does
GET/v1/listsAPI key or login
POST/v1/listsAPI key or login
DELETE/v1/lists/:idAPI key or login
GET/v1/lists/:idAPI key or login
PATCH/v1/lists/:idAPI key or login
POST/v1/lists/:id/contactsAPI key or loginadd a single contact to list
DELETE/v1/lists/:id/contacts/:contactIdAPI key or login
GET/v1/lists/:id/dependentsAPI key or login
PATCH/v1/lists/:id/favoriteAPI key or loginpin/unpin a list to the top
POST/v1/lists/:id/importAPI key or loginimport CSV into this list

Messages

MethodPathAuthWhat it does
DELETE/v1/messages/:idAPI key or loginA send with scheduled_at in the future is stored as status='scheduled' (see processOutboundMessage) — but this endpoint only accepted 'queued', so the one thing it exists for, cancelling a scheduled message, answered "Message already sent — cannot cancel". Both pre-dispatch states are cancellable now, claimed atomically so a message the scheduled worker or queue worker has already picked up can't be cancelled from under it.
GET/v1/messages/:idAPI key or loginflexAuth, not requireApiKey: the dashboard is a first-class client of its own API, and an API-key-only status/cancel pair meant a signed-in user could see a scheduled message in the history but had no way to look it up or stop it. Matches /history and /:id/timeline.
POST/v1/messages/:id/resendAPI key or loginCreates a NEW message to the same recipient with the same content.
GET/v1/messages/:id/timelineAPI key or login
POST/v1/messages/bulkAPI key or loginSend up to 10,000 messages in one call. Each item accepts the same per-send options as /send (transactional, reply_to, from_name, headers); an item with an invalid value is counted failed.
GET/v1/messages/historyAPI key or loginMust be defined BEFORE GET /:id so "history" isn't captured as an :id.
POST/v1/messages/sendAPI key or loginSend one message. Body: to, channel, message. `message` (plain text) is ALWAYS required — even for email, where it is the text/plain alternative; add `htmlmessage` (+ `subject`) for the HTML body. A body with only `htmlmessage` and no `message` is rejected with 400. Optional: transactional (bool — exempt from the marketing quota cap), reply_to, from_name and headers (email; headers are safelisted — reserved names are rejected with 400). channel "imessage" (Apple Messages for Business through your own Bird account) is REPLY-ONLY: `to` is the customer's iMessage ID — the opaque id of someone who has already written to your business, shown in the Inbox — never a phone number. A send with no open conversation is recorded as failed with a plain-language reason and is not billed. Optional `imessage: { content }` carries a Bird rich_link / interactive content object.
POST/v1/messages/send-by-tagAPI key

Segments

MethodPathAuthWhat it does
GET/v1/segmentsAPI key or loginlist all segments with their cached member count. It never counts: { id, name, description, rules, source, count, cached_count, counted_at, count_state, counting, stale, count_error, ... }. count_state is counting | timeout | error | never | stale | fresh; `count` is null until a count exists.
POST/v1/segmentsAPI key or logincreate. The rules are checked (shape, limits, this customer's fields and lists) but not counted: the count is worked out in the background and shows up in GET /v1/segments.
DELETE/v1/segments/:idAPI key or login
PUT/v1/segments/:idAPI key or loginupdate. New rules are checked like a create, keep the previous number on screen, and are recounted in the background.
GET/v1/segments/:id/contactsAPI key or loginresolve to actual contacts (preview the members): the first 100, newest first, by the same resolver a campaign uses. 503 segment_timeout when it takes over 5 s.
GET/v1/segments/:id/dependentsAPI key or login
POST/v1/segments/:id/recountAPI key or logincount this segment again in the background: 202 { ok, segment_id, count_state: "counting" }. At most once a minute per segment (429 recount_too_soon) and a few segments a minute per customer (429 recount_busy), both with params.retry_after seconds.
GET/v1/segments/event-typesAPI key or loginthe event types this customer has seen in the last 90 days, most frequent first, for the "did an event" picker: { event_types: [{ event_type, count, last_seen }], window_days, truncated }.
POST/v1/segments/previewAPI key or logincount the matches of a rule set WITHOUT saving it: { count, sample_allowed, sample: [{ first_name, last_initial, email }] }. Opted-out people are never counted. The sample is only worked out when asked for, with { rules, sample: true }: at most 5 people, masked (first name, last initial, a•••@domain, no phone); a support agent gets the count only. Rule problems are 400 { error, code, message, params }; a count that takes over 5 s is 503 segment_timeout.
GET/v1/segments/recipesAPI key or loginthe ready-made segments: each with its rules, a plain-language sentence, whether it can be used on this account and whether it has been made already. ?counts=true adds a live count to those not made yet.
POST/v1/segments/recipes/:keyAPI key or loginsave a ready-made segment as this customer's own (editable like any other). One per recipe: asking again returns the one that exists (200, created false).
GET/v1/segments/schemaAPI key or loginwhat the builder can offer this customer: { schema, groups, limits, context }. `schema` lists every condition with its group, operators and (for a list) this customer's own lists as options [{ value, label, count }]; entries the account cannot use are flagged hidden with a reason. `context` says where Orders reads from and whether a model is available.

Sender

MethodPathAuthWhat it does
GET/v1/sender/rulesAPI key
POST/v1/sender/validateAPI key

Senders

MethodPathAuthWhat it does
GET/v1/sendersAPI key or login
POST/v1/sendersAPI key or login
DELETE/v1/senders/:idAPI key or login

One platform. Every customer interaction.

Replace your patchwork of messaging APIs, CDP and automation tools with a single engagement platform built for scale.

No credit card required · EU data residency · 99.99% uptime SLA