Idempotency-Key with 8–128 letters, digits, underscores or hyphens. Identical completed repeats return a saved result; changed bodies conflict. Message and effect keys cannot be reused across operation types. The existing pause/resume endpoint is a narrow exception: it uses paused plus the current expectedVersion as a compare-and-set operation. Temporary typing presence is another bounded, non-durable exception. The SDK never retries either automatically.
The server persists an intent and body hash before submission, without storing attachment bytes. A restart or uncertain transport outcome becomes unknown and is never submitted automatically. sent means accepted by the engine, not recipient delivery or reading.
Handle an unknown result
- Save the original key identity, request identifier and exact operation.
- Inspect
GET /api/v1/requests/{requestId}with that same key and operation scope. - Check WhatsApp or involve the operator if the result is still uncertain.
- Do not create a new logical send/action, rotate and replay it, or let a model retry it.
Limits
Each key defaults to 60 requests/minute and 10,000/day; owners may lower them. Writes also allow 10/minute and 1,000/day. The hub shares a ten-send/minute limit across staff and integrations. Authenticated failures and repeats count; daily quotas reset at 00:00 UTC and persist across restarts. The gateway accepts at most four concurrent writes and four media fetches. Request bodies are bounded at 8 MiB; outgoing files at 5 MiB decoded; fetched media at 32 MiB. Subscription usage and native AI allowances remain separate.
Work uses
expectedVersion; schedule edits use expectedUpdatedAt, and skips also use expectedNextRun. Refetch and review conflicts instead of overwriting concurrent work. Human takeover cancels pending agent work; already submitted actions may finish. Restore quarantine must never replay effects.