Senders.ai Campaigns API
The Campaigns API from Senders.ai — 3 operation(s) for campaigns.
The Campaigns API from Senders.ai — 3 operation(s) for campaigns.
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/senders-ai:senders-ai-campaigns-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: Senders REST Campaigns API
version: 1.6.0
description: 'Read your Senders lead lists, leads, campaigns, prospects, mailbox status and email replies; add leads to lists and campaigns and manage Do Not Contact; search for people and buy their contact details; get every new reply as a signed webhook. Only the prospecting endpoints spend credits, always within max_spend_credits and the account daily API spend cap. Human docs: https://senders.ai/api-docs'
contact:
email: support@senders.co
servers:
- url: https://mcp.senders.ai/api/v1
security:
- bearerAuth: []
tags:
- name: Campaigns
paths:
/campaigns:
get:
tags:
- Campaigns
operationId: listCampaigns
summary: Campaigns with stats, newest first
description: 'Scope: campaigns:read. Archived campaigns only with status=archived. Stats refresh at most once a minute.'
parameters:
- name: limit
in: query
required: false
description: Campaigns per page, 1-50
schema:
type: integer
minimum: 1
maximum: 50
default: 25
- name: cursor
in: query
required: false
description: next_cursor from the previous page; omit for the first page
schema:
type: string
- name: order
in: query
required: false
description: 'desc (default): newest first, cursor pages to older. asc: oldest first, cursor returns only newer (for syncing).'
schema:
type: string
enum:
- desc
- asc
default: desc
- name: status
in: query
required: false
description: Filter by status
schema:
type: string
enum:
- active
- paused
- completed
- archived
responses:
'200':
description: OK
headers:
X-RateLimit-Limit:
schema:
type: integer
description: Per-token requests per minute
X-RateLimit-Remaining:
schema:
type: integer
description: Requests left this minute for this token
X-RateLimit-Reset:
schema:
type: integer
description: Unix time when the minute window resets
X-RateLimit-Daily-Limit:
schema:
type: integer
description: Account requests per UTC day
X-RateLimit-Daily-Remaining:
schema:
type: integer
description: Requests left today for the account
X-Request-Id:
schema:
type: string
description: Quote this to support
content:
application/json:
schema:
type: object
required:
- data
- has_more
- next_cursor
properties:
data:
type: array
items:
$ref: '#/components/schemas/Campaign'
has_more:
type: boolean
next_cursor:
type:
- string
- 'null'
'400':
description: Invalid parameter (bad_request)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing, wrong or revoked token (unauthorized)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Missing scope (forbidden), paused account (account_inactive) or plan without the API (feature_not_enabled)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited (rate_limited, daily_limit). Wait Retry-After seconds.
headers:
Retry-After:
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/campaigns/{id}:
get:
tags:
- Campaigns
operationId: getCampaign
summary: One campaign with stats and per-step counts
description: 'Scope: campaigns:read'
parameters:
- name: id
in: path
required: true
description: Campaign id
schema:
type: integer
responses:
'200':
description: OK
headers:
X-RateLimit-Limit:
schema:
type: integer
description: Per-token requests per minute
X-RateLimit-Remaining:
schema:
type: integer
description: Requests left this minute for this token
X-RateLimit-Reset:
schema:
type: integer
description: Unix time when the minute window resets
X-RateLimit-Daily-Limit:
schema:
type: integer
description: Account requests per UTC day
X-RateLimit-Daily-Remaining:
schema:
type: integer
description: Requests left today for the account
X-Request-Id:
schema:
type: string
description: Quote this to support
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
$ref: '#/components/schemas/CampaignDetail'
'404':
description: No such campaign on this account (not_found)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing, wrong or revoked token (unauthorized)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Missing scope (forbidden), paused account (account_inactive) or plan without the API (feature_not_enabled)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limited (rate_limited, daily_limit). Wait Retry-After seconds.
headers:
Retry-After:
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/campaigns/{id}/leads:
post:
tags:
- Campaigns
operationId: enrollLeads
summary: Add up to 500 people to a campaign
description: 'Scope: leads:write. Active campaign: step 1 is scheduled immediately. People already known to the account are skipped with a reason (never moved or re-contacted). 2,000 per account per UTC day.'
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
- name: id
in: path
required: true
description: Campaign id
schema:
type: integer
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/LeadsBody'
responses:
'200':
description: OK
headers:
X-RateLimit-Limit:
schema:
type: integer
description: Per-token requests per minute
X-RateLimit-Remaining:
schema:
type: integer
description: Requests left this minute for this token
X-RateLimit-Reset:
schema:
type: integer
description: Unix time when the minute window resets
X-RateLimit-Daily-Limit:
schema:
type: integer
description: Account requests per UTC day
X-RateLimit-Daily-Remaining:
schema:
type: integer
description: Requests left today for the account
X-Request-Id:
schema:
type: string
description: Quote this to support
X-RateLimit-Write-Limit:
schema:
type: integer
description: Write requests per minute per token
X-RateLimit-Write-Remaining:
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/EnrollResult'
'400':
description: Invalid body or missing Idempotency-Key (bad_request, idempotency_key_required)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing, wrong or revoked token
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Missing write permission, inactive account, or feature not enabled
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: busy, conflict, idempotency_in_progress (retry) or a final conflict such as campaign_closed
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'413':
description: Body over 1 MB
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'415':
description: Body not JSON
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: Idempotency-Key reused for a different request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate or daily limit
headers:
Retry-After:
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Writes paused because rate limiting is unavailable; retry after Retry-After
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No such campaign on this account
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Campaign:
type: object
required:
- id
- name
- status
- type
- stats
properties:
id:
type: integer
name:
type:
- string
- 'null'
status:
type: string
enum:
- active
- paused
- completed
- archived
type:
type: string
enum:
- single_step
- multi_step
created_at:
type:
- string
- 'null'
format: date-time
description: ISO 8601, UTC
updated_at:
type:
- string
- 'null'
format: date-time
description: ISO 8601, UTC
archived_at:
type:
- string
- 'null'
format: date-time
description: ISO 8601, UTC
stats:
$ref: '#/components/schemas/CampaignStats'
LeadInput:
type: object
required: []
properties:
email:
type: string
format: email
maxLength: 253
description: Required for campaigns
first_name:
type: string
maxLength: 100
last_name:
type: string
maxLength: 100
title:
type: string
maxLength: 200
organization:
type: string
maxLength: 200
linkedin_url:
type: string
maxLength: 500
timezone:
type: string
description: IANA name, campaigns only
custom_fields:
type: object
maxProperties: 50
description: Up to 50 keys ([A-Za-z0-9_]{1,64}), scalar values, 16 KB total
additionalProperties:
type:
- string
- number
- boolean
- 'null'
additionalProperties: false
CampaignDetail:
allOf:
- $ref: '#/components/schemas/Campaign'
- type: object
properties:
steps:
type: array
items:
$ref: '#/components/schemas/CampaignStep'
LeadsBody:
type: object
required:
- leads
properties:
leads:
type: array
minItems: 1
maxItems: 500
items:
$ref: '#/components/schemas/LeadInput'
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
enum:
- bad_request
- unauthorized
- forbidden
- account_inactive
- feature_not_enabled
- not_found
- method_not_allowed
- rate_limited
- daily_limit
- busy
- payload_too_large
- unsupported_media_type
- service_unavailable
- idempotency_key_required
- idempotency_key_reused
- idempotency_in_progress
- internal_error
- conflict
- campaign_closed
- protected_suppression
- limit_reached
- daily_enroll_limit
- max_spend_required
- spend_cap_reached
- estimate_exceeds_max_spend
- search_busy
- too_many_searches_queued
- invalid_url
- not_redeliverable
- unknown_arguments
- unsupported_filters
- invalid_filters
- unknown_industry
- invalid_page
- load_previous_page
- no_more_pages
- confirm_required
- insufficient_credits
- search_failed
- get_credits
- count_limit
message:
type: string
request_id:
type: string
CampaignStep:
type: object
properties:
step:
type: integer
delay_days:
type: integer
subject:
type:
- string
- 'null'
scheduled:
type: integer
sent:
type: integer
pending:
type: integer
skipped:
type: integer
failed:
type: integer
CampaignStats:
type: object
properties:
prospects:
type: integer
contacted:
type: integer
description: Prospects sent at least one email
sent:
type: integer
description: Emails that left; our replies not counted
delivered:
type: integer
description: sent minus bounced
bounced:
type: integer
description: Prospects whose email bounced
replied:
type: integer
description: Prospects who replied
positive_replies:
type: integer
meetings_booked:
type: integer
unsubscribed:
type: integer
opened:
type:
- integer
- 'null'
description: null = not measured
clicked:
type:
- integer
- 'null'
description: null = not measured
reply_rate:
type:
- number
- 'null'
description: replied / contacted, percent
bounce_rate:
type:
- number
- 'null'
description: bounced / sent, percent
EnrollResult:
type: object
properties:
data:
type: object
properties:
campaign_id:
type: integer
added:
type: integer
scheduled:
type: integer
skipped_count:
type: integer
skipped_reasons:
type: object
additionalProperties:
type: integer
skipped:
type: array
items:
type: object
properties:
email:
type: string
reason:
type: string
enum:
- already_in_campaign
- in_other_campaign
- previously_contacted
- previously_replied
- on_hold
- suppressed
- do_not_prospect
- personal_domain
- duplicate_in_request
note:
type: string
parameters:
IdempotencyKey:
name: Idempotency-Key
in: header
required: true
description: 8-100 characters, unique per request (e.g. a UUID). Same key + same body within 24h replays the first answer; same key + different body = 422.
schema:
type: string
minLength: 8
maxLength: 100
pattern: ^[A-Za-z0-9_\-:.]{8,100}$
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Token from Settings > API (starts with snd_live_). Header only.