Developer docs menu

Developers

Build on CRMCoPilot with the Agent API, the MCP server for AI assistants, webhooks and the team analytics API.

Quickstart

  1. Make a key. In CRMCoPilot, open Settings → API Tokens, add a key and tick Let AI assistants read this account through MCP. Tick Also allow it to take actions too if your code should unlock emails or propose actions, and set the most credits it may spend per day. Copy the key: it's shown once.
  2. Call the API. Send the key as a bearer token:
    Requestcurl "https://production.crmcopilot.ai/api/agent/v1/me" \
      -H "Authorization: Bearer $CRMCOPILOT_KEY"
  3. Search for people. Searching is free; you get people without emails, each with a ref.
    Requestcurl -X POST "https://production.crmcopilot.ai/api/agent/v1/leads/search" \
      -H "Authorization: Bearer $CRMCOPILOT_KEY" \
      -H "Content-Type: application/json" \
      -d '{"query": "Owners of HVAC companies in New Jersey"}'
  4. Unlock the ones you want with POST /leads/unlock (1 credit per email found), or let the user approve sending them to the CRM with POST /actions/crm-push.

How it works

  • Your account, your data. A key acts as the user who made it and only sees that account's data.
  • Scopes decide what a key can do. Read-only keys can read and search. Keys allowed to take actions can also spend credits, up to a daily limit you choose. Scopes.
  • Anything that reaches the outside world needs a person's OK. Sending people to a CRM, enrolling them in a sequence, creating an AutoPilot or agent and running an agent all create a proposal. The user approves it in CRMCoPilot, and only then does it run. Approvals.
  • Credits work the same as in the app. Searching is free. Unlocking emails, company search and decision makers cost credits. Credits.

Who can use it

The Agent API and MCP server are included on the Gold, Platinum and Managed plans. See pricing. Webhooks and the team analytics API are part of Teams; see Webhooks.

InterfaceBase URLAuth
Agent APIhttps://production.crmcopilot.ai/api/agent/v1Authorization: Bearer cpk_…
MCP serverhttps://production.crmcopilot.ai/api/agent/v1/mcpOAuth sign-in or Bearer cpk_…
Team analytics APIhttps://production.crmcopilot.ai/api/team/v1Authorization: Bearer cpt_…
Team webhooksYour HTTPS URLHMAC-SHA256 signature header

Help and feedback

Setup guides for end users are in the Help Center, including connecting Claude and ChatGPT. For questions about the API, contact us.

Last checked against the live code on 5 December 2026.

Shopping cart