Skip to main content
Message, group, connection, chat-action, schedule and work mutations require a stable 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

  1. Save the original key identity, request identifier and exact operation.
  2. Inspect GET /api/v1/requests/{requestId} with that same key and operation scope.
  3. Check WhatsApp or involve the operator if the result is still uncertain.
  4. Do not create a new logical send/action, rotate and replay it, or let a model retry it.
Completed message-request lookups retain 30 days; completed general effect records retain 90 days in the prepared source. Underlying send idempotency remains authoritative after lookup retention; uncertain effects are retained conservatively. A missing lookup is not proof an action never happened.

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.