Kaso GTM documentation
This reference covers the GTM product within the Kaso company stack. The endpoint-level reference is the OpenAPI description generated from the handlers themselves.
REST API v1
Server-to-server REST over the CRM records, so another system can stay in step with Kaso GTM without screen-scraping the product.
- Base URL /api/v1 on your deployment's own hostname.
- Resources: accounts, contacts, opportunities, activities, sequences, enrollments, tasks, notes and signals — list, read, create and update.
- Keyset pagination on (created at, id), so a page boundary is stable while rows are being written underneath it.
- One error envelope everywhere: { error: { code, message } }. The code is the contract; branch on it, not on the sentence.
Authentication
Keys are scoped per resource and per verb, not per role. A key that only needs to read accounts is issued a key that can only read accounts.
- Keys are presented as a bearer token and begin mk_live_. Only the prefix plus six characters is ever shown again after creation.
- Every key belongs to one workspace. There is no cross-workspace key.
- Keys are revocable immediately from Settings, and revocation takes effect on the next request.
- Repeated failed authentication is rate limited by origin before it reaches a key lookup.
Events and sync
For anything you would otherwise poll for, subscribe instead.
- Outbound webhooks deliver record changes to an endpoint you own.
- Deliveries carry a dedupe key, so a retried delivery is safe to process twice.
- Inbound provider callbacks are idempotent by the same rule — a replayed webhook never double-sends to a prospect.
Scopes
The complete set, mirrored from the API key definition in the platform. See the note at the head of this file for why it is mirrored rather than imported.
| Resource | Grantable scopes |
|---|---|
| accounts | accounts:readaccounts:write |
| contacts | contacts:readcontacts:write |
| opportunities | opportunities:readopportunities:write |
| activities | activities:readactivities:write |
| sequences | sequences:readsequences:write |
| tasks | tasks:readtasks:write |
| notes | notes:readnotes:write |
| signals | signals:readsignals:write |
| settings | settings:read |
First request
Issue a key in Settings, then list the accounts it can see.
curl "$KASO_BASE_URL/accounts?limit=25" \
-H "Authorization: Bearer mk_live_..."KASO_BASE_URL is your deployment’s absolute base URL with /api/v1 on the end. The response carries a nextCursor when more rows exist. Pass it back as ?cursor= to continue.
Elsewhere
- Security & trust— isolation, encryption, audit and retention, with what we do not claim.
- Changelog— every release. Breaking API changes are announced at least 90 days ahead and never inside a minor release.
- Plans and limits— every ceiling on that page is the ceiling the platform enforces.