Mailings send one e-mail to a list of end users and representatives from one of your e-mail channels. You build a mailing list, write the content (optionally from a template), run a preflight that fixes the recipients, have an Administrator approve and start the campaign, and follow the result in the campaign report. Mailing preferences record who opted in or out, and every mail carries a personal unsubscribe link. Mailings must be included in the account’s subscription.
403 with { "error": "Feature 'Mailings' is not available for the current subscription plan." }.updatedAt value you last read. When someone else changed the object in between, the answer is 409 Conflict with the current version, so you can reload and try again.pageNumber (default 1) and pageSize (default 10, at most 200) and answer { "items": [...], "totalCount": n, "totalPages": n }./api/MailingCampaignssearch (name or subject), sortBy (Name, UpdatedAt, CreatedAt, Status or Subject; default UpdatedAt) and sortOrder (asc or desc, default asc)./api/MailingCampaignsDraft, optionally from a template. Answers 201 Created with the campaign./api/MailingCampaigns/channel-optionschannelID, name, emailAddress and providerType (Office365 or ImapSmtp)./api/MailingCampaigns/{id}/api/MailingCampaigns/{id}/api/MailingCampaigns/{id}Draft. Answers 204 No Content./api/MailingCampaigns/{id}/preview/api/MailingCampaigns/{id}/variants/{language}/translate/api/MailingCampaigns/{id}/test/api/MailingCampaigns/{id}/preflight/api/MailingCampaigns/{id}/recipientseligibility (Eligible or Excluded) and search./api/MailingCampaigns/{id}/recipients/export/api/MailingCampaigns/{id}/approve/api/MailingCampaigns/{id}/startscheduledAt./api/MailingCampaigns/{id}/unscheduleApproved./api/MailingCampaigns/{id}/pause/api/MailingCampaigns/{id}/resume/api/MailingCampaigns/{id}/cancel/api/MailingCampaigns/{id}/recipients/{recipientId}/reconcile/api/MailingCampaigns/reportssearch (name or subject)./api/MailingCampaigns/{id}/report/api/MailingCampaigns/{id}/report/recipientsdeliveryStatus, search, unsubscribed and clicked./api/MailingCampaigns/{id}/report/recipients/export/api/MailingListssearch (name or description), includeArchived (default false), sortBy (Name, CreatedAt, UpdatedAt, MemberCount or Status; default Name) and sortOrder./api/MailingLists/api/MailingLists/lookupmailingListID and name, by name, for a picker./api/MailingLists/customer-rep-candidatessearch (name or e-mail address)./api/MailingLists/{id}/api/MailingLists/{id}Active or Archived) of a list./api/MailingLists/{id}/api/MailingLists/{id}/members/api/MailingLists/{id}/members/end-users/api/MailingLists/{id}/members/customer-reps/api/MailingLists/{id}/members/{memberId}/api/MailingLists/{id}/members/{memberId}/email/api/MailingLists/{id}/previewsource (all, members or rule)./api/MailingLists/{id}/rule/api/MailingLists/{id}/rule/api/MailingLists/{id}/rule/preview/api/MailingLists/{id}/exclusions/api/MailingLists/{id}/exclusions/{exclusionId}/api/MailingLists/{id}/import/preview/api/MailingLists/{id}/import/api/MailingTemplatessearch (name or subject)./api/MailingTemplates/api/MailingTemplates/lookup/api/MailingTemplates/{id}/api/MailingTemplates/{id}/api/MailingTemplates/{id}/api/EmailMailingPreferencessearch (part of the address) and status (OptedIn, OptedOut or Unknown)./api/EmailMailingPreferences/lookupemail in the query./api/EmailMailingPreferences/set/api/mailings/unsubscribe/{token}/api/mailings/unsubscribe/{token}/api/mailings/unsubscribe/{token}/addressemail gives the address. Returns an HTML confirmation.mailingCampaignID (integer)name, subject (string)status (string)purpose (string)ProductUpdate or Marketing.mailingListID, mailingListName, channelID, channelName, fromAddresscontentRevision, audienceRevision (integer)createdByCustomerRepID, createdAt, updatedByCustomerRepID, updatedAtupdatedAt back unchanged with the next change.htmlBody, textBody (string)textBody means the plain-text part is made from the HTML.defaultLanguage (string or null) and variants (array of language, subject, htmlBody, textBody)trackLinks (boolean)isEditable and canPreflight, canApprove, canStart, canSchedule, canUnschedule, canPause, canResume, canCancel (boolean)preflightedAt, approvedAt, scheduledAt, pausedAt, startedAt, completedAt (date-time or null), each with the representative who did it, plus stopReason and recipientsPrunedAtaudience (object or null)preflightedAt, the revisions it was made for, isCurrent (false when the content, the list or its members changed since), counts and languages (recipients per language).approval (object or null)communicationBasis, motivation, eligibleRecipientCount, approvedByCustomerRepID, approvedAt and the revisions that were approved.events (array)eventType, actorCustomerRepID, occurredAt, details.counts holds total, eligible and excluded; the reasons noUsableEmail, emailChoiceRequired, customerRepInactive, optedOut, notOptedIn, bounced, excludedByException; fromMembers and fromRuleOnly; the delivery states pending, claimed, accepted, permanentFailure, sendUncertain, suppressed, cancelled; and unsubscribed, clicked, clicks, clickRate with the tracked and untracked send counts.
name (string, required, max 200)mailingListID (integer, required)channelID (integer, required)subject (string, max 500)purpose (string)ProductUpdate (default) or Marketing.mailingTemplateID (integer)name (string, required, max 200), mailingListID, channelID (integer)purpose (string, required)ProductUpdate or Marketing.subject (max 500), htmlBody, textBody (string, each at most 524,288 characters)defaultLanguage (string, max 20) and variants (array, at most 10)variants array is the full set: languages you leave out are removed.trackLinks (boolean or null)updatedAt (date-time, required)A campaign can be saved in status Draft, Preflighted, Approved or Scheduled. A change of the content, list, channel or purpose takes a preflighted, approved or scheduled campaign back to Draft: the approval and the schedule are dropped. Renaming alone changes nothing else.
{{name}}, {{first_name}}, {{last_name}}, {{company}} and {{unsubscribe_url}}, with an optional fallback such as {{first_name|there}}. An unknown or malformed variable, {{unsubscribe_url}} in the subject, or a subject made only of variables without fallback gives 400.{{unsubscribe_url}} link, a standard unsubscribe footer is added to every mail.nl, nl-BE, nld and similar, and stored as two letters. Each recipient gets the variant of their language, else the default content.POST /api/MailingCampaigns
Authorization: Bearer <token>
Content-Type: application/json
{
"name": "December product update",
"mailingListID": 42,
"channelID": 7,
"subject": "What's new in December",
"purpose": "ProductUpdate",
"mailingTemplateID": 3
} 201 Created
Location: /api/MailingCampaigns/118
{
"mailingCampaignID": 118,
"name": "December product update",
"subject": "What's new in December",
"status": "Draft",
"purpose": "ProductUpdate",
"mailingListID": 42,
"mailingListName": "Customers BE",
"channelID": 7,
"channelName": "Support mailbox",
"fromAddress": "support@example.com",
"contentRevision": 1,
"audienceRevision": 1,
"htmlBody": "<p>Dear {{name|customer}},</p>...",
"textBody": "",
"defaultLanguage": "en",
"variants": [ { "language": "nl", "subject": "Nieuw in december", "htmlBody": "...", "textBody": "" } ],
"trackLinks": true,
"isEditable": true,
"audience": null,
"approval": null,
"events": [],
"canPreflight": true,
"canApprove": false,
"canStart": false,
"updatedAt": "2026-12-01T09:12:44.1234567+00:00",
...
} PUT /api/MailingCampaigns/118
Authorization: Bearer <token>
Content-Type: application/json
{
"name": "December product update",
"mailingListID": 42,
"channelID": 7,
"purpose": "ProductUpdate",
"subject": "What's new in December",
"htmlBody": "<p>Hello {{first_name|there}},</p><p>...</p><p><a href=\"{{unsubscribe_url}}\">Unsubscribe</a></p>",
"textBody": "",
"defaultLanguage": "en",
"variants": [ { "language": "nl", "subject": "Nieuw in december", "htmlBody": "<p>Hallo {{first_name|daar}},</p>" } ],
"trackLinks": true,
"updatedAt": "2026-12-01T09:12:44.1234567+00:00"
}
200 OK (the campaign) GET /api/MailingCampaigns/118/preview?sample=Example&language=nl
Authorization: Bearer <token>
200 OK
{
"subject": "Nieuw in december",
"fromAddress": "support@example.com",
"channelName": "Support mailbox",
"htmlBody": "<p>Hallo Alex,</p>...",
"textBody": "Hallo Alex, ...",
"unsubscribeFooterAppended": false,
"usesPersonalization": true,
"sampleKind": "Example",
"sampleLabel": "Alex Johnson, Example Ltd",
"language": "nl",
"isDefaultContent": false,
"sampleLanguage": null
} sample: Example (default, a made-up contact), Empty (no personal data, so fallbacks show) or Member with mailingListMemberId (a member of the campaign’s list). language: Default or a language that has a variant. The unsubscribe link points to a placeholder in the preview.language, subject, htmlBody and textBody. Save the result yourself with PUT. The campaign must be editable, the variant saved, and the account needs an OpenAI key. One translation per campaign and language per 10 seconds; refusals and a failed translation answer 400 with an error message.addresses (at most 5 different addresses; empty: your own address), nameSource (Stored, Example or None: where the personal data comes from) and language. The subject starts with [TEST], the mail shows a test banner and its unsubscribe link does nothing. Opted-out addresses are skipped. One test per campaign per 30 seconds. The answer lists per address its outcome (Accepted, Rejected, Uncertain, NotStarted, OptedOut or Invalid) and gives acceptedCount.DraftPreflightedApprovedScheduledscheduledAt; start with a new time moves it, unschedule returns it to Approved. A start that is refused at the moment itself, or missed by more than 24 hours, also returns it to Approved.Queued, SendingPausedCompletedCancelledFailedPOST .../preflight takes no body. It resolves the list (members, rule and exceptions), checks every address against the mailing preferences and the purpose, creates the unsubscribe links and replaces any earlier preflight. It needs a subject and content, an active list and channel, and at most 2,000 contacts on the list. The campaign becomes Preflighted.
Marketing campaign is only sent to addresses with an opt-in (OptedIn); a ProductUpdate campaign goes to every address without an opt-out.mailingCampaignRecipientID, normalizedEmail, displayName, company, personName, language, variant, primaryContactType (EndUser or CustomerRep), eligibilityStatus (Eligible or Excluded), exclusionReason, deliveryStatus, the last reply or bounce (lastInboundKind: Reply, Autoresponder or Bounce), attemptCount, updatedAt and sources (the list members behind the address).exclusionReasonNoUsableEmail, EmailChoiceRequired, CustomerRepInactive, OptedOut, NotOptedIn, Bounced or ExcludedFromList.deliveryStatusExcluded, Pending, Claimed, Accepted (accepted by the mail provider), RetryableFailure, PermanentFailure, SendUncertain, Suppressed (opted out after the preflight) or Cancelled.campaign-{id}-preflight.csv, UTF-8 with BOM, columns email, display_name, company, language, primary_contact_type, origin, eligibility, exclusion_reason, delivery_status, last_inbound, source_count, sources.communicationBasis (required): Consent, Contract, LegitimateInterest or LegalObligation; a Marketing campaign needs Consent. motivation (optional, max 1,000): your note. updatedAt (required). The preflight must be current and have at least one recipient waiting.updatedAt and, to schedule, scheduledAt: at least 5 minutes and at most 30 days ahead. Without scheduledAt the campaign is queued at once. A campaign can have at most 200 recipients waiting; more gives 400.updatedAt.updatedAt and an optional reason (max 400). A draft cannot be cancelled; delete it instead.SendUncertain: decision (ConfirmedSent or ConfirmedNotSent), motivation (required, max 880) and the recipient’s updatedAt. ConfirmedSent marks the mail as accepted; ConfirmedNotSent puts the recipient back in line (at most 3 attempts in total), also on a completed or failed campaign, which then sends again.Each of these answers 200 with the campaign. A request that does not fit the status, or carries an old updatedAt, answers 409 with { "error": "...", "current": { ...campaign... } }.
POST /api/MailingCampaigns/118/preflight
Authorization: Bearer <token>
200 OK
{
"mailingCampaignID": 118,
"status": "Preflighted",
"audience": {
"preflightedAt": "2026-12-01T09:30:02+00:00",
"isCurrent": true,
"counts": { "total": 150, "eligible": 142, "excluded": 8, "optedOut": 5, "noUsableEmail": 3, "pending": 142, ... },
"languages": [ { "language": "en", "variant": null, "count": 97 }, { "language": "nl", "variant": "nl", "count": 45 } ]
},
"canApprove": true,
"updatedAt": "2026-12-01T09:30:02.5550000+00:00",
...
} POST /api/MailingCampaigns/118/approve
Authorization: Bearer <token>
Content-Type: application/json
{
"communicationBasis": "LegitimateInterest",
"motivation": "Existing customers, product information",
"updatedAt": "2026-12-01T09:30:02.5550000+00:00"
}
200 OK (the campaign, status "Approved", with "approval") POST /api/MailingCampaigns/118/start
Authorization: Bearer <token>
Content-Type: application/json
{
"updatedAt": "2026-12-01T09:31:10.0000000+00:00",
"scheduledAt": "2026-12-02T08:00:00+01:00"
}
200 OK (the campaign, status "Scheduled") 409 Conflict
{
"error": "The campaign was changed by someone else. Reload and try again.",
"current": { "mailingCampaignID": 118, "status": "Approved", "updatedAt": "2026-12-01T09:35:40.1000000+00:00", ... }
} POST /api/MailingCampaigns/118/test
Authorization: Bearer <token>
Content-Type: application/json
{
"addresses": ["reviewer@example.com"],
"nameSource": "Example",
"language": "nl"
}
200 OK
{
"results": [
{ "address": "reviewer@example.com", "outcome": "Accepted", "error": null, "providerMessageId": "<id@example.com>", "nameUsed": "Alex Johnson", "languageUsed": "nl" }
],
"acceptedCount": 1
} mailingCampaignID, name, subject, status, purpose, mailingListName, channelName, fromAddress, communicationBasis, stopReasoncreatedAt, updatedAt, preflightedAt, approvedAt, startedAt, completedAtcountsaccepted means accepted by the mail provider, not read. Clicks count likely-human clicks on tracked links; clickRate is clicked divided by the tracked sends.variantslinksdestinationUrl, clicks, uniqueClickers.events, revisionsMatchPreflight, defaultLanguagerecipientsPrunedAtPer recipient: normalizedEmail, displayName, company, primaryContactType, origin, eligibilityStatus, exclusionReason, deliveryStatus, attemptCount, lastAttemptAt, lastAttemptOutcome, lastErrorCategory, the last reply or bounce, unsubscribedAt, clickCount, lastClickAt, createdAt and updatedAt. The filter deliveryStatus takes one of the delivery states exactly; another value gives 400. The CSV export (campaign-{id}-report.csv, UTF-8 with BOM) has the same columns in snake case. It is streamed: check that the download completed.
GET /api/MailingCampaigns/118/report
Authorization: Bearer <token>
200 OK
{
"mailingCampaignID": 118,
"name": "December product update",
"status": "Completed",
"purpose": "ProductUpdate",
"communicationBasis": "LegitimateInterest",
"startedAt": "2026-12-02T07:00:03+00:00",
"completedAt": "2026-12-02T07:04:41+00:00",
"counts": { "total": 150, "eligible": 142, "accepted": 140, "permanentFailure": 2, "unsubscribed": 3, "clicked": 37, "clicks": 52, "clickRate": 0.2643, ... },
"variants": [ { "language": "en", "recipients": 97, "accepted": 96, ... }, { "language": "nl", "recipients": 45, "accepted": 44, ... } ],
"links": [ { "destinationUrl": "https://www.example.com/news", "clicks": 41, "uniqueClickers": 30 } ],
"recipientsPrunedAt": null,
...
} GET /api/MailingCampaigns/118/report/recipients?deliveryStatus=PermanentFailure&pageSize=50
Authorization: Bearer <token>
200 OK
{
"items": [
{ "mailingCampaignRecipientID": 90211, "normalizedEmail": "old.address@example.com", "deliveryStatus": "PermanentFailure", "attemptCount": 1, "lastAttemptOutcome": "PermanentFailure", "lastErrorCategory": "Rejected", "clickCount": 0, ... }
],
"totalCount": 2,
"totalPages": 1
} name (string, required, max 200), description (string, max 1,000)statusActive or Archived, on PUT with updatedAt. An archived list is hidden from pickers and campaigns and takes no rule, exception or import.mailingListID, memberCount (members you added), createdAt, updatedAt and the representatives; the detail adds counts (totalMembers, eligibleRecipients, duplicates, noUsableEmail, emailChoiceRequired, customerRepInactive, optedOut, ruleContacts, excludedByException, ruleOverCap), rule, ruleUpdatedAt, exclusions, the last 10 imports and scheduledCampaigns.{ "endUserIDs": [...] } or { "customerRepIDs": [...] }, 1 to 500 IDs. Representatives must be active. The answer gives added, alreadyMembers, notFound and addedMailingListMemberIDs.mailingListMemberID, contactType (EndUser or CustomerRep), endUserID or customerRepID, displayName, company, emailAddress, availableEmails and preferredEndUserUIDID, matchesRule, othersOnAddress, eligibility and duplicateOfMailingListMemberID.eligibilityEligible, NoUsableEmail, EmailChoiceRequired (the end user has several addresses and none is primary), CustomerRepInactive, Duplicate, OptedOut, NotOptedIn or ExcludedFromList.PUT .../members/{memberId}/email with { "endUserUIDID": 20411 }: one of the end user’s e-mail identifiers; null goes back to the default (the primary address).{ "endUserID": 5012 } or { "customerRepID": 15 }, exactly one. The contact stays out of every campaign of this list, also when a rule matches.A rule adds every end user of the account that matches all its conditions. It never adds representatives. Body of PUT .../rule and POST .../rule/preview: conditions (1 to 10), and on PUT optionally checkRuleStamp with expectedRuleUpdatedAt (null: no rule yet) to refuse the change with 409 and code RuleChanged when someone else changed the rule. DELETE .../rule takes the same two values in the query.
fieldLanguage, CustomerType (Lead, Customer or Partner), Company, Country, City, PostalCode, CustomerRef, or CustomFields.<FieldName> for an end-user custom field.operatorIsOneOf, IsNotOneOf, Contains, StartsWith, IsEmpty, IsNotEmpty, IsAtLeast, IsAtMost. Language and CustomerType take only IsOneOf and IsNotOneOf; IsAtLeast and IsAtMost only fit number and date fields, with one value.valuesyyyy-MM-dd; none for IsEmpty and IsNotEmpty. Text comparisons ignore case.matches, withEmail, alreadyMembers, excluded, totalContacts and maxMembers.Send multipart/form-data with file (the CSV) and optionally emailColumn, firstNameColumn, lastNameColumn, companyColumn, languageColumn (header names), addExisting (default true: add end users that already exist) and updateExisting (default false: overwrite their name, company and language with the non-empty values of the file).
email, e-mailadres, voornaam, company, taal). When no e-mail column is found, the preview returns the headers so you can choose one.New, Existing, AlreadyMember, ExistingSkipped, Invalid, Duplicate or OverCapacity. A new address becomes a new end user. Opted-out addresses are imported but left out by the preflight.headers, the mapping used, counts and the rows. The import analyses the file again, adds the contacts in one go and returns mailingListImportID, counts, existingUpdated, skippedRows and the list. One import per account runs at a time; a second one answers 409.POST /api/MailingLists
Authorization: Bearer <token>
Content-Type: application/json
{
"name": "Customers BE",
"description": "Active Belgian customers"
}
201 Created
{
"mailingListID": 42,
"name": "Customers BE",
"description": "Active Belgian customers",
"status": "Active",
"memberCount": 0,
"counts": { "totalMembers": 0, "eligibleRecipients": 0, "ruleContacts": 0, "ruleOverCap": false, ... },
"rule": null,
"exclusions": [],
"imports": [],
"scheduledCampaigns": 0,
"updatedAt": "2026-12-01T08:00:00.0000000+00:00",
...
} POST /api/MailingLists/42/members/end-users
Authorization: Bearer <token>
Content-Type: application/json
{
"endUserIDs": [5012, 5013, 999999]
}
200 OK
{
"added": 2,
"alreadyMembers": 0,
"notFound": 1,
"addedMailingListMemberIDs": [871, 872]
} PUT /api/MailingLists/42/rule
Authorization: Bearer <token>
Content-Type: application/json
{
"conditions": [
{ "field": "Country", "operator": "IsOneOf", "values": ["BE"] },
{ "field": "CustomerType", "operator": "IsOneOf", "values": ["Customer"] }
],
"checkRuleStamp": true,
"expectedRuleUpdatedAt": null
}
200 OK (the list, with "rule" and "ruleUpdatedAt") POST /api/MailingLists/42/import/preview
Authorization: Bearer <token>
Content-Type: multipart/form-data; boundary=----b
------b
Content-Disposition: form-data; name="file"; filename="contacts.csv"
Content-Type: text/csv
email;first name;last name;company
jamie@example.com;Jamie;Peeters;Example BV
------b--
200 OK
{
"fileName": "contacts.csv",
"separator": ";",
"headers": ["email", "first name", "last name", "company"],
"mapping": { "emailColumn": "email", "firstNameColumn": "first name", "lastNameColumn": "last name", "companyColumn": "company", "languageColumn": null, "addExisting": true, "updateExisting": false },
"counts": { "rows": 1, "new": 1, "existing": 0, "invalid": 0, "duplicates": 0, "toImport": 1, ... },
"rows": [ { "row": 2, "email": "jamie@example.com", "firstName": "Jamie", "lastName": "Peeters", "company": "Example BV", "outcome": "New", ... } ],
"maxMembers": 2000,
"currentMembers": 2
} name (string, required, max 200)subject (max 500), htmlBody, textBody (each at most 524,288 characters)defaultLanguage (max 20) and variants (at most 10, each with language, subject, htmlBody, textBody)updatedAtPUT. On DELETE it is an optional query value; with it, a changed template is not deleted (409).The content rules of campaigns apply. A PUT replaces the whole template: fields you leave out are cleared. The response adds mailingTemplateID, variantLanguages, createdAt, updatedAt and the representatives.
POST /api/MailingTemplates
Authorization: Bearer <token>
Content-Type: application/json
{
"name": "Monthly update",
"subject": "News from {{company|us}}",
"htmlBody": "<p>Hello {{first_name|there}},</p><p><a href=\"{{unsubscribe_url}}\">Unsubscribe</a></p>",
"textBody": "",
"defaultLanguage": "en",
"variants": [ { "language": "nl-BE", "subject": "Nieuws", "htmlBody": "<p>Hallo {{first_name|daar}},</p>" } ]
} 201 Created
Location: /api/MailingTemplates/3
{
"mailingTemplateID": 3,
"name": "Monthly update",
"subject": "News from {{company|us}}",
"defaultLanguage": "en",
"variantLanguages": ["nl"],
"htmlBody": "<p>Hello {{first_name|there}},</p>...",
"textBody": "",
"variants": [ { "language": "nl", "subject": "Nieuws", "htmlBody": "<p>Hallo {{first_name|daar}},</p>", "textBody": "" } ],
"createdByCustomerRepID": 15,
"createdAt": "2026-12-01T08:10:00.0000000+00:00",
"updatedByCustomerRepID": 15,
"updatedAt": "2026-12-01T08:10:00.0000000+00:00"
} normalizedEmail, status (OptedIn or OptedOut; an address without a record is Unknown)sourcePublicUnsubscribe (the unsubscribe link), Admin (set through the API or the app), Import or ProviderBounce.capturedAt, revokedAt, auditReference (the reason), updatedByCustomerRepID, updatedAtA preference holds for the whole account and every campaign. The newest decision counts; an older decision never replaces a newer one.
email (string, required, max 320)status (required)OptedIn or OptedOut.reason (string, required, max 200)An opt-out also stops waiting mails to that address in running campaigns. The lookup returns { "preferences": { "<address>": { ... } } }; addresses without a record are left out, invalid addresses are ignored.
https://api.answerpal.eu/api/mailings/unsubscribe/{token}; {{unsubscribe_url}} in the content becomes this link. Mails sent through an SMTP channel also carry the one-click unsubscribe headers that mail clients show as an Unsubscribe button.GET page only asks for confirmation. The POST records an opt-out for the address of the link (source PublicUnsubscribe) and stops waiting mails to it. The answer is the same confirmation page for every token, also an unknown or already used one.POST .../address, field email); a one-click request on it answers 410.429 with Retry-After. One link can unsubscribe at most 10 times per 15 minutes.POST /api/EmailMailingPreferences/set
Authorization: Bearer <token>
Content-Type: application/json
{
"email": "Jamie@Example.com",
"status": "OptedOut",
"reason": "Asked by phone on 1 December"
}
200 OK
{
"emailMailingPreferenceID": 7781,
"normalizedEmail": "jamie@example.com",
"status": "OptedOut",
"source": "Admin",
"capturedAt": "2026-12-01T10:02:11+00:00",
"revokedAt": "2026-12-01T10:02:11+00:00",
"auditReference": "Asked by phone on 1 December",
"updatedByCustomerRepID": 15,
"updatedAt": "2026-12-01T10:02:11+00:00"
} GET /api/EmailMailingPreferences/lookup?email=jamie%40example.com&email=sam%40example.com
Authorization: Bearer <token>
200 OK
{
"preferences": {
"jamie@example.com": { "status": "OptedOut", "source": "Admin", ... }
}
} POST /api/mailings/unsubscribe/q3Vb2kR8x0Lm9TnP4sYw7cHd1JfGa6EeZu5Oi_-KXyQ
Content-Type: application/x-www-form-urlencoded
List-Unsubscribe=One-Click
200 OK
Content-Type: text/html; charset=utf-8
<html> ... Unsubscribed ... </html> Mailings must be included in the account’s subscription. Lists, templates, campaigns and preferences are for a Configurator or Administrator; approving, starting, scheduling, pausing, resuming, cancelling and reconciling are for an Administrator; the report list and a campaign’s report can also be read by a Supervisor or Analyst. The unsubscribe link needs no token. The access line of each endpoint above is the reference.
200 OK, 201 Created, 204 No Content400 Bad Requesterrors per field), or a refusal as { "error": "..." }: an unknown variable, an inactive list or channel, a full list, a schedule outside the window, more than 200 recipients, a CSV problem. A test mail or translation asked too soon also answers 400.401 Unauthorized, 403 Forbidden{ "error": "Feature 'Mailings' is not available for the current subscription plan." }).404 Not Found409 ConflictupdatedAt is old, the list is archived or in use, or another import runs. Campaigns, lists and preferences add the current version (current), templates add template.410 Gone, 429 Too Many Requests500 Internal Server ErrortraceId.A Marketing campaign only goes to addresses with an opt-in. Record the opt-in with POST /api/EmailMailingPreferences/set (OptedIn and a reason) and run the preflight again. A ProductUpdate campaign goes to every address without an opt-out.
The approval no longer matches the recipients: audience.isCurrent becomes false and start answers 409. Run the preflight again and approve the campaign again.
A campaign starts with at most 200 recipients waiting. Split the audience over several lists and campaigns.
The mail provider did not confirm whether the mail was accepted. AnswerPal does not retry it by itself, to avoid a double mail. Check the sent items of the mailbox and settle it with POST /api/MailingCampaigns/{id}/recipients/{recipientId}/reconcile.
AnswerPal: AI-powered customer service solutions to elevate your support and communication effortlessly.
For all support, sales, and partnership inquiries, email us at info@answerpal.eu
AnswerPal
Bisschoppenhoflaan 380
2100 Antwerp
Belgium
+32.36416685
BE 0862.692.858