Integrations · Invoicing & accounting
A REST API and signed webhooks for your customers, your leads and the CRM around them, your invoices and the payments against them, so your other CRM, QuickBooks, NetSuite, Xero, an ERP or your own system stays in step with PhonePick.
Customers, leads, the CRM and webhooks on every plan; invoices and payments on Operations and Growth. · PhonePick starts at $75 a month. No contract, no setup fee.
What it does
Your customer list comes in. Your CRM or job software sends its customers 500 at a time, each by its own id; sending one again updates it rather than making a copy, and someone PhonePick already knows by phone or email only has their blanks filled. From then on the receptionist greets them by name when they ring.
Leads go out as they happen. A webhook fires the moment a call, a chat or a form becomes a lead, again whenever it changes or moves stage, and once more when it is won or lost — carrying its pipeline, its organization and the products on it, in cents. Calls, visits and tasks planned against a lead, and ticked off, go out the same way. Your other CRM, job board or website hears within a minute, and nothing is sent for what nobody else could see, like your own notes.
Invoices come in and payments go out. Your system sends each invoice once, by its own id, and sending it again updates it rather than making a copy; PhonePick chases it by text, the customer pays on the invoice's own page, and the payment — by card, or an e-transfer or cheque your office records — is pushed back to you the moment it lands.
It is the same set of rules the PhonePick app uses, not a side door. A payment recorded through the API moves the balance, stops the reminders and shows in the invoice's history exactly as one entered by hand does, and money is always whole cents, so a $450.00 invoice can never be read as $4.50.
Setting it up
POST /api/v1/customers/bulk (500 a call), then each change with PUT /api/v1/customers/external/{your id}.PATCH /api/v1/leads/{id} and POST /api/v1/activities.PUT /api/v1/invoices/external/{your id}, and payments with POST /api/v1/invoices/{id}/payments.GET /api/v1/events.Reference
Make a key in PhonePick under Settings → API & MCP (an owner or admin, on any plan). Send it on every request:
Authorization: Bearer pp_live_…
A read-only key can call every GET; a read and write key can also create, change and pay. Keys are shown once, stored only as a hash, and stop working the moment they are revoked. The base address is https://www.phonepick.ai/api/v1. There is no browser access (no CORS): a key belongs on a server.
The customer, lead, activity, organization and product routes, the change feed and webhooks work on every plan. The invoice, payment and summary routes, and the invoice and payment events, come with Operations and Growth; on another plan those routes answer 403 with "type": "plan".
_cents: "total_cents": 45000 is $450.00. A decimal such as "450.00" is refused rather than guessed at. The currency is the account's (USD or CAD) and is on every object.YYYY-MM-DD; times are ISO 8601 in UTC. "Overdue" is worked out on the business's own calendar date.external_id (your customer, invoice or payment id). Sending the same one twice finds the record already there instead of making a duplicate, so a retry after a timeout is always safe.{"error": {"type", "message", "errors"?}} with 401 (key), 403 (plan or read-only key), 404, 409 (e.g. voiding an invoice that has payments), 422 (invalid — errors names every problem) and 429 (over 300 requests a minute).{"object":"list","data":[…],"has_more","next_cursor"}; pass starting_after=<next_cursor> for the next page. limit is up to 100.{
"object": "customer", "id": "ext_9f2…", "external_id": "crm-1042", "other_external_ids": [],
"name": "Ana Ruiz", "phone": "(519) 555-0101", "other_phones": ["(226) 555-0188"],
"email": "ana@example.com", "address": "12 Elm St, London, ON, N6A 1A1", "company": null,
"tags": ["vip"], "prefers": "text", // call | text | email | null
"follow_up": { "date": "2026-11-01", "what": "Furnace check" },
"notes_count": 2, "notes": [{ "id": "…", "text": "Prefers mornings", "created_at": "…", "by": "API: CRM sync" }],
"source": "api", "created_at": "…", "updated_at": "…"
}
These are the people on the business's Customers page, and the receptionist's memory: a customer's name is what it greets them by when they ring. A list shows notes_count; one customer shows every note. Send a name as name or as first_name and last_name, and an address as one line or as {street, city, province, postal}. Phone numbers must be North American (10 digits, or 1 and 10; an extension is dropped) — anything else is refused rather than saved as someone else's number. A note sent with a customer is added to their notes and never replaces one. The API never marks anyone as agreeing to texts.
{
"object": "invoice", "id": "Xq3…", "number": "INV-1042", "external_id": "QB-1042",
"status": "partially_paid", // open | partially_paid | paid | void
"overdue": true, "days_overdue": 13, "currency": "CAD",
"total_cents": 45000, "paid_cents": 20000, "balance_cents": 25000,
"customer": { "name": "Ana Ruiz", "phone": "+15195550101", "email": "ana@example.com" },
"issue_date": "2026-09-15", "due_date": "2026-10-01",
"items": [{ "description": "Furnace service", "quantity": 1, "unit_cents": 45000, "amount_cents": 45000 }],
"notes": null, "pay_url": "https://www.phonepick.ai/i/…",
"reminders_sent": 1, "last_reminded_at": "…", "source": "api",
"created_at": "…", "updated_at": "…", "paid_at": null, "voided_at": null
}
pay_url is the invoice's own page: the customer sees it and, if Stripe is connected, pays what's left by card. It never expires. A mobile number is needed only for text reminders; an invoice without one is still tracked and payable.
{ "object": "payment", "id": "…", "invoice_id": "Xq3…", "kind": "payment", // or "refund"
"amount_cents": 20000, "currency": "CAD", "paid_on": "2026-10-10",
"method": "etransfer", // card | cash | cheque | etransfer | bank | other
"reference": "CA-778", "note": null, "external_id": "PMT-88",
"source": "api", // manual | api | stripe
"removed": false, "created_at": "…" }
A payment can't be more than the balance (a refund can't be more than what was paid). When the balance reaches zero the invoice is paid and reminders stop. Card payments made on the invoice's page arrive with source: "stripe", and a refund made in the business's Stripe dashboard arrives as a refund.
{
"object": "lead", "id": "CA9f…", "name": "Sam Ruiz", "phone": "(519) 555-0134", "email": null, "address": null,
"source": "phone", // phone | chat | form | webhook | manual | csv | booking-page
"via": null, "page": null, "category": "Kitchen", "summary": "Wants a quote for new cabinets", "urgency": "normal",
"stage": "quoted", "stage_label": "Quoted", // new | contacted | visit-booked | quoted | won | lost
"pipeline": "main", "pipeline_name": "Sales",
"org_id": "o7Lk…", "org_name": "Elm Property Management",
"items": [{ "product_id": "p3…", "name": "Cabinet install", "qty": 1, "price_cents": 450000, "amount_cents": 450000 },
{ "product_id": null, "name": "Haul-away", "qty": 2, "price_cents": 7500, "amount_cents": 15000 }],
"value_cents": 465000, "currency": "CAD",
"booked": { "date": "2026-11-04", "start": "14:00" }, "next_touch_at": "2026-11-06",
"created_at": "…", "updated_at": "…", "test": false
}
What the caller said — name, number, summary — is as they said it and never changes through the API; what the business decides does. pipeline is where the lead sits: where someone put it, or else the first pipeline that takes its kind of job (category). items are the products and services on it, and value_cents follows them. The business's own notes stay in PhonePick.
{ "object": "activity", "id": "a2X…", "type": "visit", // call | visit | meeting | task | email | text
"type_label": "Site visit", "title": "Measure the kitchen",
"date": "2026-11-05", "time": "10:30", "minutes": 60, // the business's own day and clock; time null = any time that day
"lead_id": "CA9f…", "lead_name": "Sam Ruiz", "phone": "+15195550134",
"assigned_uid": null, "assigned_name": null, "remind_minutes": 60, // 0 | 15 | 60 | 1440 | null
"note": null, "done": false, "done_at": null, "created_at": "…", "updated_at": "…" }
The calls, visits and tasks the business plans, on its Leads page and Calendar. One with a remind_minutes reminds whoever does it; one ticked off on a lead counts as getting back to them, so the lead stops going cold. assigned_uid must be the owner or a login on the business's team.
{ "object": "organization", "id": "o7Lk…", "name": "Elm Property Management", "phone": "(519) 555-0177",
"email": "office@elmpm.example", "website": "https://elmpm.example", "address": "40 Talbot St, St. Thomas, ON",
"notes": null, "created_at": "…", "updated_at": "…",
"summary": { "leads": 6, "open": 2, "open_value_cents": 920000, "won": 3, "won_value_cents": 1450000, "people": 4 } } // one organization only
{ "object": "product", "id": "p3…", "name": "Cabinet install", "price_cents": 450000, "currency": "CAD",
"unit": "job", "code": "CAB-1", "active": true, "note": null, "created_at": "…", "updated_at": "…" }
An organization is one company with many people — a property manager, a builder, a school board. The same name typed twice, ignoring case and punctuation, is the same company, so adding it again returns the one already there. Products are the business's price list, in whole cents; a new price is for what is sold from then on, and lines already on a lead keep theirs.
| Request | What it does |
|---|---|
GET /me | The account and key: name, currency, time zone, plan. |
GET /customers | Every customer, a page at a time. Filters: phone, email, external_id, updated_since (ISO time or epoch ms — oldest change first). |
PUT /customers/external/{external_id} | Create or update by your id — the one call a CRM sync needs. |
POST /customers/bulk | Up to 500 customers in one call, each handled like the PUT (or the POST when it has no external_id). Answers row by row. |
POST /customers | Create, or find someone already here by phone or email. 201 created; 200 found. |
GET /customers/{id} · /customers/external/{external_id} | One customer, with their notes. |
PATCH /customers/{id} | Change only the fields sent; null clears one. A customer keeps a phone number or an email. |
GET /leads | The leads, newest first: who, how they reached you (source: phone, chat, form, webhook, manual, csv, booking-page; via names the website), what they wanted, the stage. Filters: since (ISO time or epoch ms), limit (up to 500), after=<next_cursor>. |
GET /leads/{id} · PATCH /leads/{id} | One lead; or change what the business decides, the way the Leads page does: its stage (new, contacted, visit-booked, quoted, won, lost), its pipeline (null lets its kind of job decide), its organization (org_id, or org_name for one already on the list; null takes it off) and its items — [{"product_id"?, "name"?, "qty", "price_cents"?}], where a product_id fills in the price list's name and price. What the caller said is never changed through the API. |
POST /leads/{id}/call-back | Have the AI receptionist phone a lead back, as Call them back on the Leads page does. Send confirmed: true, meaning this person contacted you and the call follows up on what they asked about; optionally when (now, or an ISO time with its UTC offset, up to 14 days ahead), language and note (up to 240 characters: anything it should ask or offer). Only a lead who came in by phone, chat, form, webhook or the booking page, in the last 30 days; one typed in or imported is refused (403). Calling hours, do-not-call and your plan's calls all apply, one call per lead at a time, and at most 25 a day through your keys (429 past that). 201 with the call; status is calling, scheduled or held. |
GET /leads/{id}/call-back · DELETE /leads/{id}/call-back | How that call went (status, tries, and result: reached, voicemail, no-answer, busy, opted-out, wrong-person); or cancel it while it is still waiting. |
POST /leads/{id}/messages | Text one lead from the business's own number: body (up to 1,000 characters) and confirmed: true, meaning this person contacted you and the text answers them. There is no to: it goes only to the lead's own number. Refused for a lead typed in or imported (not_inbound), one last in touch over 30 days ago (lead_too_old), outside 9am–8pm your time (quiet_hours), and within an hour of the last one to that lead (too_soon, 429). STOP and your plan's texts still apply. |
GET /activities | The calls, visits and tasks. lead=<id>: everything on one lead, still-open first. Otherwise newest change first, or with since (ISO time or epoch ms) oldest change first from then. done=true|false; limit (up to 500); after=<next_cursor>. |
POST /activities | Plan one: date, and type, title, time, minutes, lead_id, assigned_uid, remind_minutes, note, done. With no title it is named from the lead ("Call Sam"). |
GET /activities/{id} · PATCH /activities/{id} | One activity; or change only the fields sent — {"done": true} ticks it off, false undoes it. |
GET /organizations | By name, a page at a time; q finds part of a name. |
POST /organizations | Add one (name, phone, email, website, address, notes). 201 added; 200 if one by that name was already here. |
GET /organizations/{id} · PATCH /organizations/{id} | One, with what its leads add up to; or change only the fields sent. A new name is carried onto its leads. |
GET /products | The price list; active=true for only what is still offered. |
POST /products · PATCH /products/{id} | Add (name, price_cents, unit, code, active, note) or change one; a write key. A name already on the list is a 409 with its existing_id. |
POST /messages | Text someone from the business's own number: to (a Canadian or US mobile) and body (up to 1,000 characters). It lands in the inbox thread, where their reply arrives. Someone who replied STOP is never texted, it counts against the month's texts, and one key sends at most 20 a minute. Send an Idempotency-Key so a retry can't text twice. |
GET /summary | Outstanding, overdue, collected this month, and the aging buckets. |
GET /invoices | Newest first. Filters: status (open, partially_paid, overdue, paid, void), q (search), number, external_id, updated_since (ISO time or epoch ms — oldest change first). |
POST /invoices | Create. customer.name, due_date, and total_cents or items. 201 created; 200 if its external_id was already here. |
PUT /invoices/external/{external_id} | Create or update by your id — the one call an ERP sync needs. |
GET /invoices/external/{external_id} | One invoice by your id. |
GET /invoices/{id} | One invoice, with its payments. |
PATCH /invoices/{id} | Change only the fields sent. The total can't drop below what's been paid. |
POST /invoices/{id}/void · /reopen | Cancel (no payments on it) or restore. |
POST /invoices/{id}/remind | Text the customer a reminder now: 9am–8pm business time, one a day, needs a mobile. |
DELETE /invoices/{id} | Gone for good, with its payments, history and page. |
GET /invoices/{id}/payments | Its payments and refunds. |
POST /invoices/{id}/payments | Record a payment or refund: amount_cents, method, paid_on, reference, external_id, kind. |
DELETE /invoices/{id}/payments/{payment_id} | Take off one entered by mistake (kept, marked removed). Card payments are refunded in Stripe instead. |
GET /payments | Every payment on every invoice, oldest first; since (ISO or epoch ms). |
GET /events | The change feed, in order — the same events the webhooks send; after=<next_cursor>. Kept 30 days. |
Send your customers 500 at a time to POST /customers/bulk, each with its external_id (its id in your CRM), and keep calling until the list is done. Running the same import again is safe: people already linked come back unchanged. After that, send each change with PUT /customers/external/{your id}.
curl -X POST https://www.phonepick.ai/api/v1/customers/bulk \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"customers":[
{"external_id":"crm-1042","first_name":"Ana","last_name":"Ruiz","phone":"519-555-0101","email":"ana@example.com","tags":["vip"]},
{"external_id":"crm-1043","name":"Bo Chen","phone":"+1 226 555 0111","note":"Referred by Ana"}]}'
{ "object": "bulk_result", "received": 2, "created": 1, "updated": 1, "unchanged": 0, "failed": 0,
"results": [{ "index": 0, "status": "updated", "id": "k3…", "external_id": "crm-1042", "matched": "phone" },
{ "index": 1, "status": "created", "id": "ext_9f2…", "external_id": "crm-1043", "matched": null }] }
Each row is matched like this:
external_id: the fields you send replace PhonePick's. Your CRM's record wins.A bad row (a number outside North America, an email that isn't one, no number and no email) comes back failed with its errors; the rest are saved.
Invoices in: send each one with PUT /invoices/external/{your id} whenever it is raised or changed. Payments out: either take webhooks (below) or poll GET /events?after=… and store next_cursor each time. The feed holds back the last five seconds, so a cursor never skips an event that was still being written.
curl -X PUT https://www.phonepick.ai/api/v1/invoices/external/INV-1042 \
-H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"number":"INV-1042","customer":{"name":"Ana Ruiz","phone":"+15195550101"},
"total_cents":45000,"due_date":"2026-11-15"}'
Add an https address under Settings → API & MCP and pick the events (all — which includes any added later — or any of lead.created, lead.updated, lead.stage_changed, lead.won, lead.lost, activity.created, activity.completed, invoice.created, invoice.updated, invoice.paid, invoice.voided, invoice.deleted, invoice.reminded, payment.created, payment.refunded, payment.deleted, or a whole group such as lead.*). Each event is POSTed as JSON — {"id","object":"event","type","created_at","data":{"object":…}}, with the invoice too on payment events — usually within a minute. Answer with any 2xx. Anything else is retried after 1 minute, 5 minutes, 30 minutes, 2, 6, 12 and 24 hours; an address that has failed for three days is switched off, and the app says so.
Check every request. PhonePick-Signature: t=<unix time>,v1=<hex> is an HMAC-SHA256, with the address's signing secret, of t + "." + the raw body — the scheme Stripe uses:
// Node
const crypto = require("crypto");
function verified(header, rawBody, secret) {
const p = Object.fromEntries(header.split(",").map((kv) => kv.split("=")));
if (Math.abs(Date.now() / 1000 - Number(p.t)) > 300) return false; // replayed
const want = crypto.createHmac("sha256", secret).update(`${p.t}.${rawBody}`).digest("hex");
const a = Buffer.from(want), b = Buffer.from(p.v1 || "");
return a.length === b.length && crypto.timingSafeEqual(a, b);
}
# Python
import hmac, hashlib, time
def verified(header, raw_body: bytes, secret: str) -> bool:
p = dict(kv.split("=", 1) for kv in header.split(","))
if abs(time.time() - int(p["t"])) > 300: return False
want = hmac.new(secret.encode(), f'{p["t"]}.'.encode() + raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(want, p.get("v1", ""))
Use PhonePick-Event-Id to ignore a delivery you have already handled.
The CRM's events are what keeps HubSpot, a job board or your own site in step with what happens in PhonePick — a call, a website enquiry, the board, a text to the owner line or the API, all told the same way:
lead.created — a lead came in: a call, a chat, a form, one typed in or imported. One that arrives already won or lost is only this.lead.updated — anything about it that the API shows changed, the stage included, so a receiver that takes only this never misses one. data.previous_attributes holds what the changed fields were.lead.stage_changed — it moved stage; then also lead.won or lead.lost when that is where it went. They come in that order, after lead.updated.activity.created — a call, visit or task was planned; activity.completed — it was ticked off (one logged as already done is both).Nothing is sent for changes the API doesn't show — the business's own notes, PhonePick's bookkeeping, the moment an activity's reminder goes — or for a lead or activity being deleted. The lead or activity in an event is exactly what GET /leads/{id} or GET /activities/{id} would answer, never more.
{ "id": "evt_0mh2…", "object": "event", "type": "lead.won", "api_version": "2026-10-14", "created_at": "…",
"data": { "object": { "object": "lead", "id": "CA9f…", "stage": "won", "value_cents": 465000, … },
"previous_attributes": { "stage": "quoted", "stage_label": "Quoted", "next_touch_at": "2026-11-06" } } }
(A lead that is won or lost has nothing left to chase, so its follow-up date goes with it.)
The MCP server is https://www.phonepick.ai/mcp (Streamable HTTP, the same key as a Bearer header). For a client that can only be given a link, https://www.phonepick.ai/mcp/<key> works too — treat that link as a password. Its tools: get_account and list_changes; for customers list_customers, get_customer, and with a write key save_customer and import_customers (up to 100 at once); for the CRM list_leads, list_activities, list_organizations, list_products, and with a write key update_lead (stage, pipeline, organization, products), add_activity, complete_activity and save_organization; for follow-ups get_lead_call_back, and with a write key call_lead_back, cancel_lead_call_back and text_lead (a lead's own number only, under the rules of POST /leads/{id}/messages); and for invoices get_receivables_summary, list_invoices, get_invoice, and with a write key create_invoice, update_invoice, record_payment, remove_payment, void_invoice and send_reminder. Tool inputs take dollars (450.00); results carry cents. Deleting an invoice is not offered to an assistant.
claude mcp add --transport http phonepick https://www.phonepick.ai/mcp \
--header "Authorization: Bearer pp_live_…"
Being straight with you
It covers customers, leads (read, and their stage, pipeline, organization and products), activities, organizations, the price list, invoices, payments, sending a text, and AI follow-up calls and texts to a lead. Calling anyone who isn't a lead, appointments and reading texts are not in the API yet, the only text an MCP assistant can send is to a lead who got in touch, customer changes are not sent out by webhook, a lead's own notes stay in PhonePick, phone numbers must be North American, and it is not a live connection to any one CRM or accounting product on its own — something on your side (your developer, Zapier, Make, n8n) does the sending. There is no sandbox account: a key works on your real data, so try things with a read-only key first.
Invoicing & accounting
Export your invoice list from QuickBooks, import the CSV into PhonePick, and overdue invoices start chasing themselves.
How it works →CSV import, same as QuickBooks: export your invoices from Wave and import them under Money → Invoices. No live sync.
No page yet — ask us for itCSV import, same as QuickBooks: export your invoices and import them under Money → Invoices. No live sync.
No page yet — ask us for itGive Claude, ChatGPT or any assistant that speaks MCP your PhonePick customers, leads and invoices as tools: add a customer, have the AI phone a lead back, see what is overdue, record a payment.
How it works →Tell us which one and what you would do with it. That is genuinely how the order gets decided — there is no roadmap vote more useful than a business saying it would switch for it.
Every product named on this page is a trademark of its owner. Naming one here says PhonePick works with it, or does not — it does not say they have endorsed, reviewed or heard of us.