- Developers
- 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
https://app.revfirst.co/api/v1Every 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 addnext_cursor. - Errors always look the same:
{ "error": { "code", "message" } }. Branch oncode; showmessage. 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);# Every person found since 1 November, page by page.
import os, requests
session = requests.Session()
session.headers["Authorization"] = f"Bearer {os.environ['REVFIRST_API_KEY']}"
everyone, cursor = [], None
while True:
params = {"limit": 100, "since": "2026-11-01T00:00:00Z"}
if cursor:
params["cursor"] = cursor
page = session.get("https://app.revfirst.co/api/v1/people", params=params, timeout=30).json()
everyone += page["data"]
cursor = page["next_cursor"]
if not cursor:
break#Objects
| Object | What it is | Reference |
|---|---|---|
| Person | Someone RevFirst found or you added, with the signal and the reason to reach out now | People |
| Campaign | An outreach campaign, its status and its numbers | Campaigns |
| Reply | A reply from a person on email or LinkedIn, with RevFirst’s tag | Replies |
| Event | A webhook delivery: reply.received, lead.interested or meeting.booked | Webhooks |
#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.
# A typed TypeScript client, for example:
npx openapi-typescript https://www.revfirst.co/developers/openapi.json -o revfirst.d.ts#All endpoints
- GET
/peopleList people - GET
/people/{id}Retrieve a person - GET
/lookupLook up a LinkedIn profile - GET
/campaignsList campaigns - POST
/campaigns/{id}/peopleAdd a person to a campaign - GET
/repliesList replies
Example error:
{
"error": {
"code": "unauthorized",
"message": "Send your API key as: Authorization: Bearer rf_live_…"
}
}Last updated 25 November 2026 · Questions? Write to satvik@revfirst.co