AbanteOSSettings › Integrations

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

  1. Open Settings › Integrations and choose New API key. Give it a name and tick only what it needs.
  2. Copy the key straight away. We show it once and keep only a scrambled copy.
  3. 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:read Read clients
  • leads:read Read leads
  • leads:write Add and update leads
  • bookings:read Read call bookings
  • checkins:read Read check-in status
  • payments:read Read payment status
  • programmes:read Read programmes and assignments
  • webhooks:write Subscribe 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.

MethodPathWhat it does
GET/meWhich business and permissions this key has
GET/clientsClients: ?status=ready|active|paused|departed|archived, ?created_since=
GET/clients/{id}One client: name, status, email, groups, start date
GET/clients/{id}/programmesProgrammes assigned to a client
GET/programmesYour programme library
GET/leadsLeads: ?email=, ?stage=, ?created_since=
GET/leads/{id}One lead, with stage, tags and whether a call is booked
POST/leadsAdd a lead: {name, email, phone, source, stage, tags}
PATCH/leads/{id}Move stage or tag: {stage, add_tags, remove_tags}
GET/stagesYour pipeline stages
GET/tagsLead tags and client groups
GET/bookingsCalls: ?from=, ?to=, ?status=booked|cancelled
GET/checkinsCheck-in status (never answers): ?client_id=, ?status=due|submitted|reviewed|missed
GET/paymentsPayments: ?status=pending|succeeded|failed, ?since=, ?client_id=
GET/webhooksWebhooks this business has
POST/webhooksSubscribe: {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.created New client added
  • lead.created New lead
  • lead.stage_changed Lead moved to another stage
  • call.booked Call booked
  • call.cancelled Call cancelled
  • payment.succeeded Payment succeeded
  • payment.failed Payment failed
  • checkin.submitted Check-in submitted (no answers)
  • form.submitted Form submitted (no answers)
  • funnel.submitted Funnel form submitted
  • programme.assigned Programme 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 Authorization header.

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.