DevelopersQuickstart
  1. Developers
  2. Get started

Quickstart

Five minutes from zero to reading your leads, adding a person to a campaign and hearing about replies.

#1. Create an API key

In the RevFirst app, open Integrations → API & webhooks, name the key (for example “CRM sync”) and press Create key. Copy it straight away: it starts with rf_live_ and is shown only once. Keep it in an environment variable, never in code.

Shell
export REVFIRST_API_KEY="rf_live_…"

#2. Make your first call

List the five newest people RevFirst found for you:

curl "https://app.revfirst.co/api/v1/people?limit=5" \
  -H "Authorization: Bearer $REVFIRST_API_KEY"

Each person comes with the signal that found them and the reason to reach out now:

Response · 200
{
  "data": [
    {
      "id": "3f2a8c1e-6b0d-4c47-9a51-2f1f0c9d7e11",
      "name": "Jane Doe",
      "title": "Head of Sales",
      "company": "Acme",
      "signal": "hiring",
      "reason": "Hiring 3 SDRs this month",
      "campaign_id": "9b1c4e2a-0f3d-4a8b-b6c5-7d2e1f0a9c33",
      "status": "active",
      "found_at": "2026-11-24T09:30:00.000Z"
    }
  ],
  "next_cursor": "WyIyMDI2LTExLTI0…"
}

Pass next_cursor back as cursor to get the next page. See Pagination.

#3. Add a person to a campaign

Get a campaign id from GET /campaigns, then add someone from your own systems. RevFirst contacts them on the campaign’s schedule.

curl -X POST "https://app.revfirst.co/api/v1/campaigns/$CAMPAIGN_ID/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",
    "reason": "Asked about pricing at our webinar"
  }'

People on your do-not-contact list, or already in another campaign, are refused with 409 and a clear code. See Errors.

#4. Listen for replies

Rather than polling /replies, add a webhook: in Integrations → API & webhooks, paste your https address, tick lead.interested, and copy the signing secret. Press Send a test to see a sample event arrive. Then verify each signature before you trust it.

#Next steps

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