WarmySender Suppressions API
The Suppressions API from WarmySender, for suppressions.
The Suppressions API from WarmySender, for suppressions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/warmysender-com:warmysender-com-suppressions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: WarmySender Public Suppressions API
version: 1.0.0
description: 'The WarmySender Public REST API for Cold Email, Email Warmup, LinkedIn, Instagram and multichannel campaigns.
**Authentication.** Every request (except `GET /me` and this spec) requires a Bearer API key in the `Authorization` header: `Authorization: Bearer ws_...`. Create keys in your workspace settings and grant each key only the scopes it needs.
**Response envelope.** Successful responses wrap their payload in a `data` field. List endpoints add a `pagination` object (`{ has_more, next_cursor }`) for cursor-based paging, and most responses include a `meta.request_id`. Errors return `{ error: { code, message, ... } }` with the matching HTTP status. (`GET /me` is the one endpoint not wrapped in `data`.)
**Rate limit.** 60–480 requests per minute, per workspace, depending on your plan (Pro 60 · Enterprise 240 · Ultimate 480). The limit is per WORKSPACE, not per API key — minting more keys does not raise it. Connection-test endpoints have an additional, stricter limit. When throttled you receive `429` with a `Retry-After` header.
**Idempotency.** Write endpoints that create or mutate resources accept (and some require) a unique `Idempotency-Key` header so retries never duplicate work. Reusing a key returns the original result; reusing it with a different body returns `409`.
**Webhooks.** WarmySender also delivers outbound webhooks (reply received, bounce, open, click, LinkedIn invite accepted, and more). Register endpoints with the Webhooks API; the available event types and their payloads are listed under the `x-webhook-events` extension of this document.'
contact:
name: WarmySender Support
url: https://warmysender.com/support
servers:
- url: https://warmysender.com/api/v1
security:
- bearerAuth: []
tags:
- name: Suppressions
paths:
/prospects/suppress:
post:
operationId: suppressions-suppress
summary: Suppress prospects by email
description: 'Adds emails to your suppression list so those people are never contacted by any campaign. Existing prospects are marked suppressed.
Required scope: `suppressions:write`.
Requires a unique `Idempotency-Key` request header so retries never duplicate.'
tags:
- Suppressions
parameters:
- name: Idempotency-Key
in: header
required: true
description: A unique key (e.g. a UUID) that makes this write safe to retry. Reusing a key returns the original result; reusing it with a different body returns 409.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
emails:
type: array
items:
type: string
minItems: 1
maxItems: 1000
description: Emails to suppress (1–1000).
reason:
type: string
description: Optional reason stored with each entry.
required:
- emails
example:
emails:
- jane@acme.com
- optout@example.com
reason: manual opt-out
responses:
'200':
description: Success
content:
application/json:
example:
data:
suppressedCount: 2
alreadySuppressedCount: 0
notFoundCount: 0
totalProcessed: 2
'400':
description: '`validation_error` — Body failed validation.'
content:
application/json:
example:
error:
code: validation_error
message: Body failed validation.
'401':
description: '`unauthorized` — Missing or invalid API key.'
content:
application/json:
example:
error:
code: unauthorized
message: Missing or invalid API key.
'403':
description: '`insufficient_scope` — The API key lacks the scope this endpoint requires.'
content:
application/json:
example:
error:
code: insufficient_scope
message: The API key lacks the scope this endpoint requires.
'429':
description: '`rate_limited` — Too many requests — slow down and retry after the Retry-After delay.'
content:
application/json:
example:
error:
code: rate_limited
message: Too many requests — slow down and retry after the Retry-After delay.
/prospects/status:
post:
operationId: prospects-set-status
summary: Change contacts' status
description: 'Sets the status of up to 1,000 contacts (for example dnc or active). A contact who unsubscribed or whose address bounced is never set back to a status that can be emailed: it is counted in refused, listed in refused_ids and explained in message.
Required scope: `prospects:write`.
Requires a unique `Idempotency-Key` request header so retries never duplicate.'
tags:
- Suppressions
parameters:
- name: Idempotency-Key
in: header
required: true
description: A unique key (e.g. a UUID) that makes this write safe to retry. Reusing a key returns the original result; reusing it with a different body returns 409.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
prospect_ids:
type: array
items:
type: string
minItems: 1
maxItems: 1000
description: Contact ids to change (1–1000).
status:
type: string
enum:
- active
- bounced
- invalid
- unsubscribed
- dnc
- suppressed
- risky
description: New status.
required:
- prospect_ids
- status
example:
prospect_ids:
- pros_1a2b3c
- pros_4d5e6f
status: active
responses:
'200':
description: Success
content:
application/json:
example:
data:
status: active
requested: 2
updated: 1
not_found: 0
refused:
unsubscribed: 1
bounced: 0
refused_ids:
- pros_4d5e6f
message: 1 contact has unsubscribed, so it stays stopped — we never email someone again after they opt out or their address fails. To reach a bounced contact, add them again with a working address.
'400':
description: '`validation_error` — Body failed validation (unknown status, empty or oversized list).'
content:
application/json:
example:
error:
code: validation_error
message: Body failed validation (unknown status, empty or oversized list).
'401':
description: '`unauthorized` — Missing or invalid API key.'
content:
application/json:
example:
error:
code: unauthorized
message: Missing or invalid API key.
'403':
description: '`insufficient_scope` — The API key lacks the scope this endpoint requires.'
content:
application/json:
example:
error:
code: insufficient_scope
message: The API key lacks the scope this endpoint requires.
'429':
description: '`rate_limited` — Too many requests — slow down and retry after the Retry-After delay.'
content:
application/json:
example:
error:
code: rate_limited
message: Too many requests — slow down and retry after the Retry-After delay.
/suppressions:
get:
operationId: suppressions-list
summary: List suppression entries
description: 'Returns suppressed emails and domains (the blocklist) with cursor pagination.
Required scope: `suppressions:read`.
Returns a cursor-paginated list — pass `cursor` from the previous page to continue.'
tags:
- Suppressions
parameters:
- name: limit
in: query
required: false
description: Results per page (1–100).
schema:
type: integer
default: 50
minimum: 1
maximum: 100
- name: cursor
in: query
required: false
description: next_cursor from the previous page.
schema:
type: string
- name: type
in: query
required: false
description: Filter by entry type.
schema:
type: string
enum:
- email
- domain
responses:
'200':
description: Success
content:
application/json:
example:
data:
- id: sup_1a2b3c
type: email
value: optout@example.com
source: api
reason: manual opt-out
createdAt: '2026-06-10T12:00:00.000Z'
pagination:
has_more: false
next_cursor: null
meta:
request_id: req_mq28denhy91fh6
'401':
description: '`unauthorized` — Missing or invalid API key.'
content:
application/json:
example:
error:
code: unauthorized
message: Missing or invalid API key.
'403':
description: '`insufficient_scope` — The API key lacks the scope this endpoint requires.'
content:
application/json:
example:
error:
code: insufficient_scope
message: The API key lacks the scope this endpoint requires.
'429':
description: '`rate_limited` — Too many requests — slow down and retry after the Retry-After delay.'
content:
application/json:
example:
error:
code: rate_limited
message: Too many requests — slow down and retry after the Retry-After delay.
/agency/do-not-contact:
get:
operationId: agency-dnc-list
summary: List the shared do-not-contact list
description: 'Addresses and domains the account asked every workspace to skip, and whether that list is switched on. Included in the Agency plan. Sending still uses the same check as the rest of your campaigns.
Required scope: `suppressions:read`.'
tags:
- Suppressions
responses:
'200':
description: Success
content:
application/json:
example:
data:
enabled: false
entries:
- id: dnc_1
type: email
value: optout@example.com
reason: null
createdAt: '2026-11-16T00:00:00.000Z'
meta:
request_id: req_mq28denhy91fh6
'401':
description: '`unauthorized` — Missing or invalid API key.'
content:
application/json:
example:
error:
code: unauthorized
message: Missing or invalid API key.
'403':
description: '`insufficient_scope` — The API key lacks the scope this endpoint requires.'
content:
application/json:
example:
error:
code: insufficient_scope
message: The API key lacks the scope this endpoint requires.
'429':
description: '`rate_limited` — Too many requests — slow down and retry after the Retry-After delay.'
content:
application/json:
example:
error:
code: rate_limited
message: Too many requests — slow down and retry after the Retry-After delay.
post:
operationId: agency-dnc-add
summary: Add to the shared do-not-contact list
description: 'Add email addresses or domains to the account list. Included in the Agency plan. Adding an entry does not send mail and does not change a limit. The list applies to every workspace only when it is switched on.
Required scope: `suppressions:write`.
Requires a unique `Idempotency-Key` request header so retries never duplicate.'
tags:
- Suppressions
parameters:
- name: Idempotency-Key
in: header
required: true
description: A unique key (e.g. a UUID) that makes this write safe to retry. Reusing a key returns the original result; reusing it with a different body returns 409.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
emails:
type: array
items:
type: string
description: Addresses to add.
domains:
type: array
items:
type: string
description: Domains to add, such as example.com.
reason:
type: string
description: Optional note stored with the new entries.
example:
emails:
- optout@example.com
domains:
- example.com
responses:
'200':
description: Success
content:
application/json:
example:
data:
added: 2
removed: 0
skipped: 0
rejected: []
meta:
request_id: req_mq28denhy91fh6
idempotency_key: 550e8400-e29b-41d4-a716-446655440000
'401':
description: '`unauthorized` — Missing or invalid API key.'
content:
application/json:
example:
error:
code: unauthorized
message: Missing or invalid API key.
'403':
description: '`agency_plan_required` — Not available on this account.; `insufficient_scope` — The API key lacks the scope this endpoint requires.'
content:
application/json:
example:
error:
code: agency_plan_required
message: Not available on this account.
'429':
description: '`rate_limited` — Too many requests — slow down and retry after the Retry-After delay.'
content:
application/json:
example:
error:
code: rate_limited
message: Too many requests — slow down and retry after the Retry-After delay.
/agency/do-not-contact/remove:
post:
operationId: agency-dnc-remove
summary: Remove from the shared do-not-contact list
description: 'Remove addresses, domains, or entry ids from the account list. Included in the Agency plan.
Required scope: `suppressions:write`.
Requires a unique `Idempotency-Key` request header so retries never duplicate.'
tags:
- Suppressions
parameters:
- name: Idempotency-Key
in: header
required: true
description: A unique key (e.g. a UUID) that makes this write safe to retry. Reusing a key returns the original result; reusing it with a different body returns 409.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
emails:
type: array
items:
type: string
description: Addresses to remove.
domains:
type: array
items:
type: string
description: Domains to remove.
ids:
type: array
items:
type: string
description: Entry ids to remove.
example:
emails:
- optout@example.com
responses:
'200':
description: Success
content:
application/json:
example:
data:
added: 0
removed: 1
skipped: 0
rejected: []
meta:
request_id: req_mq28denhy91fh6
idempotency_key: 550e8400-e29b-41d4-a716-446655440000
'401':
description: '`unauthorized` — Missing or invalid API key.'
content:
application/json:
example:
error:
code: unauthorized
message: Missing or invalid API key.
'403':
description: '`insufficient_scope` — The API key lacks the scope this endpoint requires.'
content:
application/json:
example:
error:
code: insufficient_scope
message: The API key lacks the scope this endpoint requires.
'429':
description: '`rate_limited` — Too many requests — slow down and retry after the Retry-After delay.'
content:
application/json:
example:
error:
code: rate_limited
message: Too many requests — slow down and retry after the Retry-After delay.
/agency/do-not-contact/enabled:
put:
operationId: agency-dnc-enabled
summary: Switch the shared do-not-contact list on or off
description: 'On applies the account list in every workspace, through the same suppression check campaigns already use. Off keeps the entries and stops applying them. Included in the Agency plan.
Required scope: `suppressions:write`.'
tags:
- Suppressions
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
enabled:
type: boolean
description: True applies the list. False keeps it but does not apply it.
required:
- enabled
example:
enabled: true
responses:
'200':
description: Success
content:
application/json:
example:
data:
enabled: true
meta:
request_id: req_mq28denhy91fh6
'401':
description: '`unauthorized` — Missing or invalid API key.'
content:
application/json:
example:
error:
code: unauthorized
message: Missing or invalid API key.
'403':
description: '`agency_plan_required` — Not available on this account.; `insufficient_scope` — The API key lacks the scope this endpoint requires.'
content:
application/json:
example:
error:
code: agency_plan_required
message: Not available on this account.
'429':
description: '`rate_limited` — Too many requests — slow down and retry after the Retry-After delay.'
content:
application/json:
example:
error:
code: rate_limited
message: Too many requests — slow down and retry after the Retry-After delay.
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: API Key (ws_...)
x-webhook-events:
- type: reply.received
description: A prospect replied (email or LinkedIn). messageId is the Message-ID of the reply itself. For email, inReplyToMessageId is the messageId of the email it answered (the same value as in email.sent and GET /emails/sent), plus the stepIndex and stepNumber of that email; these three fields are left out when the reply does not name one of your emails. For email, bodyText is the full reply as it arrived (up to 4,000 characters, with bodyTruncated telling you when it was cut) and fromEmail is the address it came from. When known, an email reply also includes toEmail (the mailbox it arrived at), campaignName, prospectName, prospectCompany, and bodyTextStripped (only the words the person typed, without the quoted earlier email; empty when the reply is only that quote). Each of those is left out when unknown. GET /replies returns the same record for backfilling.
payloadExample:
prospectId: f3c4a2d1-...
prospectEmail: jane@acme.com
campaignId: c1a2b3c4-...
campaignName: Q3 founders outreach
mailboxId: 5bd50e20-...
subject: 'Re: Quick question, Jane'
messageId: <CAJx9f2k7Qp@mail.acme.com>
receivedAt: '2026-06-10T11:00:00.000Z'
channel: email
inReplyToMessageId: <a1b2c3d4-5e6f-7a8b@yourdomain.com>
stepIndex: 1
stepNumber: 2
fromEmail: jane@acme.com
toEmail: alex@yourdomain.com
prospectName: Jane Cooper
prospectCompany: Acme
bodyText: Hi Alex, yes, send me the details on Thursday.
bodyTruncated: false
bodyTextStripped: Hi Alex, yes, send me the details on Thursday.
- type: email.sent
description: 'A campaign email was accepted by your sending mailbox server. This is not yet a delivery confirmation: problems found later arrive as email.bounced. Warmup emails and test sends are not included. Same fields as GET /emails/sent.'
payloadExample:
prospectId: f3c4a2d1-...
prospectEmail: jane@acme.com
campaignId: c1a2b3c4-...
campaignName: Q3 founders outreach
stepIndex: 1
stepNumber: 2
mailboxId: 5bd50e20-...
fromEmail: alex@yourdomain.com
subject: Quick question, Jane
messageId: <a1b2c3d4-5e6f-7a8b@yourdomain.com>
sentAt: '2026-06-10T10:42:00.000Z'
channel: email
- type: email.bounced
description: An outbound email bounced (hard or soft).
payloadExample:
prospectEmail: jane@acme.com
campaignId: c1a2b3c4-...
mailboxId: 5bd50e20-...
bounceType: hard
bounceReason: 550 user unknown
bouncedAt: '2026-06-10T11:01:00.000Z'
- type: email.unsubscribed
description: A prospect unsubscribed.
payloadExample:
prospectId: f3c4a2d1-...
prospectEmail: jane@acme.com
campaignId: c1a2b3c4-...
unsubscribedAt: '2026-06-10T11:02:00.000Z'
- type: email.opened
description: A tracked email was opened.
payloadExample:
prospectId: f3c4a2d1-...
prospectEmail: jane@acme.com
campaignId: c1a2b3c4-...
stepIndex: 0
openedAt: '2026-06-10T11:03:00.000Z'
- type: email.clicked
description: A tracked link was clicked. likelyAutomated is true when it was probably a mail security system rather than a person.
payloadExample:
prospectId: f3c4a2d1-...
prospectEmail: jane@acme.com
campaignId: c1a2b3c4-...
url: https://yourdomain.com/demo
clickedAt: '2026-06-10T11:04:00.000Z'
likelyAutomated: false
- type: prospect.suppressed
description: A prospect was added to the suppression list.
payloadExample:
prospectId: f3c4a2d1-...
email: jane@acme.com
reason: manual opt-out
suppressedAt: '2026-06-10T11:05:00.000Z'
- type: limit.hit
description: A sending limit (mailbox/domain/prospect/cooldown) was reached.
payloadExample:
limitType: daily_mailbox
mailboxId: 5bd50e20-...
currentValue: 50
limitValue: 50
hitAt: '2026-06-10T11:06:00.000Z'
- type: linkedin.invite_accepted
description: A LinkedIn connection invite was accepted. Sent once per person per campaign. lateAccept is true when the person accepted after their last step in the campaign had already run (for example on an invite-only campaign, or after the wait-for-acceptance window); lateAcceptObservedAt is when we saw it. Nothing extra is sent on LinkedIn because of this event.
payloadExample:
prospectName: Sam Rivera
prospectLinkedinUrl: https://www.linkedin.com/in/samrivera
campaignId: c1a2b3c4-...
enrollmentId: enr_...
linkedinAccountId: li_5a2b1c
acceptedAt: '2026-06-10T11:07:00.000Z'
lateAccept: false
lateAcceptObservedAt: null
- type: linkedin.reply_received
description: A LinkedIn message reply was received.
payloadExample:
prospectName: Sam Rivera
prospectLinkedinUrl: https://www.linkedin.com/in/samrivera
campaignId: c1a2b3c4-...
enrollmentId: enr_...
linkedinAccountId: li_5a2b1c
messageText: Sure, let's talk
threadId: th_...
receivedAt: '2026-06-10T11:08:00.000Z'
- type: instagram.reply_received
description: An Instagram DM reply was received.
payloadExample:
prospectName: Sam Rivera
instagramProfileUrl: https://instagram.com/samrivera
instagramUsername: samrivera
campaignId: c1a2b3c4-...
enrollmentId: enr_...
instagramAccountId: ig_5a2b1c
messageText: Sure, send it over
threadId: th_...
receivedAt: '2026-06-10T11:08:30.000Z'
- type: whatsapp.reply_received
description: A WhatsApp reply was received.
payloadExample:
prospectName: Sam Rivera
whatsappPhone: '491712345678'
campaignId: c1a2b3c4-...
enrollmentId: enr_...
whatsappAccountId: wa_5a2b1c
messageText: Yes, go ahead
chatId: ch_...
receivedAt: '2026-06-10T11:08:45.000Z'
- type: inbox.received
description: Every new message that arrived, including a later reply, an automatic reply, and a bounce of one of your contacts (with failedRecipient). kind is reply, auto_reply, or bounce. Warmup mail is not included.
payloadExample:
channel: email
kind: reply
messageId: <sample.inbox@example.invalid>
receivedAt: '2026-06-10T11:00:00.000Z'
threadId: sample-thread-id
text: Got it, let us talk next week.
textTruncated: false
- type: webhook.test
description: A manual test event sent from the test endpoint.
payloadExample:
webhookId: wh_2c1a9f
timestamp: '2026-06-10T11:09:00.000Z'
message: This is a test event from WarmySender