Developer docs menu

Approvals

Actions that reach your CRM, your mailbox or your schedule wait for a person to approve them. This is how that works.

What needs approval

Runs right awayWaits for the user's approval
  • All reads and searches
  • Unlocking emails, company search, decision makers (spend credits, within the key's limit)
  • Dismissing or restoring findings
  • Pausing an AutoPilot
  • Creating a sequence (sends nothing)
  • Creating or editing a signal search (runs nothing)
  • Profile suggestions (the owner accepts them separately)
  • Sending people to a CRM
  • Enrolling people in a sequence
  • Creating an AutoPilot
  • Changing or turning on an AutoPilot (MCP update_autopilot)
  • Creating an agent
  • Running an agent now
  • Mobile: emailing someone back, logging a Zoho note, adding a Zoho task

The flow

  1. Propose. Your code calls a proposal endpoint (REST /actions/…) or a propose_* tool. Nothing happens yet and no credits are spent. You get back an action_id, an approval_url, an expiry time and what_happens: the same summary the user will see.
  2. The user decides. Give them the approval_url. They open it signed in to CRMCoPilot and see what will happen, who it affects, which app asked, and the credit estimate. They approve or reject. An API key can never approve.
  3. It runs. On approval it runs once through the same code as the app, as that user, and credits are charged then.
  4. Check the outcome with GET /actions/{action_id} or the MCP tool get_action.
ExamplePOST /actions/crm-push {"refs": ["ld_…"]}
  -> {"status": "pending_approval", "action_id": "act_…", "approval_url": "https://production.crmcopilot.ai/approvals?action=act_…"}

(the user opens approval_url and clicks Approve)

GET /actions/act_…
  -> {"status": "done", "result": {"status": "ok", "message": "Queued for the CRM. …", "parts": […]}}

Statuses

statusMeaning
pendingWaiting for the user. approval_url is included.
runningApproved and running.
doneFinished. result has the outcome, e.g. per-person CRM results for a CRM push.
failedApproved but it couldn't finish. result.message says why.
rejectedThe user said no.
expiredNobody decided in time: 24 hours for most proposals, 5 minutes for Mobile ones.

A CRM push can show done while people are still queued for the CRM. Check again until each person's outcome is created, existing or failed.

Tips for agent builders

  • Show the user what_happens and the approval_url in your own words; don't approve on their behalf or tell them it's done until get_action says so.
  • Batch: one proposal for 30 people is easier to approve than 30 proposals.
  • Before spending credits directly (unlocks, company search), tell the user the cost and get their OK. max_credits on unlocks is your safety cap.

Last checked against the live code on 5 December 2026.

Shopping cart