DevelopersCampaigns
  1. Developers
  2. API reference

Campaigns

Your campaigns and how they’re doing, and a way to add people to them from your own systems. Campaigns are created and approved in the RevFirst app.

#The campaign object

idstring (id)required
Unique id of the campaign.
namestringrequired
Campaign name.
statusstringrequired
One of: draft, queued, ready, active, paused, completed
channelstringrequired
One of: email, linkedin, email_linkedin
playstring | null
The play (sequence template) it runs.
launched_atstring (ISO 8601) | null
created_atstring (ISO 8601)required
statsobjectrequired

draft campaigns wait for approval; people added to them are contacted once the campaign is approved. completed campaigns refuse new people.

Campaign
{
  "id": "9b1c4e2a-0f3d-4a8b-b6c5-7d2e1f0a9c33",
  "name": "Hiring SDRs",
  "status": "active",
  "channel": "email_linkedin",
  "play": "Hiring signal",
  "launched_at": "2026-11-18T04:00:00.000Z",
  "created_at": "2026-11-17T11:20:00.000Z",
  "stats": {
    "people": 184,
    "contacted": 152,
    "replied": 19,
    "interested": 6
  }
}

#List campaigns

GET /campaigns

Your campaigns, newest first (up to 200), each with its status and numbers: people, contacted, replied and interested.

Responses

  • 200Your campaigns.
  • 401Missing or wrong API key.
  • 429Over the rate limit. Wait for Retry-After seconds.
  • 500Something failed on our side. Safe to retry.
curl "https://app.revfirst.co/api/v1/campaigns" \
  -H "Authorization: Bearer $REVFIRST_API_KEY"
Response · 200
{
  "data": [
    {
      "id": "9b1c4e2a-0f3d-4a8b-b6c5-7d2e1f0a9c33",
      "name": "Hiring SDRs",
      "status": "active",
      "channel": "email_linkedin",
      "play": "Hiring signal",
      "launched_at": "2026-11-18T04:00:00.000Z",
      "created_at": "2026-11-17T11:20:00.000Z",
      "stats": {
        "people": 184,
        "contacted": 152,
        "replied": 19,
        "interested": 6
      }
    }
  ]
}

#Add a person to a campaign

POST /campaigns/{id}/people

Adds one person to a campaign. They are contacted on the campaign’s own schedule, once its play is approved. If the person is already in your workspace (matched on LinkedIn profile, then email) and in no campaign, they are moved in and created is false. People on your do-not-contact list, or already in another campaign, are refused.

Path parameters

idstring (id)required
The campaign’s id.

Body (JSON)

namestringrequired
Full name, 1 to 120 characters.
linkedin_urlstring
LinkedIn profile link (linkedin.com/in/…).
emailstring
Work email.
titlestring
Job title.
companystring
Company name.
reasonstring
Why reach out now, in plain words. Used in the outreach.
sourcestring
Where the person came from.One of: api, extension

Send linkedin_url, email, or both.

Responses

  • 200Already in your workspace with no campaign: moved into this one.
  • 201Added as a new person.
  • 400The body isn’t valid (bad_body) or the LinkedIn link isn’t a profile (bad_linkedin_url).
  • 401Missing or wrong API key.
  • 404No campaign with that id in your workspace.
  • 409Refused: campaign_finished, do_not_contact, in_another_campaign or duplicate.
  • 429Over the rate limit. Wait for Retry-After seconds.
  • 500Something failed on our side. Safe to retry.
curl -X POST "https://app.revfirst.co/api/v1/campaigns/9b1c4e2a-0f3d-4a8b-b6c5-7d2e1f0a9c33/people" \
  -H "Authorization: Bearer $REVFIRST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Jane Doe",
  "linkedin_url": "https://www.linkedin.com/in/example-jane-doe",
  "email": "jane@acme.com",
  "title": "Head of Sales",
  "company": "Acme",
  "reason": "Asked about pricing at our webinar"
}'
Response · 200
{
  "data": {
    "id": "3f2a8c1e-6b0d-4c47-9a51-2f1f0c9d7e11",
    "name": "Jane Doe",
    "title": "Head of Sales",
    "company": "Acme",
    "company_domain": "acme.com",
    "email": "jane@acme.com",
    "linkedin_url": "https://www.linkedin.com/in/example-jane-doe",
    "signal": "hiring",
    "reason": "Hiring 3 SDRs this month",
    "signal_url": "https://acme.com/careers/sdr",
    "campaign_id": "9b1c4e2a-0f3d-4a8b-b6c5-7d2e1f0a9c33",
    "status": "active",
    "found_at": "2026-11-24T09:30:00.000Z"
  },
  "created": false
}

Last updated 25 November 2026 · Questions? Write to satvik@revfirst.co