Kamayu API (v1)

Read and write your workspace's records with an API key. Every call is made to your workspace's own address, with Authorization: Bearer <key>. A field the key's role may not see is absent from an answer, never null; a write that names a field the role hides or may not change is refused, naming the field. The API deletes no record and sends no message of its own: the one thing it deletes is the integration's own webhook subscription. A POST that makes or changes a record takes an optional Idempotency-Key (POST /webhooks does not). Webhooks: a key with the webhooks scope subscribes an https address to events (POST /webhooks, the signing secret is shown once in the answer) and unsubscribes it (DELETE /webhooks/{id}); the event Kamayu then sends is described under webhooks in this document. A key with the write scope and not read is answered the record's id and nothing more by every write, a repeat included: it may change records, never read them through a write. Within v1, fields, filters and enum values are only added; clients must accept values they do not know. Limits: each key and each workspace has a calls-a-minute budget, a write (POST, PATCH, PUT, DELETE) has its own, and the workspace has a calls-a-day and a writes-a-day budget (GET /me lists the numbers that apply). Every answer to a call with a working key carries the minute budget that is nearest to being spent: RateLimit-Limit (its size), RateLimit-Remaining (calls left in it) and RateLimit-Reset (seconds until it renews). A call over a budget is answered 429 RATE_LIMITED with Retry-After (seconds) and is not counted; on that answer the three headers describe the budget that refused it. Versions: a version that a newer one has replaced keeps working for at least 12 months. From the day it is deprecated, every answer of that version, errors included, carries Deprecation (RFC 9745: @ and the date in unix seconds) and, once a stop date is set, Sunset (RFC 8594: an HTTP-date), with a Link header of relation deprecation to the changelog at https://kamayu.net/developers/changelog. While v1 is current it carries none of them.

Servers
Your workspace.
https://{workspace}.kamayu.app/api/v1