Developers
API & webhooks
Last updated October 4, 2026
Read your Pombi data from your own tools, check open slots, book appointments, file leads, and get a signed POST the moment something happens. Version 1 is deliberately small: six reads, three writes, four events.
01Authentication
Create a key in your dashboard: open Settings, scroll to the bottom and open Advanced (take me there). The key is shown once. Pombi stores only a SHA-256 hash of it, so it cannot be recovered later, only revoked and replaced. Each business can hold up to 10 live keys.
Send it as a bearer token on every request:
curl https://pombi.app/api/v1/bookings \ -H "Authorization: Bearer pmb_<business>.<key-id>.<secret>"
A key names its own business, so there is no account parameter and a key can only ever reach the business it was minted for. Anything wrong with the key (unknown, revoked, mistyped, or belonging to someone else) returns the same flat 401, with no detail that would let the key space be probed. A lapsed subscription returns 402.
02Rate limits
Each key is capped at 60 requests per minute, counted across every endpoint. Over the cap you get a 429 with a Retry-After header in seconds. The budget is shared across all Pombi instances, so the number is the real one.
03Endpoints
Read endpoints accept ?limit= (default 50, maximum 200). This is the complete list. There are no undocumented endpoints.
GET /api/v1/customersYour customer list, newest activity first.
GET /api/v1/bookingsBookings, newest first.
GET /api/v1/bookings/{id}One booking.
GET /api/v1/availabilityOpen slots for one day (?date=YYYY-MM-DD, optional ?service=), from your posted hours and the bookings already on the books.
GET /api/v1/callsConversations (phone, SMS, web chat) with their pipeline stage.
GET /api/v1/invoicesInvoices from your connected Stripe account.
POST /api/v1/leadsFile a new lead. Creates the same records the '+ Add lead' button does.
POST /api/v1/bookingsBook an appointment. Lands as a proposed booking with a confirmation for you to send, exactly like your website form.
PATCH /api/v1/bookings/{id}Confirm or cancel a booking. Runs the same rails as the dashboard buttons.
GET /api/v1/bookings also takes ?status=, and GET /api/v1/calls takes ?stage=. Call transcripts are not exposed: the API returns conversation metadata, not what your customer said.
Invoices are a live read from Stripe. If no Stripe account is connected, the response is {"configured": false, "invoices": null}, not an empty list. “You have no invoices” and “we cannot see your invoices” are different facts and we will never merge them.
Records created by the in-app Live tester carry "simulated": true. They are practice runs, not people; do not count them.
curl -X POST https://pombi.app/api/v1/leads \
-H "Authorization: Bearer $POMBI_KEY" \
-H "content-type: application/json" \
-d '{"name":"Dana Reyes","phone":"555-0148","service":"Deck rebuild","note":"Found us on Google"}'
# 201 {"ok":true,"callId":"call_…","bookingId":"bk_…"}04Booking appointments
Two calls. First ask which slots are open, then book one. Availability is derived only from the hours the business posted and the bookings already on the books. A day the hours cannot describe answers "known": false with the reason, never a guessed schedule.
curl "https://pombi.app/api/v1/availability?date=2026-10-13&service=Cut%20%26%20style" \
-H "Authorization: Bearer $POMBI_KEY"
# 200 {
# "date": "2026-10-13", "timezone": "America/New_York",
# "known": true, "closed": false,
# "hours": {"open": "9:00 AM", "close": "5:00 PM"},
# "slotMinutes": 60, "slotBasis": "service-duration", "service": "Cut & style",
# "openCount": 6,
# "slots": [
# {"startsAt": "2026-10-13T13:00:00.000Z", "label": "9:00 AM", "status": "open"},
# {"startsAt": "2026-10-13T15:00:00.000Z", "label": "11:00 AM", "status": "booked"},
# {"startsAt": "2026-10-13T18:00:00.000Z", "label": "2:00 PM", "status": "held"},
# …
# ]
# }slotMinutes is the listed duration of the service you named, or a 30-minute grid when the service has no duration (the response says which). booked means a confirmed booking overlaps the slot. held means someone has asked for it and the business has not confirmed yet; you may still book it, and you will be second in line. Dates are accepted up to 90 days out. Pass a slot’s startsAt straight into the booking call:
curl -X POST https://pombi.app/api/v1/bookings \
-H "Authorization: Bearer $POMBI_KEY" \
-H "content-type: application/json" \
-d '{
"customer": "Dana Reyes",
"phone": "203-555-0148",
"email": "dana@example.com",
"service": "Cut & style",
"startsAt": "2026-10-13T13:00:00.000Z",
"notes": "first visit"
}'
# 201 {
# "ok": true,
# "booking": {"id": "bkg_…", "status": "proposed", "source": "api",
# "when": "Tue, Oct 13 · 9:00 AM", "whenIso": "2026-10-13T13:00:00.000Z", …},
# "serviceListed": true,
# "warnings": []
# }customer, service and at least one of phone / email are required. startsAt is optional; without it the booking reads “to be scheduled”, like a filed lead. A booking lands as proposed, exactly as it would from the business’s own website form: the owner sees it on Bookings and in their “Needs you” queue with a confirmation text ready to send. Confirm or cancel it yourself with PATCH /api/v1/bookings/{id} and {"status": "confirmed"} or {"status": "cancelled"}; that runs the same rails the dashboard buttons do. Completed and no-show are outcomes only the business can record, so the API refuses them.
Honest edges, stated up front. A time on a day the posted hours mark closed is accepted with a warning on the response and a note on the booking, never silently. A retry of the identical request returns 200 with "deduped": true and the original id, not a second booking. A slot that already holds a confirmed booking is saved as proposed with a note for the owner rather than refused. Phone numbers that cannot be dialled and times in the past are refused with a 422 that says why.
Texting consent. We never showed your customer our disclosure, so a bare "smsConsent": true is refused. Send "smsConsent": {"granted": true, "text": "<the exact disclosure they agreed to>"} and we store your words as an attestation on the booking. Without it, the confirmation goes by email when you gave one; the booking itself is saved either way.
05Webhooks
Register an https endpoint in Settings, under Advanced at the bottom of the page (open it) (up to 5 per business) and pick the events you want. Pombi POSTs JSON:
{
"id": "whd_…", // delivery id, stable across the retry
"event": "booking.created",
"at": "2026-08-06T14:02:11.004Z",
"businessId": "biz_…",
"data": { … } // event-specific
}Delivery is best-effort with exactly one retry a second after a failure, using the same delivery id and the same signature. De-duplicate on pombi-delivery-id. The event name also arrives in pombi-event. Answer with any 2xx; anything else (or no answer within 4 seconds) counts as a failure and is shown to the business owner verbatim on their settings card, including the status code.
A webhook never affects the thing that triggered it. If your endpoint is down when a customer books, the booking is still saved and the customer still gets their confirmation.
06Events
Four events, and an honest note on each about where it fires. Where coverage is partial, it says so. Please read these before you build a sync on one.
lead.createdA new lead came in.
A submission to one of your lead forms, or POST /api/v1/leads.
booking.createdA booking was captured.
Bookings captured on the inbound rails: your website storefront, a lead form, a phone/chat conversation, POST /api/v1/leads and POST /api/v1/bookings. Bookings you type into the dashboard yourself do NOT emit this event yet.
booking.completedA booking was marked completed.
Every path that marks a booking completed, including the dashboard. This one has no gaps.
invoice.paidA pay link settled (Stripe-verified).
A text-to-pay / invoice pay link that Stripe confirmed as paid on your connected account. Invoices paid directly inside Stripe are not observed here.
07Verifying the signature
Every delivery carries a pombi-signature header in the same shape Stripe and Svix use:
pombi-signature: t=1754487731,v1=6f1a…c2
v1 is a hex HMAC-SHA256 over the exact string `${t}.${rawBody}`, keyed with your endpoint’s signing secret (shown once when you register the endpoint). Compute it over the raw request body, before any JSON parsing, and compare in constant time. Reject anything where t is more than 300 seconds from your own clock. That is the replay guard.
import { createHmac, timingSafeEqual } from "node:crypto";
function verify(rawBody, header, secret) {
const parts = Object.fromEntries(
header.split(",").map((kv) => kv.split("=")),
);
const t = Number(parts.t);
if (!Number.isFinite(t) || Math.abs(Date.now() / 1000 - t) > 300) return false;
const expected = createHmac("sha256", secret)
.update(`${t}.${rawBody}`)
.digest("hex");
const a = Buffer.from(expected);
const b = Buffer.from(parts.v1 ?? "");
return a.length === b.length && timingSafeEqual(a, b);
}If you rotate a secret, delete the endpoint and register it again. We cannot show you an existing secret twice.
08What v1 doesn't do
No writes beyond filing a lead, booking an appointment, and confirming or cancelling one. No rescheduling in place (cancel and book again). No pagination cursors (limit only). No sandbox environment. No way to read call transcripts. If you need one of these, get in touch. We would rather hear the real use case than guess at it.