Developers
API changelog
Every change to the Kamayu API, newest first, and what stays true inside a version.
The Terms of Service set out these promises in full.
The promise
Inside a version, changes are additive only:
- Fields, resources, filters, events and enum values are only ever added. Nothing is removed, renamed or changed in meaning, and no field becomes required. Your client must accept values and fields it does not know.
- A change that would break a client ships as a new version in a new path (
/api/v2), never as an edit of the current one. - When a new version is published, the old one keeps working for at least 12 months from that day. From the day it is
deprecated, every answer of the old version (errors included) carries a
Deprecationheader (RFC 9745) and, once a stop date is set, aSunsetheader (RFC 8594), with aLink: <https://kamayu.net/developers/changelog>; rel="deprecation"pointing here. Each workspace's owner and the integrations' creators are told by a bell notice and an email, and the integration's page shows calls still arriving on the old version. - Every change, additive ones included, gets a dated entry below.
v1 published
The first version of the Kamayu API, at https://<your-workspace>.kamayu.app/api/v1. Every call carries
Authorization: Bearer <key>; a key is made by the workspace's owner in Admin, for an integration (a non-person identity that
takes no seat) whose role decides what the key may see and change. The reference is the OpenAPI document, also served
to a working key at /api/v1/openapi.json.
Reads (scope read), each list paged by an opaque cursor (limit 1 to 100, sort, direction and named filters; no totals):
companies,contacts,deals(leads are deals with kindlead),pipelines,tasks,tickets,quotes,projects,products- a record's
notes(companies, contacts, deals, tasks, tickets) usersand the customfieldsdefinitionsGET /me: the integration, its role, the key's scopes and dates, the limits that apply and the version, and for each resource the fields the role hides and the ones it may read but not change
A field the role may not see is absent from an answer, never null.
Writes (scope write): POST and PATCH on companies, contacts, deals, tasks and tickets; a deal's move
(won and lost go through it), a task's complete, and a record's notes. The API deletes no record and sends no message of its own. A write
that names a field the role hides or may not change is refused with FIELD_FORBIDDEN, naming the field.
Idempotency: an optional Idempotency-Key header on every POST that makes or changes a record (1 to 255 printable ASCII characters). A repeat with the
same key and request answers the record as it is now with Idempotent-Replayed: true; the same key with another body is
409 IDEMPOTENCY_KEY_REUSED; a repeat while the first is still running is 409 IDEMPOTENCY_IN_PROGRESS. A key is remembered for
24 hours.
Webhooks (scope webhooks, added 2026-11-25): POST /webhooks subscribes an https address to events and answers the signing secret,
shown once; GET /webhooks lists the integration's own subscriptions; DELETE /webhooks/{id} unsubscribes one (the only thing the API
deletes). Events: company.created, contact.created, deal.created (a lead is a deal with kind lead), deal.won, deal.lost,
quote.signed, ticket.created and task.completed. An event is thin, { type, timestamp, data: { object, id, url } }: read the
record at data.url with your key. The event and its headers (Standard Webhooks) are described under webhooks in the reference.
Webhooks are delivered (added 2026-11-25): each event is sent as a signed HTTPS POST with the Standard Webhooks headers webhook-id (the delivery's id, the same on every attempt), webhook-timestamp (Unix seconds, new on each attempt) and webhook-signature (v1,<base64 HMAC-SHA256>; two signatures separated by a space while a rotated secret is still valid). Any 2xx answer within 15 seconds acknowledges it; anything else, a redirect included (it is never followed), is retried: ten attempts over about three days (at once, then 5 seconds, 5 minutes, 30 minutes, 2, 5, 10, 14, 20 and 24 hours; a Retry-After of up to 24 hours is honoured). 410 Gone turns the endpoint off at once, and so do three days of failures. An event is sent only if the endpoint's integration may view the record when it is sent. A ping event (data.object is endpoint) is a test, sent once.
Webhook limits (added 2026-11-25): an integration may make 20 webhook endpoints a day (409 LIMIT_REACHED after), and a key cannot delete an endpoint the owner paused or that was turned off, or subscribe a new one to the host of such an endpoint (409 CONFLICT): the workspace owner decides. A receiver that times out three times in a row is left alone for ten minutes.
Limits: each key and the workspace as a whole have limits on calls and on writes, a minute and a day. The numbers that apply
to your workspace are shown on Admin > API in Kamayu and in GET /me; they can differ between plans and workspaces, so read
them there rather than assuming them. Every answer to a call with a working key carries RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset.
A call over a limit is 429 RATE_LIMITED with Retry-After and is not counted.
Errors are one shape, { "error": { "code", "requestId", "details" } } (details only when there is something to name, as a list of
{ "field", "reason" }), with a stable code and no free text to parse; every answer carries X-Request-Id.