unLocked CRM API Documentation for Every System Your Agency Runs.
A shared API for your CRM records: one address, an API key or OAuth 2.0, signed webhook events, JSON errors, and a published OpenAPI 3.1 spec. Now also manage contacts and messages, run live quotes and underwriting, send branded quote PDFs, track opens, and share intake and booking links. These API actions power the connected AI tools.
Create a lead
curl -X POST 'https://api.unlockedcrm.ai/public-api?resource=leads' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"first_name": "Jane",
"last_name": "Doe",
"email": "jane@example.com",
"phone": "+15551234567",
"source": "Website",
"income": "85000",
"custom_fields": { "preferred_contact_time": "Evenings" }
}'Response 200 OK
{
"data": {
"id": "7f3a9c2e-…",
"first_name": "Jane",
"household_income": "85000",
"source": "Website",
"created_at": "2026-09-03T14:20:00Z"
}
}The income field was rewritten to household_income on write, and the custom field matched by name.
How Every Call Works.
One shape for every resource, so the client you write for leads works for policies and commissions.
01
One address
Every call goes to one address over HTTPS, with your API key in the x-api-key header.
https://api.unlockedcrm.ai/public-api
02
One endpoint, one parameter
GET, POST, PUT, and DELETE against /public-api, with the record type in the resource query parameter and the id for single-record calls.
?resource=leads&id=…
03
List, filter, sort, search
GET accepts limit (max 100, default 50), offset, sort as field:dir, fields, search, and status, so a sync pulls only what changed.
?resource=policies&status=active&sort=renewal_date:asc&limit=100
04
Field aliases on leads
Common names are rewritten on write: income to household_income, dob to date_of_birth, zipcode to zip_code, mobile to phone. Unknown keys match your custom fields by name.
{ "dob": "1961-04-02", "zipcode": "80202" }
The Full Reference Lives With the API.
Every endpoint, parameter and example is documented where the API is built, so it is never out of step with what the API does. Pick an area to open it there.
Contacts
Create, find and update contacts without duplicates.
Notes, tasks & records
Clients, notes, tasks, activities, documents and contact history.
Health data
A contact's drugs, pharmacies and doctors for quoting.
Policies, pipelines & tags
Policies, commissions, pipelines, opportunities and tags.
Calendar & booking
Appointments, calendars, booking links and intake links.
Messages & calls
SMS, email, scheduled messages, calls and recordings.
Quotes & underwriting
Live quotes, saved quotes and underwriting checks.
Enrollment & compliance
Enrollments, SOA forms, declinations and compliance events.
Workflows & campaigns
Workflows, enrollments into them, and AI and email campaigns.
Recruiting & hierarchy
Recruits, recruiting pipelines and your agency hierarchy.
Webhooks
Get notified when contacts and records change.
Authenticate Two Ways.
A key for your own systems, OAuth for apps that act on behalf of a user. Both are scoped to the resources and actions you allow.
API key
Created in Settings, then API Keys, and sent as the x-api-key header. A key carries the read and write permissions you give it and is limited to 100 requests per minute.
x-api-key: YOUR_API_KEY
OAuth 2.0
Authorization code flow with PKCE, for apps and AI tools that act for a user. Scopes are named read:<resource> and write:<resource>, so an app that only reports never gets write. The server publishes the full list in its OAuth metadata.
How a tool connects to an accountSigned webhooks
Verify every event before your systems act on it.
100 requests per minute
Per key, with Retry-After on the 429 so a sync backs off instead of failing.
HIPAA infrastructure
The API runs on the same HIPAA-compliant infrastructure as the CRM, with a BAA available.
Webhook Events, Signed.
Subscribe through the webhooks resource and your systems hear about the change the moment it happens, instead of polling for it. These are examples; the reference lists every event.
Leads and clients
Tasks and appointments
Policies, quotes, and commissions
Pipeline and campaigns
SMS
Every Error Is JSON, Never an HTML Page.
A code to match on, a message for a person, and the HTTP status. A 429 carries a Retry-After header with the seconds to wait.
HTTP/1.1 404 Not Found
Content-Type: application/json
{
"error": {
"code": "NOT_FOUND",
"message": "Lead not found",
"status": 404
}
}Match on the code and the status; the message may be reworded. See errors in the API reference
What Agencies Build With It.
Reporting warehouse
Pull policies, commissions, lead sources, and pipeline activity into your BI stack on a schedule, or on every commission.updated event.
Partner or agent portal
Let partners create leads, read status, and submit updates without a CRM login. Lead field aliases mean their form fields map without a translation layer.
Commission operations
Match carrier payment files against expected commissions from the commissions resource and flag exceptions in your finance system.
Enrollment workflow engine
Subscribe to policy.created and appointment.created, then create tasks, notify the team, and update the opportunity stage from your own service.
The API, the MCP Server, or the Tool Manifest?
Same data, three doors, picked by who is calling.
The API, for systems
REST access with webhooks, for syncs, dashboards, portals, and partner tools. You are here.
The MCP server, for assistants
Permission-controlled contact, messaging, quote, underwriting, and link actions at mcp.unlockedcrm.ai that Claude, Cursor, ChatGPT, and Codex call in conversation.
See the MCP serverThe tool manifest, for function calling
Six ready-made OpenAI and Anthropic function definitions: list, get, create, update, and delete records, plus whoami.
Open tools.jsonopenapi.json·api.md·API reference·Developer portal·Machine-readable files
API FAQ
Can I run insurance quotes through the API?
Yes. The API runs live quotes for Life and Final Expense, Medicare Advantage, Supplement and Part D, ACA and private health, and ancillary lines, saves the quote to the client record, and sends it to the client. Annuity quoting is not included. See unlockedcrm.ai/quote-from-ai-tools.
Does unLocked CRM have a public REST API?
Yes. One address, api.unlockedcrm.ai/public-api, serves CRM records (leads, clients, policies, commissions, tasks, appointments, activities, communications, pipelines, opportunities, workflows, email campaigns, tags, and more) over GET, POST, PUT, and DELETE, with the record type in the resource query parameter. The reference is at app.unlockedcrm.ai/docs/api and the OpenAPI 3.1 spec is at unlockedcrm.ai/openapi.json.
How do I authenticate?
Two ways. An API key created in Settings, then API Keys, sent as the x-api-key header, with the read and write permissions you give it and a limit of 100 requests per minute. Or OAuth 2.0, for apps and AI tools that act for a user, with scopes named read:<resource> and write:<resource>.
Can I receive webhooks?
Yes. Subscribe through the webhooks resource to events across leads, clients, tasks, appointments, activities, policies, quotes, commissions, opportunities, workflows, email campaigns, and SMS. Events are signed so your receiver can verify them before acting. The API reference lists every event.
What do errors look like?
Every error is JSON, never an HTML page, with the same shape: error.code to match on, error.message for a person, and error.status, the HTTP status. A 429 carries a Retry-After header with the seconds to wait. The codes are documented in the API reference at app.unlockedcrm.ai/docs/api.
How is the API different from the MCP server?
The API is for systems: syncs, dashboards, portals, and partner tools that need REST endpoints and webhooks. The MCP server at mcp.unlockedcrm.ai is for AI assistants like Claude, Cursor, and ChatGPT, exposing permission-controlled contact, messaging, quote, underwriting, and link actions they can call in conversation. There is also a six-function tool manifest for OpenAI and Anthropic function calling at unlockedcrm.ai/.well-known/tools.json.
Where is the full API documentation?
The API reference, with every endpoint and examples, is at app.unlockedcrm.ai/docs/api. The developer portal, covering REST, MCP, SDKs and webhooks, is at app.unlockedcrm.ai/developers, and the API changelog is at app.unlockedcrm.ai/docs/api-changelog. This page is the overview and links to them.
Is there a spec I can import?
Yes. The API serves its OpenAPI 3.1 spec at api.unlockedcrm.ai/openapi-spec. A copy is at unlockedcrm.ai/openapi.json, with a YAML copy at /openapi.yaml, and a short pointer for agents is at /api.md.
Live Since October 2026
One API, The Same Connected Actions
The unLocked API powers the secure AI connection. Your preferred AI tool accesses these supported actions through that connection, within your permissions and plan—not a separate, smaller set of CRM features.
unLocked stays the system of record. Customer data is never used to train AI.
Daily Priorities And Contact Profiles
- Daily Priorities
- Review missing replies, unread messages, scheduled appointments, notes, and memories to decide what to work on today.
- Whole Contact Profile
- Pull the whole contact profile in one call, including details, tags, notes, memories, messages, calls, quotes, and documents.
Contacts
- Leads
- List, search, get one, create, update, find duplicates, scan the workspace for duplicates, and merge.
- Clients
- List, search, get one, create, update, and bulk create.
- Tags
- List definitions, create, list a contact's tags, add, and remove.
- Notes And Memories
- List, add, and edit both.
- Documents
- List, upload, link an external file, delete, and download email attachments.
- Messages
- Text and email history, send a text or email, reply in a thread, schedule a message, and edit or cancel a scheduled one.
- Calls
- Recordings with playback link, dispositions, and voicemails.
- Activities And Communications
- List and log.
- Lead Scores
- List and re-score.
- Custom Fields And Sections
- List, create, and update definitions.
Quotes
- Live Quotes
- From plain details for life, Medicare Advantage, Part D, ACA, Medicare Supplement, dental-vision-hearing, and hospital indemnity.
- Saved Quotes
- List by contact or workspace, get one, save, file on a contact, favorite, note, change status, unfile, and delete.
- Send As A Branded PDF
- By email or text, now or scheduled, with saved wording and a chosen mailbox. Or get the PDF link without sending.
- Scheduled Sends
- List, reschedule, and cancel.
- Quote Opens
- See when a client opened a quote.
- Saved Wording
- Email and text wording per product: list, create, and update.
- Underwriting
- Run and save an assessment, list assessments, quote from an assessment, and get a case report PDF link.
Intake, Quote, And Booking Links
- All Sendable Links
- Retrieve all sendable links in one call, including the default Medicare intake, ACA intake, and Medicare quote links.
- Booking Links
- List, get, and create, with the public URL.
- Intake And Medicare Quote Campaign Links
- List, get, and create, with the public URL.
- Life Quote Links
- List and get, with the public URL.
- Send Any Link
- Send any link to a contact by text or email.
New In November 2026
Recently shipped here. Every release is on the Product Updates page.
Public API Expansion
The public API adds recruiting, calendars, bookings, templates, webhooks, UTM fields, and key rotation.
Explore Related Features
MCP Server
Permission-controlled contact, messaging, quote, underwriting, and link actions for Claude, Cursor, ChatGPT, Codex, and any MCP client.
Machine-Readable Files
Every developer and machine-readable file this site publishes, in one index.
Integrations
Calendars, meetings, email, messaging, phones, and AI assistants connected to the CRM.
Build
Describe a page and Build creates it on your live CRM data, no API call required.