API and webhooks
Connect AbanteOS to the other tools you use. Send new leads in from your ads, tag them, or tell your spreadsheet, email list or team chat the moment a call is booked or a payment fails. You stay in charge: every key does only what you tick, and you can turn it off at any time.
Your clients’ health stays private. The API and webhooks never share health or device data (steps, sleep, heart rate, weight, body details, progress photos, food), check-in or form answers, or notes.
Start in three steps
- Open Settings › Integrations and choose New API key. Give it a name and tick only what it needs.
- Copy the key straight away. We show it once and keep only a scrambled copy.
- Paste it into your tool as a header:
Authorization: Bearer abk_…
# Keep the key in an environment variable, never in shared files.
curl https://abanteos.com/api/v1/leads \
-H "Authorization: Bearer $ABANTEOS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Alex Example","email":"alex@example.com","source":"Instagram ad","tags":["Webinar"]}'Permissions
clients:readRead clientsleads:readRead leadsleads:writeAdd and update leadsbookings:readRead call bookingscheckins:readRead check-in statuspayments:readRead payment statusprogrammes:readRead programmes and assignmentswebhooks:writeSubscribe to webhooks (for Zapier, Make, n8n)
A key stops working if you revoke it or if the coach who made it leaves your business. Each key can make 120 requests a minute.
Routes
Base address https://abanteos.com/api/v1. Everything is JSON. Lists take limit (up to 100) and offset and answer { data, limit, offset }. Errors answer { error: { code, message } }. Adding a lead with an email you already have returns that lead with created: false. Leads added through the API haven’t agreed to marketing emails yet.
| Method | Path | What it does |
|---|---|---|
| GET | /me | Which business and permissions this key has |
| GET | /clients | Clients: ?status=ready|active|paused|departed|archived, ?created_since= |
| GET | /clients/{id} | One client: name, status, email, groups, start date |
| GET | /clients/{id}/programmes | Programmes assigned to a client |
| GET | /programmes | Your programme library |
| GET | /leads | Leads: ?email=, ?stage=, ?created_since= |
| GET | /leads/{id} | One lead, with stage, tags and whether a call is booked |
| POST | /leads | Add a lead: {name, email, phone, source, stage, tags} |
| PATCH | /leads/{id} | Move stage or tag: {stage, add_tags, remove_tags} |
| GET | /stages | Your pipeline stages |
| GET | /tags | Lead tags and client groups |
| GET | /bookings | Calls: ?from=, ?to=, ?status=booked|cancelled |
| GET | /checkins | Check-in status (never answers): ?client_id=, ?status=due|submitted|reviewed|missed |
| GET | /payments | Payments: ?status=pending|succeeded|failed, ?since=, ?client_id= |
| GET | /webhooks | Webhooks this business has |
| POST | /webhooks | Subscribe: {url, events, description} (answers with the signing secret once) |
| DELETE | /webhooks/{id} | Unsubscribe |
| GET | /webhooks/samples?event= | A made-up example of an event, for testing |
Webhooks
Add an https address in Settings › Integrations › Webhooks and pick the events you want. AbanteOS sends a POST with this body within about 10 minutes, and straight away when you press Send test:
{
"id": "e7e70000-0000-4000-8000-000000000001",
"type": "lead.created",
"created_at": "2026-11-04T09:30:00.000Z",
"business_id": "…",
"data": {
"id": "1ead0000-0000-4000-8000-000000000001",
"name": "Alex Example",
"email": "alex@example.com",
"phone": "+44 7700 900123",
"source": "Instagram",
"stage": {
"id": "6f1a2b3c-0000-4000-8000-000000000001",
"name": "New lead",
"outcome": "open"
},
"created_at": "2026-11-04T09:30:00.000Z"
}
}client.createdNew client addedlead.createdNew leadlead.stage_changedLead moved to another stagecall.bookedCall bookedcall.cancelledCall cancelledpayment.succeededPayment succeededpayment.failedPayment failedcheckin.submittedCheck-in submitted (no answers)form.submittedForm submitted (no answers)funnel.submittedFunnel form submittedprogramme.assignedProgramme assigned
Retries: if your address doesn’t answer with a 2xx within 10 seconds we try again after 1 minute, 5 minutes, 30 minutes, 2, 6, 12 and 24 hours, then stop. Every try is in the delivery log, where you can send one again. After 50 failures in a row we turn the webhook off until you turn it back on. Answer 410 Gone to unsubscribe. Redirects aren’t followed, and only public https addresses are allowed.
Signatures: each request has AbanteOS-Signature: t=…,v1=…, an HMAC-SHA256 of <t>.<raw body> with your webhook’s signing secret. Reject requests older than 5 minutes and ignore an event id you’ve already seen.
// Node.js: check a webhook really came from AbanteOS
import crypto from "node:crypto";
function isFromAbanteOS(rawBody, header, secret) {
const t = /t=(\d+)/.exec(header)?.[1];
const v1 = /v1=([0-9a-f]{64})/.exec(header)?.[1];
if (!t || !v1 || Math.abs(Date.now() / 1000 - Number(t)) > 300) return false;
const want = crypto.createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
return crypto.timingSafeEqual(Buffer.from(want), Buffer.from(v1));
}Zapier, Make and n8n
Our own apps for these are coming soon. You can already connect them today:
- When something happens in AbanteOS: use the tool’s “catch webhook” trigger (Zapier: Webhooks by Zapier › Catch Hook; Make: Custom webhook; n8n: Webhook node), copy its address and add it as a webhook in AbanteOS.
- To add or update leads: use the tool’s HTTP request step with your API key in the
Authorizationheader.
AI assistants
To use AbanteOS from Claude, ChatGPT or Grok Bot, follow the AI assistant guide. It signs in with your AbanteOS account, so you don’t need an API key.