DevelopersIntroduction
  1. Developers
  2. API reference

API reference

The RevFirst API is a small, predictable REST API: JSON in, JSON out, one key per workspace, and cursor pages that never skip or repeat a row.

#Base URL

Text
https://app.revfirst.co/api/v1

Every request uses HTTPS. Plain HTTP is not served.

#Requests and responses

  • Authenticate with Authorization: Bearer rf_live_…. See Authentication.
  • Send bodies as JSON with Content-Type: application/json.
  • Successful responses wrap results in data. Lists add next_cursor.
  • Errors always look the same: { "error": { "code", "message" } }. Branch on code; show message. See Errors.
  • IDs are UUIDs. Times are ISO 8601 in UTC, e.g. 2026-11-24T09:30:00.000Z.
  • Responses are never cached (Cache-Control: no-store).
  • CORS is open, but keep keys on your server: never call the API from a public web page with a real key.

#Pagination

List endpoints return up to limit items (1 to 100, default 50), newest first, plus a next_cursor. Pass it back as cursor for the next page; it’s null on the last page. Cursors are opaque and stable: new rows arriving while you page never shift what you see.

// Every person found since 1 November, page by page.
let cursor = null;
const everyone = [];
do {
  const url = new URL("https://app.revfirst.co/api/v1/people");
  url.searchParams.set("limit", "100");
  url.searchParams.set("since", "2026-11-01T00:00:00Z");
  if (cursor) url.searchParams.set("cursor", cursor);
  const res = await fetch(url, { headers: { Authorization: `Bearer ${process.env.REVFIRST_API_KEY}` } });
  const page = await res.json();
  everyone.push(...page.data);
  cursor = page.next_cursor;
} while (cursor);

#Objects

ObjectWhat it isReference
PersonSomeone RevFirst found or you added, with the signal and the reason to reach out nowPeople
CampaignAn outreach campaign, its status and its numbersCampaigns
ReplyA reply from a person on email or LinkedIn, with RevFirst’s tagReplies
EventA webhook delivery: reply.received, lead.interested or meeting.bookedWebhooks

#OpenAPI spec

The whole API, including webhooks, is described as OpenAPI 3.1 at /developers/openapi.json. Import it into Postman or Insomnia, generate a typed client, or load it into your API gateway. These docs are built from the same file.

Shell
# A typed TypeScript client, for example:
npx openapi-typescript https://www.revfirst.co/developers/openapi.json -o revfirst.d.ts

#All endpoints

Example error:

Response · 401
{
  "error": {
    "code": "unauthorized",
    "message": "Send your API key as: Authorization: Bearer rf_live_…"
  }
}

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