Beta. Two switches apply. The CRM API must be on for your organization; while it is off, these endpoints answer as an unknown route (
404). CRM cases must be on too (GET /crm/setupshows it); while they are off, these endpoints answer404 feature_off. Ask Finn support to turn them on.
Overview
A CRM case is one piece of work for a client record: a claim, an order, a matter. A record can have several cases, each with its own pipeline, stage, owner, parties, documents, forms checklist and follow-ups. The record mirrors its primary case.
These endpoints read and change cases, their parties, and the relations between records. They are the API behind the MCP server's crm_*_case tools.
CRM cases are not Finn Operator cases. Operator cases are an AI agent's runs; see Cases.
Base URL: https://api.hirefinn.ai/api/v1. See authentication and scopes.
Credential: member token only
Every endpoint here acts as one person, with that person's contact visibility. Call it with their personal MCP key (finn_mcp_...) or an AI app's OAuth access token (finn_oat_...). A case or record the person can't see answers 404, the same as one that doesn't exist.
An org API key gets 403 user_token_required. Org keys use the Records endpoints (/contacts) instead.
If the person belongs to more than one organization, send Finn-Org with the organization's ID. GET /me/organizations lists the organizations a token can act in.
Scopes
| Scope | Allows |
|---|---|
crm:read | Every read on this page. |
crm:write | Open and update cases, add, change and remove parties, link and unlink records. |
crm:stage | Move a case to another stage. |
{id} in a case path is the case's UUID or its Case ID (ref_no). Bodies and answers use snake_case.
Cases
| Method | Path | Scope | What it does |
|---|---|---|---|
GET | /crm/cases | crm:read | List CRM cases. |
POST | /crm/cases | crm:write | Open a CRM case for a record. |
GET | /crm/pipelines | crm:read | List CRM pipelines. |
GET | /crm/cases/{id} | crm:read | Get a CRM case. |
PATCH | /crm/cases/{id} | crm:write | Update a CRM case. |
POST | /crm/cases/{id}/stage_moves | crm:stage | Move a CRM case to another stage. |
GET | /crm/cases/{id}/stage_gate | crm:read | Check a CRM case's stage gate. |
GET | /crm/cases/{id}/documents | crm:read | List a CRM case's documents. |
GET | /crm/cases/{id}/forms_checklist | crm:read | Get a CRM case's forms checklist. |
GET | /crm/cases/{id}/timeline | crm:read | Get a CRM case's timeline. |
GET | /crm/cases/{id}/follow_ups | crm:read | List a CRM case's follow-ups. |
GET /crm/cases filters by state (open, won, lost), stage, owner_id (none for no owner), pipeline and record_id. Each takes a comma-separated list. It pages with limit (1 to 100, default 25) and cursor; send the same filters with the cursor. See pagination.
A stage move checks the case's stage gate: its own documents, checks and forms. Read GET /crm/cases/{id}/stage_gate first to see what is missing.
Parties
| Method | Path | Scope | What it does |
|---|---|---|---|
GET | /crm/cases/{id}/parties | crm:read | List a CRM case's parties. |
POST | /crm/cases/{id}/parties | crm:write | Add a party to a CRM case. |
PATCH | /crm/cases/{id}/parties/{party_id} | crm:write | Update a party of a CRM case. |
DELETE | /crm/cases/{id}/parties/{party_id} | crm:write | Remove a party from a CRM case. |
A party is another record on the case with a role, for example a doctor or a lawyer. Add an existing record with contact_id, or a new contact with new_contact (name, phone, email).
Record cases and relations
| Method | Path | Scope | What it does |
|---|---|---|---|
GET | /crm/records/{id}/cases | crm:read | List a record's cases. |
GET | /crm/records/{id}/relations | crm:read | List a record's relations. |
POST | /crm/records/{id}/relations | crm:write | Link a record to another. |
DELETE | /crm/records/{id}/relations/{relation_id} | crm:write | Unlink a relation. |
Writes held for approval
POST /crm/cases/{id}/stage_moves is held for the person to approve, exactly like a record's stage move (hold action contact.stage_move). It answers 202 with "status": "pending_approval" and an approval_id; poll GET /approvals/{id}. Once approved, it runs as sent. See requests held for approval.
Writes take an Idempotency-Key header. A retry with the same key returns the first answer, or the same hold.
Example: open a case for a record
curl -X POST https://api.hirefinn.ai/api/v1/crm/cases \
-H "Authorization: Bearer $FINN_MCP_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: open-case-ravi-2026-11-27" \
-d '{
"record_id": "6f1c2a0e-8d1b-4b7a-9f3e-2c4d5e6f7a8b",
"title": "Motor claim, November",
"pipeline_key": "claims",
"stage": "intake"
}'
201 Created:
{
"id": "2b7d9e4c-1a3f-4c8e-9d0b-6e5f4a3b2c1d",
"ref_no": "CB-1042",
"title": "Motor claim, November",
"case_type_key": null,
"case_type_label": null,
"pipeline": { "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d", "key": "claims", "label": "Claims" },
"stage": "intake",
"stage_label": "Intake",
"stage_kind": "open",
"substatus": null,
"state": "open",
"close_reason": null,
"owner": { "id": "4d3c2b1a-0f9e-4d8c-7b6a-5f4e3d2c1b0a", "name": "Asha Menon" },
"client": { "id": "6f1c2a0e-8d1b-4b7a-9f3e-2c4d5e6f7a8b", "ref_no": "C-2210", "name": "Ravi Rao", "phone": "+919800000001" },
"parties": [],
"custom_fields": {},
"source": "api",
"is_first": true,
"is_primary": true,
"opened_at": "2026-11-27T09:30:00.000Z",
"closed_at": null,
"stage_at": "2026-11-27T09:30:00.000Z",
"created_at": "2026-11-27T09:30:00.000Z",
"updated_at": "2026-11-27T09:30:00.000Z"
}
| Field | Type | Required | Notes |
|---|---|---|---|
record_id | string | Yes | The client record. |
title | string | No | |
case_type_key | string | No | A case type from GET /crm/setup. |
pipeline_key | string | No | From GET /crm/pipelines. |
stage | string | No | A stage key of that pipeline. |
substatus, close_reason, owner_id | string | No | |
parties | array | No | Parties to add, as in POST /crm/cases/{id}/parties. |
Rate limits
120 reads and 30 writes per minute per credential, shared with the same credential's other CRM calls. Reading one case (GET /crm/cases/{id}) also counts toward the daily limit on single-record reads (500 a day per credential). See rate limits.
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_request, validation_failed | The body or a parameter isn't valid. |
| 400 | org_conflict | The query or body names another organization than the one the request acts in. |
| 401 | api_key_required, invalid_api_key | The token is missing, unknown or revoked. |
| 403 | user_token_required | An org API key. Use a member token. |
| 403 | insufficient_scope | The token lacks the scope. |
| 403 | forbidden | The person may not see or change this. |
| 404 | not_found | No such case or record visible to this person. |
| 404 | feature_off | CRM cases are off for your organization. |
| 409 | stage_blocked | The stage gate stops the move. error.details lists what is missing. Other CRM checks keep their own code, such as case_exists. |
| 423 | ai_apps_paused | An admin paused all AI apps. Writes are refused; reads still work. |
| 429 | rate_limited | Over the limit. Wait Retry-After seconds. |