API · v2.0.0
Fleet API
For Max, Ulti and anyone else on the fleet: quotes, proposals, invoices, subscriptions and payment links across brands and Stripe accounts, without the UI.
Authentication
Create a token in Settings with a label (for example "Max") and scopes. It is shown once. Send it as a bearer header on every call. Every call is written to the audit log with the token label, endpoint, time and IP.
export KB_TOKEN=kb_... curl https://hub.kyberapps.com/api/v1/me -H "Authorization: Bearer $KB_TOKEN"
Rate limit per token: 60 burst, then 1 request per second. 429 carries Retry-After. Idempotency-Key on POST replays the stored response for 1 key + token + path.
Scopes
| read | List and read everything, including proposal acceptance status. |
| quotes:write | Create and update organizations and quotes; mark quotes sent. |
| proposals:write | Create proposals from quotes, edit them, mark sent. |
| invoices:write | Create Stripe or manual invoices, send, mark paid. |
| subscriptions:write | Create subscriptions from accepted proposals, sync, set brand. |
| links:write | Create and deactivate payment links. |
| crm:write | Create and update deals (including moving stages), tasks and people (customer contacts). |
| catalog:write | Create, update, archive and restore price book products, subscription plans and coupons. |
| ap:write | Create and update vendors and bills; approve, pay and void bills (accounts payable). |
| ledger:write | Post and reverse manual journal entries, manage the chart of accounts, deferral schedules and the period close. |
| prospects:write | Push researched schools, districts and staff into the prospect Review queue (fleet research import). |
| leads:write | Post inbound leads from a product's forms to the Revenue Hub Leads inbox (POST /api/v1/leads) and product events to the account timeline (POST /api/v1/events/product). |
| sequences:write | Build and run outreach sequences: steps, enrol, pause, resume, stop, review queue, enrolment rules and the content library. Nothing sends while outreach is off. |
| comms:send | Send one email to a company from the brand's sender, and approve drafted answers to replies. Same rules, suppression and log as the dashboard composer. |
| admin | Everything, including Stripe account sync. |
Conventions
JSON bodies. Money is integer cents (unit_cents, total_cents); on quote lines you may send unit_price in dollars instead. Dates are YYYY-MM-DD. Timestamps are UTC ISO 8601. Errors are {"error": "..."} with honest status codes: 400, 401, 403, 404, 405, 409, 422, 429, 502, 503.
The whole flow in five calls
ORG=$(curl -s https://hub.kyberapps.com/api/v1/orgs -H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" -d '{"name":"Sample Academy","type":"school","enrollment":900}' | python3 -c 'import sys,json;print(json.load(sys.stdin)["id"])')
Q=$(curl -s https://hub.kyberapps.com/api/v1/quotes -H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" -d "{\"org_id\":$ORG,\"lines\":[{\"product\":\"KyberCopy\",\"qty\":1}]}" | python3 -c 'import sys,json;print(json.load(sys.stdin)["id"])')
curl -s -X POST https://hub.kyberapps.com/api/v1/quotes/$Q/send -H "Authorization: Bearer $KB_TOKEN" # share_url for the customer
P=$(curl -s https://hub.kyberapps.com/api/v1/proposals -H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" -d "{\"quote_id\":$Q,\"send\":true}" | python3 -c 'import sys,json;print(json.load(sys.stdin)["id"])')
curl -s https://hub.kyberapps.com/api/v1/proposals/$P/status -H "Authorization: Bearer $KB_TOKEN" # poll until status=accepted
curl -s https://hub.kyberapps.com/api/v1/invoices -H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" -d "{\"proposal_id\":$P,\"send\":true}"Webhooks
Add an endpoint in Settings, Webhooks (or POST /api/v1/webhook-endpoints). Each event is POSTed as JSON {id, type, created, api_version, data: {object_type, object}} with headers Kyber-Event-Id, Kyber-Event-Type, Kyber-Delivery and Kyber-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>" keyed with the endpoint secret>. Reject a signature older than 5 minutes. Answer 2xx within 8 seconds; anything else is retried after 1, 5, 30, 120 and 720 minutes (6 tries). 15 failed deliveries in a row turn the endpoint off. The same event id can arrive twice: deduplicate on it.
# Python: verify a delivery
import hmac, hashlib, time
def verify(secret, raw_body, header):
parts = dict(p.split("=", 1) for p in header.split(","))
if abs(time.time() - int(parts["t"])) > 300: return False
mac = hmac.new(secret.encode(), (parts["t"] + ".").encode() + raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(mac, parts["v1"])
| Event | When |
|---|---|
| customer.created | A customer was added (screen, API, import). |
| customer.updated | A customer's details changed. |
| quote.created | A draft quote was made. |
| quote.sent | A quote was marked sent. |
| quote.accepted | The customer accepted or signed a quote. |
| quote.declined | The customer declined a quote. |
| quote.changes_requested | The customer asked for changes on a quote. |
| proposal.sent | A proposal was marked sent. |
| proposal.signed | The customer accepted and signed a proposal. |
| proposal.declined | The customer declined a proposal. |
| invoice.created | An invoice was made (draft or a PO/check invoice). |
| invoice.issued | A draft invoice was issued and is now open. |
| invoice.paid | An invoice is paid in full. |
| invoice.voided | An invoice was voided. |
| invoice.viewed | The customer opened an invoice for the first time. |
| payment.received | A check, wire or other payment was recorded and applied. |
| credit_note.issued | A credit note was issued on an invoice. |
| deal.created | A deal was added to the pipeline. |
| deal.stage_changed | A deal moved to another open stage. |
| deal.won | A deal was won. |
| deal.lost | A deal was lost. |
| task.created | A task was added. |
| task.completed | A task was ticked done. |
| subscription.created | A subscription started (on a plan here, or from Stripe). |
| subscription.updated | A subscription's plan or quantities changed (upgrade, downgrade, seats). |
| subscription.renewed | A subscription rolled into its next term. |
| subscription.paused | Billing on a subscription was paused. |
| subscription.resumed | A paused subscription is billing again. |
| subscription.canceled | A subscription ended (canceled now, at term end, or in Stripe). |
| invoice.payment_failed | A card or bank payment on an invoice failed; collections has a case for it. |
| recurring.invoice_created | A recurring invoice schedule made its next invoice (draft or issued). |
| bill.approved | A vendor bill was approved and booked to the ledger. |
| bill.paid | A vendor bill was marked paid. |
| envelope.completed | Every signer signed; the sealed PDF is ready. |
| envelope.declined | A signer declined to sign. |
| contact.created | A person was added to a customer. |
| contact.updated | A person's name, email, phone, role or title changed. |
| contact.deleted | A person was removed from a customer. |
| lead.created | A lead arrived (API, hosted form, headless form or booking site). A repeat inside 24 hours carries repeat_of. |
| lead.updated | A lead changed: change says responded, assigned, qualified, disqualified, reopened, meeting_booked, instant_book_missed, merged (merged_from or merged_into) or sla_breached (no first reply inside the 1-business-hour SLA; once per lead). |
| meeting.booked | Someone booked a meeting or demo (booking page, embed, /pub/v1 or a sequence link). |
| meeting.rescheduled | A booked meeting moved to a new time, on the booking page, by staff or in the host's Google Calendar; previous_start says when it was (moved_by host when it was moved in Google Calendar). |
| meeting.canceled | A meeting was canceled by the person who booked it, by staff, or by the host deleting it in Google Calendar; canceled_by (visitor, staff or host_calendar) and cancel_reason say who and why. |
| meeting.held | Staff marked the meeting held. |
| meeting.no_show | Staff marked the meeting a no-show. |
| meeting.guests_changed | The person added or removed a guest on their meeting page or through /pub/v1; change (added or removed), guest {name, email} and the full guests list. |
| meeting.confirmed | The person confirmed they will attend (the Still on? link in the day-before reminder). |
| webinar.registered | Someone registered for a webinar or group demo (public page, embed or API); carries the person, school, lead_id, utm and the session. |
| webinar.attended | Staff marked a registrant as attended after a webinar or group demo. |
| meeting.transcribed | A meeting's transcript arrived in Hub (Google Meet, Granola, paste, upload or the API) or was replaced; carries transcript {source, line_count, speakers, duration_s, change} and transcript_url. The text itself stays behind GET /api/v1/meetings/{id}/transcript. |
| form.submitted | Someone submitted a product's website form (publishable key, /pub/v1 or hosted form); carries form, answers and UTM. |
| fleet.changed | Hub shipped a change for product fleet machines: the changelog entry (id, action none, recommended or required, what changed, sections, endpoints) with guide_url and ack_url. Endpoints that take any lead.* or meeting.* event get it too. |
Endpoints 322 in 13 groups
Account and pricing11
GET/api/v1/meWho am Iread
Returns the token label and scopes.
curl https://hub.kyberapps.com/api/v1/me -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/pricing-rulesPricing rulesread
The pricing rules as data: KyberCopy bands, KyberGate floor and bands, manual products, multi-year discounts.
curl https://hub.kyberapps.com/api/v1/pricing-rules -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/pricing-rules/suggestSuggest a lineread
Default description, unit and unit price for a product. requires_price=true means the price must be supplied manually.
Query: product=KyberCopy&qty=1&enrollment=900
curl https://hub.kyberapps.com/api/v1/pricing-rules/suggest?product=KyberCopy&qty=1&enrollment=900 -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/termsAgreement textread
Current Master Subscription Agreement text and version.
curl https://hub.kyberapps.com/api/v1/terms -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/stripe-accountsList Stripe accountsread
Label, Stripe account id, display name, default brand, mode, connected, webhook secret set, last sync. Never returns keys.
curl https://hub.kyberapps.com/api/v1/stripe-accounts -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/stripe-accounts/{id}/syncSync one Stripe accountadmin
id is the label or numeric id. full: true also walks products and quotes (the Import existing action). Read-only against Stripe.
curl -X POST https://hub.kyberapps.com/api/v1/stripe-accounts/1/sync \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"full": false}'GET/api/v1/brandsList brandsread
Every brand with legal name, address, support email, website, tax id, accent, logo URL, price family, invoice prefix, its own Stripe account (or null) and bills_from (the account its money goes to: its own, else the umbrella's; null when its own account is disconnected).
Query: archived=1
curl https://hub.kyberapps.com/api/v1/brands?archived=1 -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/brands/{key}Get brandread
One brand plus usage counts (customers, quotes, proposals, invoices, subscriptions, payment links, products).
curl https://hub.kyberapps.com/api/v1/brands/{key} -H "Authorization: Bearer $KB_TOKEN"POST/api/v1/brandsCreate brandadmin
key (optional, from name), name, tagline, legal_name, accent (hex, 3:1 on white), family, support_email, website, address, tax_id, default_terms, payment_text. Connect its Stripe account in Settings, Brands.
curl -X POST https://hub.kyberapps.com/api/v1/brands \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"name": "KyberLearn", "accent": "#5B3FD6", "support_email": "hello@kyberapps.com"}'PATCH/api/v1/brands/{key}Update or archive brandadmin
Any brand field; archived: true hides it from pickers and keeps history (the umbrella cannot be archived).
curl -X PATCH https://hub.kyberapps.com/api/v1/brands/{key} \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"tagline": "Learning platform", "archived": false}'GET/api/v1/dashboardDashboard numbersread
MRR, ARR, open, overdue, paid YTD, active subscriptions, pilots: total, per brand and per Stripe account.
Query: brand=&account=
curl https://hub.kyberapps.com/api/v1/dashboard?brand=&account= -H "Authorization: Bearer $KB_TOKEN"
Customers and CRM72
GET/api/v1/orgsList organizationsread
Each org carries tags (list of strings). tag= narrows to one segment (case-insensitive).
Query: search=&tag=
curl https://hub.kyberapps.com/api/v1/orgs?search=&tag= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/tagsList tagsread
Every customer tag with how many customers carry it, most used first.
curl https://hub.kyberapps.com/api/v1/tags -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/orgsCreate organizationquotes:write
type is school, district or other. contacts is a list of {name,email,phone,role}. products is a list of product names.
curl -X POST https://hub.kyberapps.com/api/v1/orgs \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"name": "Sample Academy", "type": "school", "address": "1 Main St, Albany, NY", "enrollment": 900, "contacts": [{"name": "Dana Lee", "email": "dlee@sample.edu", "phone": "", "role": "IT Director"}], "products": ["KyberCopy"], "tax_exempt": true, "tax_exempt_no": "EX-12345", "tags": ["Renewal 2027"]}'GET/api/v1/orgs/{id}Get organizationread
Includes the org's quotes, proposals and invoices.
curl https://hub.kyberapps.com/api/v1/orgs/1 -H "Authorization: Bearer $KB_TOKEN"
PATCH/api/v1/orgs/{id}Update organizationquotes:write
Send only the fields you want to change. tags replaces the customer's tags with exactly this list (max 20, 32 characters each).
curl -X PATCH https://hub.kyberapps.com/api/v1/orgs/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"enrollment": 1200, "tags": ["Renewal 2027", "Board approval"]}'GET/api/v1/orgs/{id}/creditCustomer creditread
credit_cents (US dollars), credit_by_currency, and the received payments it sits on with their currency, oldest first.
curl https://hub.kyberapps.com/api/v1/orgs/1/credit -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/orgs/{id}/credit/applyApply customer creditinvoices:write
applications: [{invoice_id, amount_cents}]. Oldest credit is used first.
curl -X POST https://hub.kyberapps.com/api/v1/orgs/1/credit/apply \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"applications": [{"invoice_id": 9, "amount_cents": 20000}]}'POST/api/v1/orgs/{id}/portalCustomer portal sessionread
Short-lived Stripe customer-portal URL for the org (invoice history, payment methods, billing details; cancel is off). account optional.
curl -X POST https://hub.kyberapps.com/api/v1/orgs/1/portal \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"account": "kyber-systems"}'POST/api/v1/prospects/importImport researched prospectsprospects:write
Fleet research import. accounts: up to 200 schools or districts, each with up to 50 people. Any field may be a plain value or {value, source_url, confidence (0 to 1), found_at (YYYY-MM-DD), notes}; account-level source_url, confidence, found_at and research_notes are the default for its fields and people. Everything lands in the Review queue (/prospects/review); nothing is created or emailed until a person accepts it. Student-pattern and personal mailbox addresses are dropped and counted in blocked_people. Bad accounts come back per index with status invalid and do not stop the rest. Send an Idempotency-Key to retry safely. Schema: GET /api/v1/prospects/import/schema.
curl -X POST https://hub.kyberapps.com/api/v1/prospects/import \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"batch": {"ref": "ny-westchester-2026-11", "brand": "kybergate", "brief": "Westchester public districts, tech directors"}, "accounts": [{"name": "Sample Union Free School District", "type": "district", "nces_id": "3600001", "state": "NY", "county": "Westchester", "website": "sampleufsd.org", "enrollment": 4200, "locale": "suburb", "source_url": "https://nces.ed.gov/ccd/districtsearch/", "confidence": 0.9, "found_at": "2026-11-25", "people": [{"name": "Dana Lee", "title": "Director of Technology", "email": {"value": "dlee@sampleufsd.org", "source_url": "https://sampleufsd.org/staff", "confidence": 0.8}}]}]}'POST/api/v1/leadsSend an inbound lead (Revenue Hub)leads:write
Every product's demo, pricing, signup, trial and contact forms post here. source: demo_request, pricing_page, signup, trial_start, contact_form, chat, referral, webinar or import. school {name, website, state, type (school or district), kind (public, charter, private, religious), enrollment}; person {name, email (required), phone, title, role}; product_interest: brand keys; message; utm_source, utm_medium, utm_campaign, utm_term, utm_content (or utm {...}); page_url; consent; external_id (a repeat with the same external_id returns the first lead with 200). A product token posts only its own brand. The lead joins the school's account (person's email, then NCES ID, website, staff email domain or name), sets lifecycle Engaged (MQL for demo_request and trial_start), routes to an owner, and makes a 1-business-hour reply task. Student accounts are refused with 422. Nothing is emailed to the person. Returns 201 with the lead.
curl -X POST https://hub.kyberapps.com/api/v1/leads \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"source": "demo_request", "product_interest": ["kyberaccess"], "school": {"name": "Sample Union Free School District", "state": "NY", "type": "district", "enrollment": 4200}, "person": {"name": "Dana Lee", "email": "dlee@sampleufsd.org", "title": "Director of Technology"}, "message": "Demo for 6 buildings, please.", "utm_source": "google", "page_url": "https://kyberaccess.com/demo", "consent": true, "external_id": "ka-form-123"}'POST/api/v1/events/productSend a product event (Revenue Hub timeline)leads:write
What a person or school does in your product: event signup, trial_start, trial_end, activated, milestone (label required), upgrade, downgrade or cancellation. account {external_id (your customer id, as in the billing import), name, state, type, website, nces_id}; person {name, email, title}; occurred_at (ISO 8601 or Unix seconds, default now); label; plan; value_cents; properties (object, up to 4,000 characters); external_id (a repeat returns the first event with 200). Or {events: [...]} up to 100, with a result per index. The event joins the account (external_id, then the person's email, then the school), shows on the company and person timelines, and adds to the engagement score. signup makes the account Engaged and trial_start MQL (never backwards); only those two may add a new prospect, any other unmatched event is refused with 422. A trial start tells the owner; a cancellation at a paying account makes a save task. A product token posts only its own brand. Students are refused. test=true checks it and writes nothing. Returns 201.
curl -X POST https://hub.kyberapps.com/api/v1/events/product \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"event": "trial_start", "account": {"external_id": "acct_8812", "name": "Sample Union Free School District", "state": "NY"}, "person": {"name": "Dana Lee", "email": "dlee@sampleufsd.org", "title": "Director of Technology"}, "plan": "Pro trial", "occurred_at": "2026-11-26T15:04:05Z", "properties": {"devices": 40}, "external_id": "evt_1001"}'GET/api/v1/events/productList product eventsread
Newest first. A product token sees only its own brand's events.
Query: event=&org_id=&limit=
curl https://hub.kyberapps.com/api/v1/events/product?event=&org_id=&limit= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/events/product/{id}Get product eventread
One product event with the account it joined, the stage it moved to and the timeline link.
curl https://hub.kyberapps.com/api/v1/events/product/1 -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/leadsList leadsread
Newest first. A product token sees only its own brand's leads. status: open, new, working, qualified or disqualified.
Query: status=open&source=
curl https://hub.kyberapps.com/api/v1/leads?status=open&source= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/leads/reportLead report (speed to lead and conversion)read
PL12: days 7, 30, 90 or 365. leads, answered, met (first reply inside the 1-business-hour SLA), met_rate, median and p90 business minutes to first reply, overdue, meetings, deals, won and their rates, grades {A, B, C, D}, by_source and by_brand (leads, meetings, deals, won, meeting_rate, deal_rate, win_rate, avg_score) and by_owner (leads, answered, met_rate, median, p90, overdue). A product token sees only its own brand.
Query: days=30&brand=
curl https://hub.kyberapps.com/api/v1/leads/report?days=30&brand= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/leads/{id}Get leadread
One lead with its account, owner, SLA state (due, soon, overdue, answered), first touch and score {total 0 to 100, grade A to D, parts [{group, label, points}]} (PL12) enrichment {status (none, pending, done, failed, skipped), domain, website, site_name, logo, enrollment, enrollment_band, error, enriched_at} and merged_into (PL14).
curl https://hub.kyberapps.com/api/v1/leads/1 -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/prospects/import/schemaProspect import JSON schemaread
The JSON schema for the import body, with the sourcing rules.
curl https://hub.kyberapps.com/api/v1/prospects/import/schema -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/prospects/matchDoes this prospect exist?read
Check before researching or importing: companies that look like this school or district (same NCES ID, PSS ID for private schools, or website, staff email domain, same or similar name in the state), strongest first, each with why and a level (exact, likely, possible). Different NCES IDs, states, counties, school levels or a school versus a district never match.
Query: name=&state=&website=&nces_id=&pss_id=&type=
curl https://hub.kyberapps.com/api/v1/prospects/match?name=&state=&website=&nces_id=&pss_id=&type= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/prospects/supplyResearch supply gate (LE2)read
Ask before each research batch: pause (true or false) and reason (Review never pauses research while auto-accept is on; otherwise pause while more than 50 wait), auto_accept, waiting, cadence_hours, batch_max, next {segment A, B or C, label, state, have} (the segment and state with the fewest schools), target, verified (decision makers with a buying role and a verified email), pace_per_day, needed_per_day, days_left, segments.
curl https://hub.kyberapps.com/api/v1/prospects/supply -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/prospects/briefsList research briefsread
Research briefs for the fleet (Prospects, Research briefs): what to find (states, kinds, enrollment bands, roles), what to verify, the brief text, and progress (requested, returned, pending, accepted, rejected, people). status: open (default), draft, requested, returned, closed or all. Send a brief's ref as batch.brief_ref on POST /api/v1/prospects/import and the batch counts against it.
Query: status=open
curl https://hub.kyberapps.com/api/v1/prospects/briefs?status=open -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/prospects/briefs/{id}Get research briefread
One brief by id or ref, with its full text and progress.
curl https://hub.kyberapps.com/api/v1/prospects/briefs/1 -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/prospects/growthGrowth dashboardread
GE5: the monthly plan (target, average deal, win rate, meeting and contact rates, coverage, each with set_by you, history or typical), what it takes (need: deals, open deals, pipeline, meetings a month, accounts to contact a week), this month's actuals, the funnel per brand with stage conversion, this week against last week, the sequence leaderboard, research brief ROI and source ROI. Money in cents.
Query: brand=
curl https://hub.kyberapps.com/api/v1/prospects/growth?brand= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/prospects/nurtureNurture and expand segmentsread
GE7: the four segments in order (renewal, cross_sell, lost, not_now), each with on, sequence_id, settings (window, brand, rest, lookback, max_per_run), accounts (org_id, name, why, brand, people, first 200), accounts_n, would_enrol, eligible and refused reasons with counts; sending tells whether outreach is on. Read only: nobody is enrolled while outreach sending is off.
curl https://hub.kyberapps.com/api/v1/prospects/nurture -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/prospects/pipelinePipeline reviewread
GE6: this week's pipeline review. totals (open, weighted, stuck, closing this month), this_week and last_week counts (moved, created, advanced, won, won_cents, lost, reopened), moved deals with their events, stuck deals with reasons (rotting, no_next, late, no_value), deals closing this month, the top 10 by value, and the owner workload (open deals, stuck, tasks, overdue, due today, replies waiting, open leads, meetings in 7 days, load). owner is a user id or none. Money in cents.
Query: brand=&owner=
curl https://hub.kyberapps.com/api/v1/prospects/pipeline?brand=&owner= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/prospects/batches/{id}Import batch statusread
Counts for one import batch: accounts, people, blocked, invalid, and how many are pending, accepted and rejected.
curl https://hub.kyberapps.com/api/v1/prospects/batches/1 -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/dealsList dealsread
Pipeline deals with stage, value, weighted value, probability, owner, expected close and idle days. status: open, won, lost. Also returns the stages.
Query: status=&org_id=&owner_id=&brand=
curl https://hub.kyberapps.com/api/v1/deals?status=&org_id=&owner_id=&brand= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/deal-stagesDeal stagesread
Pipeline stages in board order with kind (open, won, lost) and probability, plus lost_reasons: the pick list a Lost move must use.
curl https://hub.kyberapps.com/api/v1/deal-stages -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/deals/{id}Get dealread
One deal with its last 100 events (stage moves, edits, quotes, tasks).
curl https://hub.kyberapps.com/api/v1/deals/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/dealsCreate dealcrm:write
title and org_id are required. value in dollars (or omitted to estimate from products), stage_id (default the first stage), owner_id, expected_close (YYYY-MM-DD), probability, source, notes, contact_ids.
curl -X POST https://hub.kyberapps.com/api/v1/deals \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"title": "District renewal 2027", "org_id": 1, "value": "18000", "expected_close": "2027-03-31", "source": "Existing customer"}'PATCH/api/v1/deals/{id}Update or move dealcrm:write
Any deal field; stage_id or stage (key or name) moves it. Moving to a Lost stage needs lost_reason from GET /deal-stages lost_reasons (case ignored); any other text is saved as Other with the text in lost_note, or refused with 422 when Other is not on the list. Fires deal.stage_changed, deal.won or deal.lost.
curl -X PATCH https://hub.kyberapps.com/api/v1/deals/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"stage": "won"}'POST/api/v1/deals/{id}/billBill a won dealinvoices:write
how: quote (quote_id of an accepted quote on the deal), products (the deal's products at list price; terms optional) or plan (plan_id, optional qty_<SKU>, start, terms, trial_days). Makes a draft invoice or a native subscription linked to the deal. Nothing is emailed or charged.
curl -X POST https://hub.kyberapps.com/api/v1/deals/1/bill \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"how": "quote", "quote_id": 12}'GET/api/v1/tasksList tasksread
Tasks with due date, owner, priority, the record they belong to and bucket (overdue, today, upcoming, nodate, done).
Query: status=&owner_id=&record_type=&record_id=
curl https://hub.kyberapps.com/api/v1/tasks?status=&owner_id=&record_type=&record_id= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/tasks/{id}Get taskread
curl https://hub.kyberapps.com/api/v1/tasks/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/tasksCreate taskcrm:write
title is required. due_date, due_time (HH:MM), owner_id, priority (low, normal, high), record_type (deal, customer, contact, quote, invoice, proposal) with record_id.
curl -X POST https://hub.kyberapps.com/api/v1/tasks \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"title": "Call about the renewal", "due_date": "2026-12-01", "priority": "high", "record_type": "customer", "record_id": 1}'PATCH/api/v1/tasks/{id}Update or complete taskcrm:write
Any task field; done: true ticks it (fires task.completed), done: false reopens it.
curl -X PATCH https://hub.kyberapps.com/api/v1/tasks/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"done": true}'GET/api/v1/eventsList eventsread
Everything that fired a webhook, newest first, kept even when no endpoint listens. type filters (invoice.paid, or invoice.* for a group). Page with before=<next_before>.
Query: type=&limit=&before=
curl https://hub.kyberapps.com/api/v1/events?type=&limit=&before= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/events/{id}Get eventread
One event by evt_ id, with the object as it was when it happened.
curl https://hub.kyberapps.com/api/v1/events/1 -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/peopleList peopleread
Every contact across customers with customer name and brand, billing and signer flags. role: billing or signer. A product token sees its brand's customers only.
Query: search=&org_id=&brand=&role=
curl https://hub.kyberapps.com/api/v1/people?search=&org_id=&brand=&role= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/people/{id}Get personread
One contact with the customer and the saved email check (valid, risky, invalid, unchecked).
curl https://hub.kyberapps.com/api/v1/people/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/peopleAdd personcrm:write
org_id and a name or email are required. Also phone, role, title, note, billing (makes them the billing contact), signer.
curl -X POST https://hub.kyberapps.com/api/v1/people \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"org_id": 1, "name": "Dana Lee", "email": "dlee@sample.edu", "title": "Business manager", "billing": true}'PATCH/api/v1/people/{id}Update personcrm:write
Any field from add; omitted fields keep their value. billing: true moves the billing contact to this person.
curl -X PATCH https://hub.kyberapps.com/api/v1/people/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"phone": "518-555-0100", "signer": true}'POST/api/v1/people/{id}/deleteDelete personcrm:write
Removes the contact. If they were the billing contact, the next person with an email takes over.
curl -X POST https://hub.kyberapps.com/api/v1/people/1/delete \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'PATCH/api/v1/leads/{id}Update leadcrm:write
As on the lead page: status working, qualified (account moves to SQL) or disqualified with reason; owner_id; answered: true marks it responded (stops the reply clock, ticks the task); deal_id (with deal_role) puts the lead's person on a deal at the same company. Fires lead.updated when PL3 webhooks are on.
curl -X PATCH https://hub.kyberapps.com/api/v1/leads/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"status": "working", "answered": true, "owner_id": 2}'GET/api/v1/leads/{id}/duplicatesList duplicate leadsread
PL14: other leads from the same person (same email, or matched to the same person in Hub) that are not repeats and not merged, newest first, each in the GET /api/v1/leads/{id} shape. A product token sees only its own brand.
curl https://hub.kyberapps.com/api/v1/leads/1/duplicates -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/leads/{id}/mergeMerge duplicate leadcrm:write
PL14: duplicate_id is folded into this lead: its details fill blanks here, product interest, UTM and answers are joined, the earliest first reply is kept, and its meetings, one-time links, webinar registrations and Freshdesk tickets move here. The duplicate closes as disqualified (Duplicate) with merged_into, so reports count the person once. lead.updated fires on both with change merged. 422 when the leads are not the same person.
curl -X POST https://hub.kyberapps.com/api/v1/leads/1/merge \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"duplicate_id": 118}'POST/api/v1/leads/{id}/convertConvert lead to dealcrm:write
A deal for the lead's account, brand, products and people prefilled from the account (title, value, owner_id, expected_close, stage_id override). Account to Opportunity.
curl -X POST https://hub.kyberapps.com/api/v1/leads/1/convert \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/orgs/{id}/lifecycleSet lifecycle stagecrm:write
stage: target, prospect, contacted, engaged, mql, sql, opportunity, customer, churned or disqualified (with reason). Same history as the funnel board.
curl -X POST https://hub.kyberapps.com/api/v1/orgs/1/lifecycle \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"stage": "sql"}'PATCH/api/v1/orgs/{id}/profileUpdate school datacrm:write
nces_id, pss_id, school_type, grade_lo, grade_hi, state, county, locale, title_i, frl_pct, devices, vendor, fy_start, district_id, source, interest (brand keys).
curl -X PATCH https://hub.kyberapps.com/api/v1/orgs/1/profile \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"devices": 900, "interest": ["kyberaccess"]}'GET/api/v1/orgs/{id}/duplicatesPossible duplicatesread
Companies that look like this one (same NCES ID, website, staff email domain or name), with why and level.
curl https://hub.kyberapps.com/api/v1/orgs/1/duplicates -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/orgs/{id}/mergeMerge companiescrm:write
drop_id is folded into this company: every quote, invoice, payment, deal, task, file, note and person moves, then drop_id is deleted. Cannot be undone: confirm: true is required. A product token merges only companies filed under its brand.
curl -X POST https://hub.kyberapps.com/api/v1/orgs/1/merge \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"drop_id": 42, "confirm": true}'POST/api/v1/orgs/{id}/convertConvert account to dealcrm:write
As the funnel board's Convert to deal: brand, products sized from enrollment or devices, people and close date prefilled; account to Opportunity.
curl -X POST https://hub.kyberapps.com/api/v1/orgs/1/convert \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'PATCH/api/v1/people/{id}/prospectUpdate buying rolecrm:write
committee (buying committee role), personas (brand keys), lifecycle, source.
curl -X PATCH https://hub.kyberapps.com/api/v1/people/1/prospect \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"committee": "it_director"}'POST/api/v1/people/{id}/mergeMerge peoplecrm:write
drop_id (same company) is folded into this person: blanks filled, links and history moved, drop_id deleted.
curl -X POST https://hub.kyberapps.com/api/v1/people/1/merge \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"drop_id": 77}'POST/api/v1/deals/{id}/deleteDelete dealcrm:write
Removes the deal; its quotes stay and lose the link.
curl -X POST https://hub.kyberapps.com/api/v1/deals/1/delete \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/deals/{id}/quoteQuote from dealquotes:write
Draft quote from the deal's products, linked to the deal. 422 when a product needs a price typed in.
curl -X POST https://hub.kyberapps.com/api/v1/deals/1/quote \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/tasks/{id}/deleteDelete taskcrm:write
Removes the task.
curl -X POST https://hub.kyberapps.com/api/v1/tasks/1/delete \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/tasks/{id}/snoozeSnooze taskcrm:write
days: 1 (tomorrow) or 7 (a week), as the Tasks page.
curl -X POST https://hub.kyberapps.com/api/v1/tasks/1/snooze \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"days": 1}'POST/api/v1/tasks/bulkBulk taskscrm:write
ids (up to 500) and action done, tomorrow, week or delete. Tasks outside the token's brand are skipped and listed.
curl -X POST https://hub.kyberapps.com/api/v1/tasks/bulk \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"ids": [1, 2], "action": "done"}'GET/api/v1/orgs/{id}/briefGet account AI briefread
AI4b. What to know before the call: headline, know, watch_out, ask (lists of short strings), model, stale (the account changed since). 404 when none was made.
curl https://hub.kyberapps.com/api/v1/orgs/1/brief -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/people/{id}/briefGet person AI briefread
AI4b2. What to know before a call with this person: headline, know, watch_out, ask (lists of short strings), model, stale (the person changed since). 404 when none was made.
curl https://hub.kyberapps.com/api/v1/people/1/brief -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/deals/{id}/briefGet deal AI briefread
AI4b2. Where this deal stands: headline, know, watch_out, ask (lists of short strings), model, stale (the deal changed since). Brand-scoped. 404 when none was made.
curl https://hub.kyberapps.com/api/v1/deals/1/brief -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/leads/{id}/enrichmentGet lead AI suggestionsread
AI4c. suggestions [{field, label, value, why, status (pending, accepted, dismissed, skipped), ai_suggested}] for school_type, grade_lo, grade_hi, locale, state, enrollment, devices, vendor, committee and needs, made from what the lead sent and the stored school data; model, stale (the lead changed since). Every value stays AI-suggested until a person accepts it on the lead page. 404 when none.
curl https://hub.kyberapps.com/api/v1/leads/1/enrichment -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/orgs/{id}/emailsEmail the companycomms:send
One email from the brand's sender through the dashboard composer: to (addresses) or contact_ids, cc, subject, body ({link} and merge fields), event (template key), schedule. Tracked and logged on the record; held on the server while MAIL_MODE=log. Suppressed, student and personal addresses are refused (422). To a company that is not a customer this is outreach: 409 while outreach sending is off.
curl -X POST https://hub.kyberapps.com/api/v1/orgs/1/emails \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"contact_ids": [9], "subject": "Rebooking your demo", "body": "Hi {contact_first_name}, pick any time here: https://hub.kyberapps.com/book/kyberaccess/demo"}'GET/api/v1/orgs/{id}/emailsList company emailsread
Every email Hub sent to the company, newest first.
curl https://hub.kyberapps.com/api/v1/orgs/1/emails -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/prospectsProspect accountsread
The Prospects list builder as data, with the funnel counts per lifecycle stage.
Query: stage=&state=&school_type=&band=&owner=&list=&brand=&q=&limit=
curl https://hub.kyberapps.com/api/v1/prospects?stage=&state=&school_type=&band=&owner=&list=&brand=&q=&limit= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/prospects/reviewReview queueread
Researched accounts waiting (pending), accepted or rejected, with the match and the account as sent.
Query: status=&batch_id=&search=
curl https://hub.kyberapps.com/api/v1/prospects/review?status=&batch_id=&search= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/prospects/review/{id}Get review itemread
curl https://hub.kyberapps.com/api/v1/prospects/review/1 -H "Authorization: Bearer $KB_TOKEN"
PATCH/api/v1/prospects/review/{id}Edit review itemprospects:write
Correct account fields before accepting.
curl -X PATCH https://hub.kyberapps.com/api/v1/prospects/review/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"county": "Westchester"}'POST/api/v1/prospects/review/{id}/acceptAccept review itemprospects:write
Creates the company (or fills the matched one) and its people. list_id, stage (target to opportunity), skip_people (indexes), owner_id, as_new. Nobody is enrolled or emailed.
curl -X POST https://hub.kyberapps.com/api/v1/prospects/review/1/accept \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"list_id": 4, "stage": "prospect"}'POST/api/v1/prospects/review/{id}/rejectReject review itemprospects:write
reason.
curl -X POST https://hub.kyberapps.com/api/v1/prospects/review/1/reject \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"reason": "Not a fit"}'GET/api/v1/orgs/{id}/statementCustomer statementread
Balance forward, every invoice, payment, credit and refund with a running balance, and aging.
Query: start=&end=¤cy=
curl https://hub.kyberapps.com/api/v1/orgs/1/statement?start=&end=¤cy= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/orgs/{id}/statement/emailEmail statementinvoices:write
start, end, to (default billing contact), cc, mode activity or open. PDF attached; held while MAIL_MODE=log.
curl -X POST https://hub.kyberapps.com/api/v1/orgs/1/statement/email \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"start": "2026-07-01", "end": "2026-11-30"}'Meetings33
GET/api/v1/meetingsList meetingsread
when: upcoming (default), past or canceled. Each meeting: status, start, end, host_id, cohost_ids (collective), assigned_by (why round robin picked that host), person, school, company, deal, lead, outcome, cancel_reason, booked_outside_hub. host_id also matches co-hosts.
Query: when=&host_id=&brand=&org_id=
curl https://hub.kyberapps.com/api/v1/meetings?when=&host_id=&brand=&org_id= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/meetings/reportMeetings report (analytics)read
PL13: days 7, 30, 90 or 365; meetings that started in the period. meetings, held, no_show, canceled, needs_outcome, no_show_rate (no-shows over meetings with an outcome), deals and deal_rate (held demos with a deal), won and win_rate, upcoming, booked_in_period, leads, leads_with_meeting, lead_to_meeting_rate, time_to_first_meeting {median_min, p90_min, within_7_days_rate}, booking_lead_time {median_min}, and the same counts and rates by_rep, by_brand, by_source (the lead's source, else utm_source, else how it was booked) and by_type. A product token sees only its own brand.
Query: days=30&brand=
curl https://hub.kyberapps.com/api/v1/meetings/report?days=30&brand= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/meetings/{id}Get meetingread
One meeting with its outcome, next step and manage link (Hub bookings).
curl https://hub.kyberapps.com/api/v1/meetings/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/meetingsRecord a meeting booked outside Hubcrm:write
A demo or call booked by calendar invite, phone or your own scheduler. type_id (or your brand's booking page), start (UTC), duration_min, contact_id or name, email and school, org_id, deal_id, lead_id, notes, status (booked, held, no_show, canceled), cancel_reason, host_id. The company and person are matched or created like a booking. No email, no slot check.
curl -X POST https://hub.kyberapps.com/api/v1/meetings \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"lead_id": 115, "start": "2026-12-01T15:00:00Z", "status": "booked", "notes": "Booked on Zoom"}'PATCH/api/v1/meetings/{id}Meeting outcomecrm:write
status held or no_show, staff_notes, next_step. Logs the activity on the deal. Cancel with /cancel. PL9: no_show runs the brand's no-show flow once (rebook email to the person, rebook task for the host); the meeting's reminders block shows it.
curl -X PATCH https://hub.kyberapps.com/api/v1/meetings/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"status": "held", "next_step": "Send quote"}'GET/api/v1/reminder-settingsGet reminder settingsread
PL9. brand (a product token uses its own). confirm (Still on? link in the day-before reminder), no_show_flow, sms, sms_provider_ready, templates {reminder_24, reminder_1, noshow, sms: {subject, body, custom}} with the standard wording when not customised, and the merge fields.
curl https://hub.kyberapps.com/api/v1/reminder-settings -H "Authorization: Bearer $KB_TOKEN"
PATCH/api/v1/reminder-settingsUpdate reminder settingscrm:write
PL9. confirm, no_show_flow, sms (true needs the SMS provider key on the server, else 422) and templates {key: {subject, body}}; blank goes back to the standard wording. Unknown merge fields are refused; the no-show email must keep {rebook_url}.
curl -X PATCH https://hub.kyberapps.com/api/v1/reminder-settings \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"confirm": true, "templates": {"reminder_24": {"subject": "Tomorrow: {meeting}", "body": "Hi {first_name}, see you {when}. {confirm_line}{manage_url}"}}}'POST/api/v1/meetings/{id}/cancelCancel meetingcrm:write
reason is required. Same as the Meetings page: the Google Calendar event is removed, the activity is logged on the deal, meeting.canceled fires. A Hub booking's cancellation email goes through the outbox (held while MAIL_MODE=log); a meeting recorded from outside Hub sends none.
curl -X POST https://hub.kyberapps.com/api/v1/meetings/1/cancel \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"reason": "Canceled by phone, wants next week"}'POST/api/v1/meetings/{id}/rescheduleReschedule meetingcrm:write
start: a UTC time from GET /meeting-types/{id}/slots. Hub bookings are slot-checked (409 when taken) and get the updated invite.
curl -X POST https://hub.kyberapps.com/api/v1/meetings/1/reschedule \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"start": "2026-12-03T16:00:00Z"}'POST/api/v1/meetings/{id}/dealDeal for meetingcrm:write
The open deal for this meeting's brand at the company, or a new one.
curl -X POST https://hub.kyberapps.com/api/v1/meetings/1/deal \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/meetings/{id}/transcriptAdd meeting transcriptcrm:write
AI3b. The transcript Google Meet or Granola made (Hub never joins calls). lines [{speaker, start_s, text}] or text in any common export (plain "Speaker: text", the Meet Doc, WebVTT, SRT, Granola Markdown, JSON); source granola, meet or api; external_id optional. The same content again answers 200 with change unchanged; new content replaces the old (200 replaced). A booked meeting is marked held. Made and replaced fire meeting.transcribed. 409 when the meeting is marked Do not transcribe, canceled or has not started.
curl -X POST https://hub.kyberapps.com/api/v1/meetings/1/transcript \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"source": "granola", "lines": [{"speaker": "Dana Lee", "start_s": 4, "text": "We have 1,200 Chromebooks."}]}'GET/api/v1/meetings/{id}/transcriptGet meeting transcriptread
AI3b. lines [{speaker, start_s, text}], speakers, line_count, duration_s, source. 404 when there is none.
curl https://hub.kyberapps.com/api/v1/meetings/1/transcript -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/meetings/{id}/summaryGet meeting AI summaryread
AI3c. attendees [{name, role, school}], pains, current_tools, products_of_interest, objections, budget_and_timing, next_steps, suggested_tasks [{title, due_in_days, accepted}], model, stale (the transcript changed since). 404 when there is none.
curl https://hub.kyberapps.com/api/v1/meetings/1/summary -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/meetings/{id}/workspaceGet meeting workspaceread
PL8. brief {company, committee [{name, title, email, deal_role, booked}], lead {source, message, answers}, deals, emails, usage (product events), meetings, tasks}, agenda [{text, done}] (copied from the meeting type's agenda template), notes, outcome_reason, next_step, next_due, recap {subject, body, saved, message_id, sent_at} and followup_task. Read only; built from Hub's records, no AI. PL8b: ai {available, account_brief {headline, know, watch_out, ask, model, stale} (the company's stored AI brief, null when none), agenda_suggestion {items, why, model, stale, used_at} (null when none)}.
curl https://hub.kyberapps.com/api/v1/meetings/1/workspace -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/meetings/{id}/agenda-suggestionSuggest meeting agenda with AIcrm:write
PL8b. Behind Settings, AI, Account brief. AI suggests 3 to 7 agenda items from the account facts, the meeting type's template and why they booked (no email addresses or phones are sent). Stored as a suggestion; use true also puts it on the agenda (ticked items stay); again true asks again. Returns the workspace. 503 when AI or the feature is off or over budget; 422 for a canceled meeting.
curl -X POST https://hub.kyberapps.com/api/v1/meetings/1/agenda-suggestion \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"use": true}'PATCH/api/v1/meetings/{id}/workspaceUpdate meeting workspacecrm:write
agenda [{text, done}] (up to 20), notes (internal; lines starting with + go in the recap), status held or no_show, outcome_reason (next_meeting, proposal, trial, nurture, not_fit, no_decision), next_step, next_due YYYY-MM-DD. Omitted fields stay. A status change works like PATCH /meetings/{id} (activity, deal, lifecycle, webhooks).
curl -X PATCH https://hub.kyberapps.com/api/v1/meetings/1/workspace \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"agenda": [{"text": "Live walkthrough", "done": true}], "status": "held", "outcome_reason": "proposal", "next_step": "Send pricing for 3 buildings", "next_due": "2026-12-04"}'POST/api/v1/meetings/{id}/recapSend meeting recapcomms:send
Emails the recap to the person from the brand's address: subject and body default to the saved or generated draft (covered agenda items, notes marked +, next step); to defaults to the person. dry_run true returns the draft only. Held on the server while MAIL_MODE=log. 422 for a canceled meeting.
curl -X POST https://hub.kyberapps.com/api/v1/meetings/1/recap \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"dry_run": true}'POST/api/v1/meetings/{id}/recap-draftDraft meeting recap with AIcrm:write
PL8c. Behind Settings, AI, Draft with AI. AI writes the recap email from the covered agenda items, notes marked +, the next step and the AI summary of the transcript when there is one (internal notes, email addresses and phones are not sent). Stored as the recap draft; nothing is sent (POST /meetings/{id}/recap sends it). Returns the workspace; recap.ai_model names the model. 503 when AI or the feature is off or over budget; 422 for a canceled meeting or when nothing is covered, noted or agreed yet.
curl -X POST https://hub.kyberapps.com/api/v1/meetings/1/recap-draft \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/meetings/{id}/followupFollow-up task for meetingcrm:write
One task for the next step, owned by the host, on the deal (else the person, else the company); title and due_date optional (default: the next step, due next_due or in two business days). Calling it again updates the same open task.
curl -X POST https://hub.kyberapps.com/api/v1/meetings/1/followup \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"due_date": "2026-12-04"}'GET/api/v1/meeting-typesList meeting typesread
Booking pages per brand and per person, with url, length, host and active.
Query: brand=
curl https://hub.kyberapps.com/api/v1/meeting-types?brand= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/meeting-types/{id}Get meeting typeread
curl https://hub.kyberapps.com/api/v1/meeting-types/1 -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/meeting-types/{id}/slotsOpen slotsread
Open start times (UTC) for the next days (default 14, at most 21), and the booking_url to send for rebooking.
Query: days=
curl https://hub.kyberapps.com/api/v1/meeting-types/1/slots?days= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/meeting-typesCreate meeting typecrm:write
name, scope brand or user (a person's own booking page), host_id, slug, duration_min, buffer_before_min and buffer_after_min (buffer_min sets both), notice_min (minimum notice), window_days (bookable up to N days ahead, 1 to 90, default 21), max_per_day, max_per_week, holidays none or us (closed on US federal holidays), secret (unlisted: left off the team page, booking-links and /fleet), location_kind meet or phone, location, description, active, assign single, round_robin (the next free teammate: priority, then fewest meetings that week) or collective (every teammate free and attending), team [{user_id, priority 1 high, 2 normal, 3 low}] for round robin and collective.
curl -X POST https://hub.kyberapps.com/api/v1/meeting-types \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"name": "KyberAccess follow-up", "host_id": 2, "duration_min": 20}'POST/api/v1/meeting-types/{id}/single-use-linksMake single-use booking linkcrm:write
PL10. A link that books this meeting type once, filled in for one person, then stops working (410). lead_id (fills name, email, school and role and links the meeting to the lead) or name, email, school, role; note; expires_days 1 to 90 (default 14). Works for unlisted types. -> url, state (open), expires_at.
curl -X POST https://hub.kyberapps.com/api/v1/meeting-types/1/single-use-links \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"lead_id": 12, "expires_days": 7}'GET/api/v1/webinarsList webinarsread
PL11. when upcoming (default), past or canceled; brand (a product token sees its own). -> webinars [{id, brand, kind webinar or group_demo, title, start, end, when, capacity, registered, seats_left, full, attended, no_shows, status, register_url, recording_url}].
curl https://hub.kyberapps.com/api/v1/webinars -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/webinarsCreate webinarcrm:write
PL11. title, brand (a product token uses its own), kind webinar or group_demo, starts_at (ISO, UTC), tz, duration_min, capacity (0 = no limit), host_id, join_url, description, slug, sequence_id with handoff attended or all (who is handed to the sequence after the follow-up).
curl -X POST https://hub.kyberapps.com/api/v1/webinars \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"title": "KyberGate live walkthrough", "starts_at": "2026-12-10T19:00:00Z", "duration_min": 45, "capacity": 100}'GET/api/v1/webinars/{id}Get webinarread
PL11. One session with its counts.
curl https://hub.kyberapps.com/api/v1/webinars/1 -H "Authorization: Bearer $KB_TOKEN"
PATCH/api/v1/webinars/{id}Update webinarcrm:write
PL11. Any field from create; recording_url; status canceled emails everyone registered a cancellation.
curl -X PATCH https://hub.kyberapps.com/api/v1/webinars/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"recording_url": "https://example.com/rec"}'GET/api/v1/webinars/{id}/registrationsList registrationsread
PL11. status registered, attended, no_show or canceled. Each has lead_id, manage_url and calendar_url.
curl https://hub.kyberapps.com/api/v1/webinars/1/registrations -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/webinars/{id}/registrationsRegister for webinarleads:write
PL11. From your product's own page. person {name, email, title} (or name, email, role), school {name} (or school), page_url, utm_*. Makes a Hub lead with source webinar, emails the invite with a calendar file, then reminders 24 hours and 1 hour before. Same email twice returns the first registration (200). 409 when full. test=true checks it and writes nothing.
curl -X POST https://hub.kyberapps.com/api/v1/webinars/1/registrations \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"person": {"name": "Dana Lee", "email": "dlee@sampleufsd.org", "title": "Director of Technology"}, "school": {"name": "Sample UFSD"}}'POST/api/v1/webinars/{id}/attendanceMark attendancecrm:write
PL11. attended and no_show: lists of registration ids or emails; rest_no_show true marks everyone left. Attended logs an activity and fires webinar.attended.
curl -X POST https://hub.kyberapps.com/api/v1/webinars/1/attendance \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"attended": ["dlee@sampleufsd.org"], "rest_no_show": true}'POST/api/v1/webinars/{id}/followupSend webinar follow-upcrm:write
PL11. recording_url (if not saved yet). Attendees get the recording with thanks, no-shows a sorry-we-missed-you with it, once per person; then attendees (or everyone marked, by handoff) go to the session's sequence. Needs every registrant marked. -> emailed, enrolled, refused.
curl -X POST https://hub.kyberapps.com/api/v1/webinars/1/followup \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'PATCH/api/v1/meeting-types/{id}Update meeting typecrm:write
Any field from create; active false turns the booking page off.
curl -X PATCH https://hub.kyberapps.com/api/v1/meeting-types/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"duration_min": 25}'Notes, activity and email14
GET/api/v1/ownersList ownersread
People who can own leads, deals, tasks and meetings: id, username, name, role.
curl https://hub.kyberapps.com/api/v1/owners -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/records/{type}/{id}/notesList notesread
Notes on a record, pinned first. {type} is org, person, deal or lead (a lead is worked on its person).
curl https://hub.kyberapps.com/api/v1/records/org/1/notes -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/records/{type}/{id}/notesAdd notecrm:write
body (up to 4,000 characters; @username notifies a teammate), pinned. {type} is org, person, deal or lead (a lead is worked on its person).
curl -X POST https://hub.kyberapps.com/api/v1/records/org/1/notes \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"body": "Demo canceled; wants a time next week", "pinned": false}'POST/api/v1/records/{type}/{id}/notes/{note}/pinPin or unpin notecrm:write
Toggles the pin. {type} is org, person, deal or lead (a lead is worked on its person).
curl -X POST https://hub.kyberapps.com/api/v1/records/org/1/notes/1/pin \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/records/{type}/{id}/notes/{note}/deleteDelete notecrm:write
Removes the note. {type} is org, person, deal or lead (a lead is worked on its person).
curl -X POST https://hub.kyberapps.com/api/v1/records/org/1/notes/1/delete \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/records/{type}/{id}/activitiesList activitiesread
Logged calls, meetings and emails, newest first, with the allowed outcomes per kind. {type} is org, person, deal or lead (a lead is worked on its person).
curl https://hub.kyberapps.com/api/v1/records/org/1/activities -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/records/{type}/{id}/activitiesLog activitycrm:write
kind call (Connected, Left voicemail, No answer, Busy, Wrong number), meeting (Held, No-show, Rescheduled, Canceled), email (Sent, Received) or note; subject, body, outcome, duration_min, at (YYYY-MM-DD or YYYY-MM-DDTHH:MM New York time, blank now; not in the future). {type} is org, person, deal or lead (a lead is worked on its person).
curl -X POST https://hub.kyberapps.com/api/v1/records/org/1/activities \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"kind": "call", "outcome": "Left voicemail", "subject": "Rebook call", "duration_min": 3}'POST/api/v1/activities/{id}/deleteDelete activitycrm:write
Removes a logged call, meeting or email.
curl -X POST https://hub.kyberapps.com/api/v1/activities/1/delete \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/records/{type}/{id}/timelineRecord timelineread
Everything that happened, newest first, as on the record page: notes, calls, meetings, emails, tasks, deal moves, documents, field changes. Each item: at, kind, title, body, actor. {type} is org, person, deal or lead (a lead is worked on its person).
Query: limit=
curl https://hub.kyberapps.com/api/v1/records/org/1/timeline?limit= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/records/{type}/{id}/emailsEmails on a recordread
Every email Hub sent to the company (or this person) with status, opens and clicks. {type} is org, person, deal or lead (a lead is worked on its person).
curl https://hub.kyberapps.com/api/v1/records/org/1/emails -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/records/{type}/{id}/fieldsEdit record fieldscrm:write
Inline edit with the same validation and field history as the record page. fields: {key: value}. Company: name, owner_id, website, type, address, enrollment, notes. Person: name, email, phone, title, role, signer, note. Deal: title, value, stage_id, probability, expected_close, owner_id, source, competitor, notes. Custom fields: cf_<id> (GET /custom-fields). {type} is org, person, deal or lead (a lead is worked on its person).
curl -X POST https://hub.kyberapps.com/api/v1/records/org/1/fields \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"fields": {"owner_id": 2, "website": "sampleufsd.org"}}'GET/api/v1/custom-fieldsCustom fieldsread
Custom field definitions for customer, contact and deal with their cf_<id> key, kind and options.
Query: object=
curl https://hub.kyberapps.com/api/v1/custom-fields?object= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/records/{type}/{id}/linksLink recordscrm:write
Associate a deal, company and person: other_type, other_id, role (deal to person: Champion, Decision maker, Billing, Signer, Blocker, Influencer, User, Other). unlink: true removes it. {type} is org, person, deal or lead (a lead is worked on its person).
curl -X POST https://hub.kyberapps.com/api/v1/records/org/1/links \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"other_type": "person", "other_id": 9, "role": "Champion"}'GET/api/v1/emails/{id}Get emailread
One email with its events (queued, logged, sent, opened, clicked, bounced).
curl https://hub.kyberapps.com/api/v1/emails/1 -H "Authorization: Bearer $KB_TOKEN"
Sequences and replies35
GET/api/v1/sequencesList sequencesread
Sequences with steps, people in them and results, plus outreach (enabled, paused, sending).
Query: brand=&archived=
curl https://hub.kyberapps.com/api/v1/sequences?brand=&archived= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/sequences/{id}Get sequenceread
Steps with the business day each lands on, stats and the people enrolled.
Query: status=
curl https://hub.kyberapps.com/api/v1/sequences/1?status= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/sequencesCreate sequencesequences:write
name, brand, description, owner_id, win_start and win_end (send window hours), meeting_type_id ({booking_link}), scope single or suite (featured), audience prospects or customers, stop_reply, stop_meeting, stop_deal; steps to add at once. Starts as a draft.
curl -X POST https://hub.kyberapps.com/api/v1/sequences \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"name": "KyberAccess demo rebook", "steps": [{"kind": "auto_email", "subject": "Hi {first_name}", "body": "Pick a time: {booking_link}"}]}'PATCH/api/v1/sequences/{id}Update sequencesequences:write
Any field from create; status draft, active, paused or archived (archiving stops everyone in it).
curl -X PATCH https://hub.kyberapps.com/api/v1/sequences/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"status": "active"}'POST/api/v1/sequences/{id}/stepsAdd stepsequences:write
kind auto_email, manual_email, call, linkedin or task; wait_days (business days); subject, body with merge fields; subject_b and body_b for an A/B test; note for call and task.
curl -X POST https://hub.kyberapps.com/api/v1/sequences/1/steps \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"kind": "manual_email", "wait_days": 2, "subject": "Following up", "body": "Any luck, {first_name}?"}'PATCH/api/v1/sequences/{id}/steps/{step}Update stepsequences:write
Any field from add step.
curl -X PATCH https://hub.kyberapps.com/api/v1/sequences/1/steps/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"wait_days": 3}'POST/api/v1/sequences/{id}/steps/{step}/deleteDelete stepsequences:write
Refused when people are already past it.
curl -X POST https://hub.kyberapps.com/api/v1/sequences/1/steps/1/delete \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/sequences/{id}/steps/{step}/moveMove stepsequences:write
direction: up or down.
curl -X POST https://hub.kyberapps.com/api/v1/sequences/1/steps/1/move \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"direction": "up"}'POST/api/v1/sequences/{id}/enrollEnroll peoplesequences:write
contact_ids, or list_id with optional role; allow_risky; dry_run: true previews who would be enrolled and who is refused. Enrolling works while outreach sending is off, exactly as on the dashboard: state is queued and nothing is sent until sending is on.
curl -X POST https://hub.kyberapps.com/api/v1/sequences/1/enroll \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"contact_ids": [9], "dry_run": true}'GET/api/v1/sequences/{id}/enrollmentsList enrolmentsread
People in the sequence with status, step and next time.
Query: status=
curl https://hub.kyberapps.com/api/v1/sequences/1/enrollments?status= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/sequences/{id}/ai-text/{contact_id}Get personal sequence textread
AI4d. The email text AI wrote for one person in this sequence: state (draft, approved, stale) and steps [{step_id, subject, body, status, model, approved_by, approved_at}]. Only approved text replaces the step templates when a step runs; outreach, checks and limits still apply. Read only; 404 when none.
curl https://hub.kyberapps.com/api/v1/sequences/1/ai-text/{contact_id} -H "Authorization: Bearer $KB_TOKEN"GET/api/v1/enrollments/{id}Get enrolmentread
One enrolment with its events (enrolled, email_sent, task_created, paused, stopped).
curl https://hub.kyberapps.com/api/v1/enrollments/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/enrollments/{id}/{action}Pause, resume, stop, skip or sendsequences:write
action pause, resume, stop (reason), skip (a manual email waiting for review) or send (subject, body: approve the reviewed manual email; 409 while outreach sending is off).
curl -X POST https://hub.kyberapps.com/api/v1/enrollments/1/pause \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"reason": "Booked by phone"}'GET/api/v1/sequence-queueReview queueread
Manual emails waiting for review with the draft rendered for each person.
curl https://hub.kyberapps.com/api/v1/sequence-queue -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/sequence-contentContent libraryread
Per product brand: pitch, proof, link, call to action and short line (used by {suite_block}).
curl https://hub.kyberapps.com/api/v1/sequence-content -H "Authorization: Bearer $KB_TOKEN"
PATCH/api/v1/sequence-content/{brand}Update contentsequences:write
pitch, proof, link, cta, short.
curl -X PATCH https://hub.kyberapps.com/api/v1/sequence-content/kyberaccess \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"short": "Visitor management for schools"}'GET/api/v1/enrol-rulesList enrolment rulesread
Rules with segment, target sequence, triggers, on or off and any problem, plus outreach state.
curl https://hub.kyberapps.com/api/v1/enrol-rules -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/enrol-rules/{id}Get enrolment ruleread
With the last 20 runs and previews.
curl https://hub.kyberapps.com/api/v1/enrol-rules/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/enrol-rulesCreate enrolment rulesequences:write
name, mode sequence (sequence_id) or interest (product_map, suite_sequence_id, cross_sequence_id; workspace tokens only), segment {interest, states, school_type, bands, title_i, roles, stages, list}, owner_id, on_accept, on_import, on_nightly, max_per_run. Starts off.
curl -X POST https://hub.kyberapps.com/api/v1/enrol-rules \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"name": "KyberAccess NY districts", "sequence_id": 3, "segment": {"states": ["NY"], "school_type": "district"}}'PATCH/api/v1/enrol-rules/{id}Update enrolment rulesequences:write
Any field from create; active true or false.
curl -X PATCH https://hub.kyberapps.com/api/v1/enrol-rules/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"active": true}'POST/api/v1/enrol-rules/{id}/deleteDelete enrolment rulesequences:write
curl -X POST https://hub.kyberapps.com/api/v1/enrol-rules/1/delete \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/enrol-rules/{id}/previewDry run enrolment ruleread
Who would be enrolled into which sequence, who is refused and why. Nothing is enrolled.
curl -X POST https://hub.kyberapps.com/api/v1/enrol-rules/1/preview \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/enrol-rules/{id}/runRun enrolment rulesequences:write
Enrols the dry run's people now. 409 while outreach sending is off or paused.
curl -X POST https://hub.kyberapps.com/api/v1/enrol-rules/1/run \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/repliesList repliesread
The reply inbox: classification, account, sequence and what the rules did.
Query: status=&class=&owner_id=&search=
curl https://hub.kyberapps.com/api/v1/replies?status=&class=&owner_id=&search= -H "Authorization: Bearer $KB_TOKEN"
PATCH/api/v1/replies/{id}Classify or handle replycrm:write
class interested, meeting, not_now, referral, ooo, objection, unsubscribe or other (runs that class's actions); until (YYYY-MM-DD) for not_now and ooo; status new or handled.
curl -X PATCH https://hub.kyberapps.com/api/v1/replies/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"class": "meeting"}'PATCH/api/v1/replies/{id}/drafts/{draft}Edit drafted answercrm:write
subject, body.
curl -X PATCH https://hub.kyberapps.com/api/v1/replies/1/drafts/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"body": "Great, here is my calendar."}'POST/api/v1/replies/{id}/drafts/{draft}/discardDiscard drafted answercrm:write
curl -X POST https://hub.kyberapps.com/api/v1/replies/1/drafts/1/discard \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/replies/{id}/drafts/{draft}/sendApprove and send answercomms:send
Sends the drafted answer (subject and body may be edited) through the outreach gate with the brand footer and unsubscribe. 409 while outreach sending is off.
curl -X POST https://hub.kyberapps.com/api/v1/replies/1/drafts/1/send \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/prospect-listsList prospect listsread
Static lists and smart lists (saved segments) with live counts.
curl https://hub.kyberapps.com/api/v1/prospect-lists -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/prospect-lists/{id}Get prospect listread
With its member accounts.
curl https://hub.kyberapps.com/api/v1/prospect-lists/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/prospect-listsCreate list or segmentprospects:write
name, kind static (org_ids) or smart (filters: stage, state, school_type, locale, band, source, owner, title_i, brand, q), description.
curl -X POST https://hub.kyberapps.com/api/v1/prospect-lists \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"name": "NY districts", "kind": "smart", "filters": {"state": "NY", "school_type": "district"}}'PATCH/api/v1/prospect-lists/{id}Update listprospects:write
name, description; add and remove company ids on a static list.
curl -X PATCH https://hub.kyberapps.com/api/v1/prospect-lists/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"add": [12, 13]}'POST/api/v1/prospect-lists/{id}/deleteDelete listprospects:write
The companies stay.
curl -X POST https://hub.kyberapps.com/api/v1/prospect-lists/1/delete \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/repliesLog a replycrm:write
A reply to outreach from a mailbox forwarder: from, from_name, to, subject, text, received_at, external_id (a repeat returns the first), class (optional). Rules sort it and act.
curl -X POST https://hub.kyberapps.com/api/v1/replies \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"from": "Dana Lee <dlee@sampleufsd.org>", "subject": "Re: KyberAccess", "text": "Interested, can we talk Tuesday?", "external_id": "msg-123"}'GET/api/v1/replies/{id}Get replyread
One reply with its classification, reason and the actions taken.
curl https://hub.kyberapps.com/api/v1/replies/1 -H "Authorization: Bearer $KB_TOKEN"
Sales reports3
GET/api/v1/goalsSales goalsread
Every active goal with target, actual, pace and status this period and the last six.
Query: brand=
curl https://hub.kyberapps.com/api/v1/goals?brand= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/sales-dashboardSales dashboardread
Pipeline by stage, forecast, won and lost, funnel and activity by person. period: 30d, 90d, ytd, 12m or all.
Query: period=&brand=
curl https://hub.kyberapps.com/api/v1/sales-dashboard?period=&brand= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/win-lossWin/loss reportread
Win rate, lost reasons, competitors and breakdowns by source, owner and brand.
Query: period=&brand=
curl https://hub.kyberapps.com/api/v1/win-loss?period=&brand= -H "Authorization: Bearer $KB_TOKEN"
Failed payments and renewals5
GET/api/v1/renewalsUpcoming renewalsread
Subscriptions whose term ends within days (default 90) with the renewal quote and reminders sent.
Query: days=&brand=
curl https://hub.kyberapps.com/api/v1/renewals?days=&brand= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/dunning-casesFailed paymentsread
Cases: open, recovered or closed, with the invoice, customer and next step.
Query: status=&brand=
curl https://hub.kyberapps.com/api/v1/dunning-cases?status=&brand= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/dunning-cases/{id}Get failed-payment caseread
With its events.
curl https://hub.kyberapps.com/api/v1/dunning-cases/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/dunning-cases/{id}/emailEmail failed-payment noticeinvoices:write
The payment failed email now, with pay and update-card links. Held while MAIL_MODE=log.
curl -X POST https://hub.kyberapps.com/api/v1/dunning-cases/1/email \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/dunning-cases/{id}/finalApply final actionsubscriptions:write
action cancel, unpaid or keep (default the brand's setting).
curl -X POST https://hub.kyberapps.com/api/v1/dunning-cases/1/final \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"action": "unpaid"}'Quotes and proposals18
GET/api/v1/quotesList quotesread
status: draft, sent, accepted, expired, declined, converted.
Query: org_id=&status=
curl https://hub.kyberapps.com/api/v1/quotes?org_id=&status= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/quotesCreate quotequotes:write
Lines: product (KyberGate, KyberAccess, KyberWatch, KyberCopy), description (optional, defaulted), qty, unit, unit_cents or unit_price (dollars), years, term_start, term_end, is_pilot. KyberCopy price is defaulted from the org's enrollment band when unit_cents is omitted. KyberGate never below 500 cents. KyberAccess and KyberWatch need a manual price. discount_type: none, percent (discount_percent, e.g. 10) or fixed (discount_amount in dollars). multi_year_percent: 0, 10 or 15. valid_until defaults to 30 days.
curl -X POST https://hub.kyberapps.com/api/v1/quotes \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"org_id": 1, "lines": [{"product": "KyberCopy", "qty": 1, "term_start": "2026-11-01", "term_end": "2027-10-31"}, {"product": "KyberGate", "qty": 800, "unit_price": "5.50", "description": "KyberGate Basic, per device, annual"}], "discount_type": "percent", "discount_percent": 10, "notes": "Pricing held through the validity date."}'GET/api/v1/quotes/{id}Get quoteread
Includes share_path (/q/<token>) for the customer-facing page.
curl https://hub.kyberapps.com/api/v1/quotes/1 -H "Authorization: Bearer $KB_TOKEN"
PATCH/api/v1/quotes/{id}Update quotequotes:write
Same fields as create. Pass status: declined to decline. Accepted or converted quotes are locked.
curl -X PATCH https://hub.kyberapps.com/api/v1/quotes/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"lines": [{"product": "KyberCopy", "qty": 2, "unit_price": "3600"}]}'POST/api/v1/quotes/{id}/sendMark quote sentquotes:write
Sets status=sent and returns share_url. Nothing is emailed; deliver the link yourself.
curl -X POST https://hub.kyberapps.com/api/v1/quotes/1/send \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/quotes/{id}/duplicateDuplicate quotequotes:write
New draft with a new number.
curl -X POST https://hub.kyberapps.com/api/v1/quotes/1/duplicate \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/quotes/{id}/versionsQuote versionsread
Every saved revision (v1, v2, ...) newest first, each with its lines, total and the changes from the one before.
curl https://hub.kyberapps.com/api/v1/quotes/1/versions -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/quotes/{id}/invoiceInvoice a quoteinvoices:write
Creates a draft native invoice from the quote's chosen lines (multi-year lines for all years, same discount as a fixed amount) and marks the quote converted. Nothing is emailed.
curl -X POST https://hub.kyberapps.com/api/v1/quotes/1/invoice \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/proposalsList proposalsread
Query: org_id=&status=
curl https://hub.kyberapps.com/api/v1/proposals?org_id=&status= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/proposalsCreate proposal from quoteproposals:write
Snapshots the quote and org, drafts the cover letter, attaches the current agreement text. payment_terms: net30 (PO, Stripe send_invoice) or card (hosted invoice, charge automatically). send: true also marks it sent.
curl -X POST https://hub.kyberapps.com/api/v1/proposals \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"quote_id": 1, "payment_terms": "net30", "po_number": "", "send": true}'GET/api/v1/proposals/{id}Get proposalread
Includes share_url and the quote snapshot.
curl https://hub.kyberapps.com/api/v1/proposals/1 -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/proposals/{id}/statusProposal statusread
Acceptance details: accepted_name, accepted_title, accepted_email, accepted_at (UTC), accepted_ip.
curl https://hub.kyberapps.com/api/v1/proposals/1/status -H "Authorization: Bearer $KB_TOKEN"
PATCH/api/v1/proposals/{id}Update proposalproposals:write
cover_letter, payment_terms, po_number, term_start, term_end, status (sent/declined). Locked after acceptance.
curl -X PATCH https://hub.kyberapps.com/api/v1/proposals/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"po_number": "PO-2026-118"}'POST/api/v1/proposals/{id}/sendMark proposal sentproposals:write
Returns share_url. Nothing is emailed.
curl -X POST https://hub.kyberapps.com/api/v1/proposals/1/send \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/quotes/{id}/extendExtend quotequotes:write
valid_until (YYYY-MM-DD); an expired quote reopens.
curl -X POST https://hub.kyberapps.com/api/v1/quotes/1/extend \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"valid_until": "2027-01-31"}'POST/api/v1/quotes/{id}/restoreRestore quote versionquotes:write
version: an older revision becomes the newest. Nothing is deleted.
curl -X POST https://hub.kyberapps.com/api/v1/quotes/1/restore \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"version": 1}'GET/api/v1/quotes/{id}/approvalQuote approval stateread
blocked, status (off, needed, pending, approved, rejected), the rules it breaks and its requests.
curl https://hub.kyberapps.com/api/v1/quotes/1/approval -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/quotes/{id}/approvalRequest quote approvalquotes:write
note. withdraw: true takes a pending request back. The approver decides on the dashboard.
curl -X POST https://hub.kyberapps.com/api/v1/quotes/1/approval \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"note": "Multi-year discount for a district"}'Invoices and payments45
GET/api/v1/invoicesList invoicesread
Also returns stripe_connected and stripe_test_mode.
Query: org_id=&status=
curl https://hub.kyberapps.com/api/v1/invoices?org_id=&status= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/invoicesCreate invoice from accepted proposalinvoices:write
With Stripe connected: creates a draft Stripe invoice from the proposal snapshot (send_invoice net-30 for PO, charge_automatically for card). send: true finalizes and sends it. Without Stripe, or for check/PO tracking, pass manual: true to create a local invoice record (amount defaults to the proposal total).
curl -X POST https://hub.kyberapps.com/api/v1/invoices \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"proposal_id": 1, "send": false}'GET/api/v1/invoices/{id}Get invoiceread
curl https://hub.kyberapps.com/api/v1/invoices/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/invoices/{id}/sendFinalize and send Stripe invoiceinvoices:write
curl -X POST https://hub.kyberapps.com/api/v1/invoices/1/send \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/invoices/{id}/mark-paidMark paid (check or PO)invoices:write
method: check, ach, po, other. reference: check number or remittance id.
curl -X POST https://hub.kyberapps.com/api/v1/invoices/1/mark-paid \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"method": "check", "reference": "chk 10422"}'GET/api/v1/receiptsList received paymentsread
Checks, wires and other payments received by hand. applied_cents, refunded_cents and unapplied_cents (customer credit) per receipt.
Query: org_id=&status=
curl https://hub.kyberapps.com/api/v1/receipts?org_id=&status= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/receiptsRecord a received paymentinvoices:write
One payment applied across the customer's invoices. method: check, wire, ach, card, other. applications: [{invoice_id, amount_cents}], or apply_oldest_first: true. What is not applied is kept as customer credit. received_on defaults to today. currency (USD, CAD, EUR...) defaults to the applied invoices' currency; amounts are in that currency and every invoice must share it.
curl -X POST https://hub.kyberapps.com/api/v1/receipts \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"org_id": 1, "amount_cents": 170000, "method": "check", "reference": "CHK 1042", "applications": [{"invoice_id": 7, "amount_cents": 150000}]}'GET/api/v1/receipts/{id}Get received paymentread
With applications, refunds that drew on it, and receipt_url (the customer's receipt page).
curl https://hub.kyberapps.com/api/v1/receipts/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/receipts/{id}/voidVoid received paymentinvoices:write
Bounced check or entered twice: every application is cancelled and the invoices reopen. Refused while a credit refund draws on it.
curl -X POST https://hub.kyberapps.com/api/v1/receipts/1/void \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"reason": "check bounced"}'GET/api/v1/credit-refundsList credit refundsread
Customer credit paid back out.
Query: org_id=
curl https://hub.kyberapps.com/api/v1/credit-refunds?org_id= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/credit-refundsRefund customer creditinvoices:write
Record credit paid back to the customer. method: check, ach, wire, card, other. Nothing moves money; it records what you sent. Cannot exceed the customer's credit in that currency. currency defaults to USD.
curl -X POST https://hub.kyberapps.com/api/v1/credit-refunds \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"org_id": 1, "amount_cents": 20000, "method": "check", "reference": "CHK 5511"}'GET/api/v1/credit-refunds/{id}Get credit refundread
With the received payments it drew on and refund_url (the customer's refund advice page; add /pdf for the PDF).
curl https://hub.kyberapps.com/api/v1/credit-refunds/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/credit-refunds/{id}/emailEmail refund adviceinvoices:write
Emails the customer's billing contact a link to the refund advice with the PDF attached (held on the server while MAIL_MODE=log).
curl -X POST https://hub.kyberapps.com/api/v1/credit-refunds/1/email \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/paymentsList paymentsread
The payments ledger: card, ACH and bank payments through Stripe, checks and wires recorded by hand, credit applied. Each has receipt_url (the customer's receipt page).
Query: org_id=&invoice_id=&status=
curl https://hub.kyberapps.com/api/v1/payments?org_id=&invoice_id=&status= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/payments/{id}Get paymentread
One ledger row with receipt_url.
curl https://hub.kyberapps.com/api/v1/payments/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/credit-refunds/{id}/voidVoid credit refundinvoices:write
The check was never mailed: the amount is customer credit again.
curl -X POST https://hub.kyberapps.com/api/v1/credit-refunds/1/void \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"reason": "never mailed"}'GET/api/v1/payment-linksList payment linksread
Query: brand=&account=&org_id=
curl https://hub.kyberapps.com/api/v1/payment-links?brand=&account=&org_id= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/payment-linksCreate payment linklinks:write
Stripe-hosted pay page. account (label) defaults to the brand's account. unit_cents or unit_price; qty; recurring: empty (one-off), month or year; product optional (KyberGate, KyberCopy, ...).
curl -X POST https://hub.kyberapps.com/api/v1/payment-links \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"brand": "kybergate", "description": "KyberGate \u00b7 1,200 devices \u00b7 2026-27", "unit_price": "6000", "qty": 1, "recurring": "", "org_id": 1}'GET/api/v1/payment-links/{id}Get payment linkread
curl https://hub.kyberapps.com/api/v1/payment-links/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/payment-links/{id}/deactivateDeactivate payment linklinks:write
curl -X POST https://hub.kyberapps.com/api/v1/payment-links/1/deactivate \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/credit-notesList credit notesread
Issued and void credit notes with lines, amounts applied, refunded and kept as credit, credit_note_url (the customer's copy), currency (the invoice's) and amount_home_cents (US dollars at the invoice's booked rate).
Query: org_id=&invoice_id=
curl https://hub.kyberapps.com/api/v1/credit-notes?org_id=&invoice_id= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/credit-notes/{id}Get credit noteread
One credit note with its lines and where the money went.
curl https://hub.kyberapps.com/api/v1/credit-notes/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/credit-notesIssue credit noteinvoices:write
On an issued invoice. Either lines: [{line (index on the invoice), qty}], amount_cents with description, or full: true for everything left. Amounts are in the invoice's currency; credit kept from a foreign credit note stays in that currency. apply_cents (default: as much as is due) goes on the invoice; refund_cents with refund_method (check, ach, wire, other) records money sent back; the rest is customer credit. reason: returned, billing_error, discount, duplicate, other. Card refunds through Stripe are made on the invoice page.
curl -X POST https://hub.kyberapps.com/api/v1/credit-notes \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"invoice_id": 7, "amount_cents": 25000, "description": "Goodwill credit, outage in October", "reason": "discount"}'POST/api/v1/credit-notes/{id}/voidVoid credit noteinvoices:write
reason is required. Its invoice application is taken back and unused credit disappears. Refused when money already went back or its credit was used.
curl -X POST https://hub.kyberapps.com/api/v1/credit-notes/1/void \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"reason": "Issued on the wrong invoice"}'POST/api/v1/credit-notes/{id}/emailEmail credit noteinvoices:write
Emails the credit note with its PDF to the billing contact through Communications. Returns to and status (logged while mail is in log mode).
curl -X POST https://hub.kyberapps.com/api/v1/credit-notes/1/email \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/writeoffsList write-offsread
Invoices written off as bad debt with amount, date, reason and status (active or reversed), the journal entries each one posted (journal_entries: number, date, kind, url), plus totals for this year and overall.
Query: org_id=&invoice_id=&status=
curl https://hub.kyberapps.com/api/v1/writeoffs?org_id=&invoice_id=&status= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/invoices/{id}/writeoffWrite off invoiceinvoices:write
Writes the balance of an open invoice off as bad debt; the invoice becomes uncollectible. reason is required; written_on (YYYY-MM-DD, not in the future) defaults to today.
curl -X POST https://hub.kyberapps.com/api/v1/invoices/1/writeoff \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"reason": "School closed, uncollectible after collections", "written_on": "2026-11-20"}'POST/api/v1/invoices/{id}/writeoff/reverseReverse write-offinvoices:write
The customer paid after all: the invoice is open again for the amount written off. Send payment to record the money received in the same step (method check, wire, ach or other; a partial amount leaves the rest open); the response then carries the payment and amount_due_cents.
curl -X POST https://hub.kyberapps.com/api/v1/invoices/1/writeoff/reverse \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"reason": "Paid by check", "payment": {"amount_cents": 120000, "method": "check", "reference": "CHK 1042", "paid_on": "2026-11-20"}}'GET/api/v1/recurring-invoicesList recurring invoicesread
Schedules with how often (every), next_run, total_cents, monthly_cents, mode (draft or send) and the invoice template, plus totals (active, monthly, due this week, paused).
Query: status=&org_id=&brand=
curl https://hub.kyberapps.com/api/v1/recurring-invoices?status=&org_id=&brand= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/recurring-invoices/{id}Get recurring invoiceread
One schedule with its next six dates (upcoming) and the last 24 runs with the invoice each one made.
curl https://hub.kyberapps.com/api/v1/recurring-invoices/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/recurring-invoicesCreate recurring invoiceinvoices:write
org_id and lines are required. preset: monthly, quarterly, annually, or custom with every_n and unit (day, week, month). start_date is the first invoice (today or later). end_mode: never, count (end_count) or date (end_date). mode: draft (made for review) or send (issued and emailed). Also brand, terms (net30 and so on), po_number, notes, tax_exempt, discount_type and discount_value.
curl -X POST https://hub.kyberapps.com/api/v1/recurring-invoices \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"org_id": 1, "name": "Filter seats", "preset": "monthly", "start_date": "2026-12-01", "mode": "draft", "terms": "net30", "lines": [{"description": "KyberGate seats", "qty": 300, "unit_price": "5.00"}]}'PATCH/api/v1/recurring-invoices/{id}Update recurring invoiceinvoices:write
Any field from create; omitted fields keep their value. Invoices already made are not changed.
curl -X PATCH https://hub.kyberapps.com/api/v1/recurring-invoices/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"lines": [{"description": "KyberGate seats", "qty": 320, "unit_price": "5.00"}]}'POST/api/v1/recurring-invoices/{id}/pausePause recurring invoiceinvoices:write
Dates pass without invoices until it is resumed (no catch-up).
curl -X POST https://hub.kyberapps.com/api/v1/recurring-invoices/1/pause \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/recurring-invoices/{id}/resumeResume recurring invoiceinvoices:write
Next run moves to the next scheduled date from today.
curl -X POST https://hub.kyberapps.com/api/v1/recurring-invoices/1/resume \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/recurring-invoices/{id}/endEnd recurring invoiceinvoices:write
No more invoices are made. Invoices already made stay.
curl -X POST https://hub.kyberapps.com/api/v1/recurring-invoices/1/end \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/recurring-invoices/{id}/runRun recurring invoice nowinvoices:write
Makes the next scheduled invoice today (a draft, or issued and emailed in send mode) and moves the schedule on. Returns the invoice.
curl -X POST https://hub.kyberapps.com/api/v1/recurring-invoices/1/run \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/reportsList reportsread
Every report with its headline number and summary for the range (default the last 12 months; brand=all by default), plus links to the financial statements.
Query: from=&to=&brand=
curl https://hub.kyberapps.com/api/v1/reports?from=&to=&brand= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/reports/{name}Get reportread
name: revenue, collected, dso, quotes, methods, products, customers. Returns headline, summary, columns and rows keyed by column (money columns end in _cents), and the total row.
Query: from=&to=&brand=
curl https://hub.kyberapps.com/api/v1/reports/{name}?from=&to=&brand= -H "Authorization: Bearer $KB_TOKEN"POST/api/v1/invoices/nativeCreate invoice (made here)invoices:write
A draft invoice without Stripe: org_id, lines [{description, qty, unit_price or unit_cents, sku, product}], discount_type (none, percent, fixed) with discount_value, tax_exempt, issue_date, terms, due_date, po_number, notes, memo, currency. Numbered from the brand's series. issue: true issues it at once. Nothing is emailed.
curl -X POST https://hub.kyberapps.com/api/v1/invoices/native \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"org_id": 1, "lines": [{"description": "KyberAccess annual license", "qty": 1, "unit_price": "4800"}], "terms": "net30"}'PATCH/api/v1/invoices/{id}Edit draft invoiceinvoices:write
Drafts made here only. Any field from create.
curl -X PATCH https://hub.kyberapps.com/api/v1/invoices/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"po_number": "PO-2027-11"}'POST/api/v1/invoices/{id}/issueIssue invoiceinvoices:write
Draft to open. Nothing is emailed: POST /invoices/{id}/email sends it.
curl -X POST https://hub.kyberapps.com/api/v1/invoices/1/issue \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/invoices/{id}/voidVoid invoiceinvoices:write
Invoices made here and PO or check invoices. Paid and Stripe invoices are refused.
curl -X POST https://hub.kyberapps.com/api/v1/invoices/1/void \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/invoices/{id}/duplicateDuplicate invoiceinvoices:write
A new draft with the same lines.
curl -X POST https://hub.kyberapps.com/api/v1/invoices/1/duplicate \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/invoices/{id}/uncollectibleMark invoice uncollectibleinvoices:write
For a write-off with a ledger entry use /writeoff.
curl -X POST https://hub.kyberapps.com/api/v1/invoices/1/uncollectible \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/invoices/{id}/emailEmail invoiceinvoices:write
To the billing contact (or to, cc) with the brand's template for its state and the PDF attached, through the composer. Held on the server while MAIL_MODE=log.
curl -X POST https://hub.kyberapps.com/api/v1/invoices/1/email \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'Subscriptions and catalog40
GET/api/v1/subscriptionsList subscriptionsread
Annual plans mirrored from Stripe, per brand and per Stripe account. amount_cents is the annualised value; next_invoice_at is the renewal date.
Query: org_id=&status=&brand=&account=
curl https://hub.kyberapps.com/api/v1/subscriptions?org_id=&status=&brand=&account= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/subscriptionsCreate subscription from accepted proposalsubscriptions:write
The proposal's quote must have billing_mode=subscription (or pass it anyway to bill an accepted quote annually). Creates the Stripe subscription on the proposal's account (annual, N-year interval for multi-year lines), the first invoice follows Stripe's collection method. Nothing is emailed.
curl -X POST https://hub.kyberapps.com/api/v1/subscriptions \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"proposal_id": 1}'GET/api/v1/subscriptions/{id}Get subscriptionread
curl https://hub.kyberapps.com/api/v1/subscriptions/1 -H "Authorization: Bearer $KB_TOKEN"
PATCH/api/v1/subscriptions/{id}Set subscription brandsubscriptions:write
brand: kyberapps, kybergate, kyberaccess, kyberwatch, kybercopy or unassigned.
curl -X PATCH https://hub.kyberapps.com/api/v1/subscriptions/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"brand": "kybergate"}'POST/api/v1/subscriptions/{id}/syncSync subscription from Stripesubscriptions:write
curl -X POST https://hub.kyberapps.com/api/v1/subscriptions/1/sync \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/productsList price bookread
Products with SKU, name, unit, price_cents, tax_rate, brand, family, band and quantity range. status: active or archived.
Query: status=&brand=&family=&search=
curl https://hub.kyberapps.com/api/v1/products?status=&brand=&family=&search= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/products/{id}Get productread
One product with the invoices that used its SKU (latest 50).
curl https://hub.kyberapps.com/api/v1/products/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/productsCreate productcatalog:write
sku and name are required. price_cents (or price in dollars), unit, tax_rate (percent), tax_code, brand, family, band, min_qty, max_qty, cust_qty_min, cust_qty_max.
curl -X POST https://hub.kyberapps.com/api/v1/products \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"sku": "KG-SETUP", "name": "KyberGate onboarding", "unit": "each", "price_cents": 50000, "brand": "kybergate"}'PATCH/api/v1/products/{id}Update productcatalog:write
Any field from create. Invoices already made keep their own prices.
curl -X PATCH https://hub.kyberapps.com/api/v1/products/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"price_cents": 55000}'POST/api/v1/products/{id}/archiveArchive productcatalog:write
It no longer shows in the line item picker. Restore with /restore.
curl -X POST https://hub.kyberapps.com/api/v1/products/1/archive \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/products/{id}/restoreRestore productcatalog:write
Back in the picker.
curl -X POST https://hub.kyberapps.com/api/v1/products/1/restore \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/plansList plansread
Subscription plans with interval, trial days, items, price per period and per year (period_cents, annual_cents) and active subscribers.
Query: status=&brand=
curl https://hub.kyberapps.com/api/v1/plans?status=&brand= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/plans/{id}Get planread
One plan with its priced lines.
curl https://hub.kyberapps.com/api/v1/plans/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/plansCreate plancatalog:write
name and items are required. items: [{sku (from the price book), qty, pricing: book, fixed (unit_cents) or tiers ([{up_to, unit_cents}], mode volume or graduated)}]. interval month or year, interval_count, trial_days, currency, brand, code.
curl -X POST https://hub.kyberapps.com/api/v1/plans \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"name": "KyberGate Annual", "interval": "year", "trial_days": 0, "items": [{"sku": "KG-BASIC", "qty": 500, "pricing": "fixed", "unit_cents": 500}]}'PATCH/api/v1/plans/{id}Update plancatalog:write
Any field from create. New subscriptions use it; existing ones keep their prices.
curl -X PATCH https://hub.kyberapps.com/api/v1/plans/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"trial_days": 30}'POST/api/v1/plans/{id}/archiveArchive plancatalog:write
No new subscriptions on it. Existing subscriptions continue.
curl -X POST https://hub.kyberapps.com/api/v1/plans/1/archive \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/plans/{id}/restoreRestore plancatalog:write
Open for new subscriptions again.
curl -X POST https://hub.kyberapps.com/api/v1/plans/1/restore \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/couponsList couponsread
Coupons with label (for example 10% off once), redeemed count and state (usable, expired, used up, archived).
Query: status=&brand=
curl https://hub.kyberapps.com/api/v1/coupons?status=&brand= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/coupons/{id}Get couponread
One coupon with every redemption (document and customer).
curl https://hub.kyberapps.com/api/v1/coupons/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/couponsCreate couponcatalog:write
code (3 to 32 letters, numbers or dashes), kind percent (percent) or amount (amount_cents), duration once, repeating (duration_months) or forever, expires_on, max_redemptions, brand, name.
curl -X POST https://hub.kyberapps.com/api/v1/coupons \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"code": "WELCOME10", "kind": "percent", "percent": 10, "duration": "once", "expires_on": "2027-06-30"}'PATCH/api/v1/coupons/{id}Update couponcatalog:write
Any field from create. The limit cannot go below the times it was already used.
curl -X PATCH https://hub.kyberapps.com/api/v1/coupons/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"max_redemptions": 50}'POST/api/v1/coupons/{id}/archiveArchive couponcatalog:write
The code stops working. Documents that already carry it keep their discount.
curl -X POST https://hub.kyberapps.com/api/v1/coupons/1/archive \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/coupons/{id}/restoreRestore couponcatalog:write
The code works again.
curl -X POST https://hub.kyberapps.com/api/v1/coupons/1/restore \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/plans/{id}/portalPlan portal rulesread
What customers may change on this plan in the portal: quantities (min_qty to max_qty), pause (max_pause_days), cancel at period end; with a one-line summary.
curl https://hub.kyberapps.com/api/v1/plans/1/portal -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/plans/{id}/portalSet plan portal rulescatalog:write
allow_qty, min_qty, max_qty (null for no limit), allow_pause, max_pause_days (1 to 365), allow_cancel. Omitted fields keep their value. Upgrades make a draft invoice for staff; nothing is charged by itself.
curl -X POST https://hub.kyberapps.com/api/v1/plans/1/portal \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"allow_qty": true, "min_qty": 1, "max_qty": 500, "allow_cancel": true}'POST/api/v1/subscriptions/nativeStart subscription on a plansubscriptions:write
org_id, plan_id, qty_<SKU>, coupon, trial_days, start, terms, auto_renew. Nothing is charged; bill each period with /bill.
curl -X POST https://hub.kyberapps.com/api/v1/subscriptions/native \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"org_id": 1, "plan_id": 2, "qty_KA-SITE": "3"}'POST/api/v1/subscriptions/{id}/change/previewPreview subscription changeread
quantities {SKU: qty} and or plan_id: old and new price per period, prorated amount now, days left.
curl -X POST https://hub.kyberapps.com/api/v1/subscriptions/1/change/preview \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"quantities": {"KA-SITE": 4}}'POST/api/v1/subscriptions/{id}/changeChange subscriptionsubscriptions:write
Applies the preview: an upgrade makes a draft invoice for the prorated amount, a downgrade a credit.
curl -X POST https://hub.kyberapps.com/api/v1/subscriptions/1/change \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"quantities": {"KA-SITE": 4}}'POST/api/v1/subscriptions/{id}/pausePause subscriptionsubscriptions:write
resume_on (optional date) resumes by itself.
curl -X POST https://hub.kyberapps.com/api/v1/subscriptions/1/pause \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"resume_on": "2027-01-05"}'POST/api/v1/subscriptions/{id}/resumeResume subscriptionsubscriptions:write
curl -X POST https://hub.kyberapps.com/api/v1/subscriptions/1/resume \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/subscriptions/{id}/cancel-at-period-endCancel at period endsubscriptions:write
on: true (default), or false to undo.
curl -X POST https://hub.kyberapps.com/api/v1/subscriptions/1/cancel-at-period-end \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"on": true}'POST/api/v1/subscriptions/{id}/cancelCancel subscription nowsubscriptions:write
Native subscriptions; reason. Stripe subscriptions cancel at period end instead.
curl -X POST https://hub.kyberapps.com/api/v1/subscriptions/1/cancel \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"reason": "School closed"}'POST/api/v1/subscriptions/{id}/auto-renewSet auto-renewsubscriptions:write
on: true or false.
curl -X POST https://hub.kyberapps.com/api/v1/subscriptions/1/auto-renew \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"on": false}'POST/api/v1/subscriptions/{id}/renewal-quoteRenewal quotequotes:write
Draft quote for the next term from the subscription's items, once per term.
curl -X POST https://hub.kyberapps.com/api/v1/subscriptions/1/renewal-quote \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/subscriptions/{id}/billBill subscription periodinvoices:write
Draft invoice for the current period, once per period, coupon applied. Nothing is emailed.
curl -X POST https://hub.kyberapps.com/api/v1/subscriptions/1/bill \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/subscriptions/{id}/eventsSubscription historyread
Every lifecycle event: created, changed, paused, resumed, renewed, canceled, with amounts.
curl https://hub.kyberapps.com/api/v1/subscriptions/1/events -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/subscriptions/{id}/usageReport usagesubscriptions:write
One record {meter (code; optional when the plan has one meter), quantity (whole units), at (YYYY-MM-DD, default today), external_id, note} or {items: [...]} up to 500. The same external_id on the same subscription is taken once; a resend answers duplicate: true. Usage bills in arrears on the next period's invoice. Brand tokens see only their brand.
curl -X POST https://hub.kyberapps.com/api/v1/subscriptions/1/usage \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"meter": "students", "quantity": 1240, "at": "2026-11-27", "external_id": "kybergate:tenant_42:2026-11-27"}'GET/api/v1/subscriptions/{id}/usageUsage this periodread
Per meter: counted, included, billable and the estimated charge for the current period; then the latest records.
Query: limit=&unbilled=
curl https://hub.kyberapps.com/api/v1/subscriptions/1/usage?limit=&unbilled= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/subscriptions/{id}/usage/billBill usage nowinvoices:write
A usage-only draft invoice for every unbilled record up to today. Nothing is emailed.
curl -X POST https://hub.kyberapps.com/api/v1/subscriptions/1/usage/bill \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/plans/{id}/metersPlan usage metersread
code, name, unit, aggregate (sum, max or last), included units, pricing unit or tiers.
curl https://hub.kyberapps.com/api/v1/plans/1/meters -H "Authorization: Bearer $KB_TOKEN"
Vendors and bills17
GET/api/v1/vendorsList vendorsread
Vendors with payment terms, default expense account, owed_cents, bill count and spend in the last 12 months. status: all or archived. Workspace tokens only.
Query: status=&search=
curl https://hub.kyberapps.com/api/v1/vendors?status=&search= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/vendors/{id}Get vendorread
One vendor with its latest 100 bills.
curl https://hub.kyberapps.com/api/v1/vendors/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/vendorsCreate vendorap:write
name is required. email, terms_days (0 to 365, default 30), expense_account_id, notes.
curl -X POST https://hub.kyberapps.com/api/v1/vendors \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"name": "Verizon", "terms_days": 30, "email": "billing@verizon.example"}'PATCH/api/v1/vendors/{id}Update vendorap:write
Any field from create, or archived: true or false. A vendor with open bills cannot be archived.
curl -X PATCH https://hub.kyberapps.com/api/v1/vendors/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"terms_days": 45}'GET/api/v1/billsList billsread
Bills with number, vendor, vendor_ref, dates, lines, total_cents and status (draft, approved, paid, void; overdue filters approved bills past due), plus AP totals.
Query: status=&vendor_id=&from=&to=
curl https://hub.kyberapps.com/api/v1/bills?status=&vendor_id=&from=&to= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/bills/{id}Get billread
One bill with its lines and the journal entries it posted.
curl https://hub.kyberapps.com/api/v1/bills/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/billsCreate billap:write
vendor_id and lines ([{account_id (expense or asset), description, amount_cents}]) are required. vendor_ref, bill_date, due_date (default from the vendor's terms), memo, recur (month, quarter, year). approve: true approves it at once.
curl -X POST https://hub.kyberapps.com/api/v1/bills \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"vendor_id": 1, "vendor_ref": "INV-88812", "bill_date": "2026-11-01", "lines": [{"account_id": 12, "description": "Fiber, November", "amount_cents": 129900}]}'PATCH/api/v1/bills/{id}Update billap:write
Drafts only. Any field from create.
curl -X PATCH https://hub.kyberapps.com/api/v1/bills/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"memo": "Split with KyberCopy"}'POST/api/v1/bills/{id}/approveApprove billap:write
Posts it to the ledger (expense to accounts payable) on the bill date. Refused inside a closed period, and refused (422) when a bill approval rule covers the bill: submit it instead.
curl -X POST https://hub.kyberapps.com/api/v1/bills/1/approve \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/bills/{id}/submitSubmit bill for approvalap:write
Starts the approval chain of the rules that cover a draft bill (Ledger, Bills, Approval rules). Each approver is notified in turn and decides on the bill page; the last approval books it. Returns the bill with approval.status pending and its steps. note is shown to the approvers.
curl -X POST https://hub.kyberapps.com/api/v1/bills/1/submit \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"note": "Annual renewal, budgeted"}'GET/api/v1/bills/approvalsBills waiting for approvalread
Bills whose approval chain waits on someone: step, of, approver, submitted_by, rules. Also lists the approval rules (covers, steps). Every bill also carries approval (status none, needed, pending, approved, rejected or changed, with steps).
curl -X GET https://hub.kyberapps.com/api/v1/bills/approvals \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/bills/{id}/payRecord bill paymentap:write
Records money already sent: paid_on (not in the future), method (ach, check, wire, card, other), reference, from_account_id (a bank or Stripe balance account; default Bank). Nothing is sent.
curl -X POST https://hub.kyberapps.com/api/v1/bills/1/pay \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"paid_on": "2026-11-20", "method": "ach", "reference": "ACH 55102"}'POST/api/v1/bills/{id}/voidVoid billap:write
reason is required. Whatever it posted is reversed.
curl -X POST https://hub.kyberapps.com/api/v1/bills/1/void \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"reason": "Duplicate of BILL-00012"}'GET/api/v1/bills/{id}/fileDownload bill receiptread
The receipt file as content_base64 with filename, mime and size. 404 when the bill has none.
curl https://hub.kyberapps.com/api/v1/bills/1/file -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/bills/{id}/fileUpload bill receiptap:write
content_base64 (PDF, PNG or JPEG, up to 512 KB over the API) and filename. Replaces any file already attached.
curl -X POST https://hub.kyberapps.com/api/v1/bills/1/file \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"filename": "verizon-nov.pdf", "content_base64": "JVBERi0xLjQK..."}'POST/api/v1/bills/{id}/recurSet bill scheduleap:write
recur: month, quarter, year, or none to stop. The next draft is dated from the bill date, never in the past.
curl -X POST https://hub.kyberapps.com/api/v1/bills/1/recur \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"recur": "month"}'POST/api/v1/bills/recurring/runRun recurring billsap:write
Makes the draft copy of every recurring bill whose next date has come (once per date), as the nightly job does. date (default today) for a catch-up. Nothing is paid.
curl -X POST https://hub.kyberapps.com/api/v1/bills/recurring/run \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'Ledger and statements21
GET/api/v1/ledger/accountsChart of accountsread
Every account with code, type and balance_cents (in its normal direction) as of a date. type: asset, liability, equity, income, expense.
Query: type=&status=&as_of=
curl https://hub.kyberapps.com/api/v1/ledger/accounts?type=&status=&as_of= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/ledger/accounts/{id}Account registerread
One account with its opening balance and every line in the range with a running balance.
Query: from=&to=
curl https://hub.kyberapps.com/api/v1/ledger/accounts/1?from=&to= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/journal-entriesList journal entriesread
Entries newest first with number, date, memo, kind, source (auto, manual, backfill), total_cents and the record it came from.
Query: from=&to=&source=&account_id=&limit=
curl https://hub.kyberapps.com/api/v1/journal-entries?from=&to=&source=&account_id=&limit= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/journal-entries/{id}Get journal entryread
One entry with every debit and credit line.
curl https://hub.kyberapps.com/api/v1/journal-entries/1 -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/journal-entriesPost journal entryledger:write
date, memo and two or more lines [{account_id, debit_cents or credit_cents, memo}]. Debits must equal credits. Refused inside a closed period.
curl -X POST https://hub.kyberapps.com/api/v1/journal-entries \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"date": "2026-11-30", "memo": "Owner contribution", "lines": [{"account_id": 1, "debit_cents": 500000}, {"account_id": 30, "credit_cents": 500000}]}'POST/api/v1/journal-entries/{id}/reverseReverse journal entryledger:write
Manual entries only. Posts the opposite entry on date (default today).
curl -X POST https://hub.kyberapps.com/api/v1/journal-entries/1/reverse \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"date": "2026-12-01"}'POST/api/v1/ledger/accountsCreate accountledger:write
code (1 to 12 letters, digits, dots or dashes, unique), name and type (asset, liability, equity, income, expense); description.
curl -X POST https://hub.kyberapps.com/api/v1/ledger/accounts \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"code": "6450", "name": "Software subscriptions", "type": "expense"}'PATCH/api/v1/ledger/accounts/{id}Update accountledger:write
code, name, description; type only while nothing is posted to it. archived: true or false (an account with a balance, or one the ledger posts to, cannot be archived).
curl -X PATCH https://hub.kyberapps.com/api/v1/ledger/accounts/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"name": "Software and SaaS"}'GET/api/v1/ledger/deferralsDeferred revenue schedulesread
Every invoice whose revenue is spread over a term: start, months, recognised_cents, remaining_cents, next_date and the monthly schedule. status: open or done.
Query: status=
curl https://hub.kyberapps.com/api/v1/ledger/deferrals?status= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/ledger/deferralsSet deferral scheduleledger:write
invoice_id and months (2 to 120, or 0 to recognise it all when issued); start (default the issue date), note. Past months post at once.
curl -X POST https://hub.kyberapps.com/api/v1/ledger/deferrals \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"invoice_id": 1, "months": 12, "start": "2026-09-01", "note": "Annual licence"}'POST/api/v1/ledger/deferrals/{id}/clearClear deferral scheduleledger:write
{id} is the invoice id. Removes the schedule set by hand; the automatic one (proposal term or plan period) applies again.
curl -X POST https://hub.kyberapps.com/api/v1/ledger/deferrals/1/clear \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/ledger/closePeriod close checklistread
For a period end (default the last month end): automatic checks, manual items, whether it can close, the lock date and the close history.
Query: period=
curl https://hub.kyberapps.com/api/v1/ledger/close?period= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/ledger/close/tickTick close itemledger:write
period_end, item (bank, credit, tax, review), done (default true), note.
curl -X POST https://hub.kyberapps.com/api/v1/ledger/close/tick \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"period_end": "2026-10-31", "item": "bank", "note": "Matched to the October statement"}'POST/api/v1/ledger/closeClose the booksledger:write
period_end (must have ended). Refused while an automatic check fails unless force: true with a note. Nothing posts on or before the lock date afterwards.
curl -X POST https://hub.kyberapps.com/api/v1/ledger/close \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"period_end": "2026-10-31"}'POST/api/v1/ledger/close/reopenReopen a periodledger:write
to: the new lock date (before the current one), or empty to open everything; note is required.
curl -X POST https://hub.kyberapps.com/api/v1/ledger/close/reopen \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"to": "2026-09-30", "note": "Late vendor bill for October"}'GET/api/v1/ledger/exportAccountant exportread
The journal for a date range as text: format csv (one row per line), qbo (QuickBooks Online journal import), xero (Xero manual journal import) or iif (QuickBooks Desktop general journal). mode=monthly sums each month into one journal; tracking=1 adds the brand as the QuickBooks class or Xero tracking; chart=1 adds the chart of accounts to an IIF. With iif, monthly or tracking, accounts follow the saved account map and the response adds the pre-export checks.
Query: from=&to=&format=&mode=&tracking=&chart=
curl https://hub.kyberapps.com/api/v1/ledger/export?from=&to=&format=&mode=&tracking=&chart= -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/ledger/export/mapExport account mapread
Every ledger account with the QuickBooks (target=qb: account name, type, number) or Xero (target=xero: code, tax rate) account it exports to, whether it is saved or the default, and any problem (QuickBooks Desktop names over 31 characters, invalid Xero codes).
Query: target=
curl https://hub.kyberapps.com/api/v1/ledger/export/map?target= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/ledger/export/mapSave export account mapledger:write
Map accounts for one target. A row equal to the default is removed.
curl -X POST https://hub.kyberapps.com/api/v1/ledger/export/map \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"target": "qb", "accounts": [{"account_id": 12, "ext_name": "Sales", "ext_type": "INC"}]}'GET/api/v1/ledger/exportsExport historyread
Accountant exports made on the Ledger, Export page: format, range, totals, file name, SHA-256 and whether it was marked imported.
curl https://hub.kyberapps.com/api/v1/ledger/exports -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/statementsList financial statementsread
The statements and the date range presets they accept.
curl https://hub.kyberapps.com/api/v1/statements -H "Authorization: Bearer $KB_TOKEN"
GET/api/v1/statements/{name}Get financial statementread
name: profit-and-loss, cash-flow (range or from and to, with the previous period), balance-sheet, trial-balance, ar-aging, ap-aging (as_of). Money in cents.
Query: range=&from=&to=&as_of=&brand=
curl https://hub.kyberapps.com/api/v1/statements/{name}?range=&from=&to=&as_of=&brand= -H "Authorization: Bearer $KB_TOKEN"Webhooks and fleet changes8
GET/api/v1/webhook-endpointsList webhook endpointsadmin
Each endpoint with its events, status and the last 24 hours of deliveries. Also returns every event type.
curl https://hub.kyberapps.com/api/v1/webhook-endpoints -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/webhook-endpointsCreate webhook endpointadmin
url must be public https on port 443. events: list of event types or ["*"] for all. brand (optional) limits it to one product's records, for example the lead and meeting events of kyberaccess only. The response carries secret once; verify each delivery with it (see Webhooks below).
curl -X POST https://hub.kyberapps.com/api/v1/webhook-endpoints \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"url": "https://hooks.example.com/kyber", "events": ["invoice.paid", "proposal.signed"], "description": "Accounting sync"}'GET/api/v1/webhook-endpoints/{id}Get webhook endpointadmin
With its last 50 deliveries.
curl https://hub.kyberapps.com/api/v1/webhook-endpoints/1 -H "Authorization: Bearer $KB_TOKEN"
PATCH/api/v1/webhook-endpoints/{id}Update webhook endpointadmin
url, events, description, brand (empty for every brand), status (active or disabled). Turning it back on resets the failure count.
curl -X PATCH https://hub.kyberapps.com/api/v1/webhook-endpoints/1 \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"status": "active"}'POST/api/v1/webhook-endpoints/{id}/testSend test eventadmin
Sends a webhook.test event now and returns the result.
curl -X POST https://hub.kyberapps.com/api/v1/webhook-endpoints/1/test \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'POST/api/v1/webhook-endpoints/{id}/deleteDelete webhook endpointadmin
Deletes the endpoint and its delivery log. Events stay.
curl -X POST https://hub.kyberapps.com/api/v1/webhook-endpoints/1/delete \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'GET/api/v1/fleet/changesFleet changes since an id or dateread
Hub changes a product's fleet machine should know about, oldest first: id, date, title, what, action (none, recommended or required), sections, endpoints, guide_url, ack_url and your_ack (this brand's acknowledgement). since is the last change id you handled or a date YYYY-MM-DD. Also sent as the webhook fleet.changed; public copies at /fleet/changes.json and /fleet/changes.atom.
Query: since=
curl https://hub.kyberapps.com/api/v1/fleet/changes?since= -H "Authorization: Bearer $KB_TOKEN"
POST/api/v1/fleet/changes/{id}/ackAcknowledge a fleet changeread
Say a change is done, n/a or blocked for your brand: status, note (required when blocked), commit. A product token acks only for its own brand; repeat to update.
curl -X POST https://hub.kyberapps.com/api/v1/fleet/changes/1/ack \
-H "Authorization: Bearer $KB_TOKEN" -H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"status": "done", "note": "Subscribed to fleet.changed", "commit": "abc1234"}'No endpoint matches.