Skip to content

Changelog

API changelog

Changes to the whatsappx.si API and these docs, newest first. If you built against the earlier in-app API docs, check the corrections below.

2026-11-16: seen status and last seen

  • New: sent messages now track WhatsApp’s delivery and read receipts, on numbers linked by QR code and Cloud API numbers. A message’s status moves from sent to delivered (two grey ticks) and read (blue ticks), with the new fields delivered_at and read_at. Live listeners get message.updated when they change. This replaces the earlier note that receipts are not tracked.
  • New: GET /api/conversations/{id}/messages/status checks given messages (ids) or lists the sent messages not read yet (unseen=true).
  • New: GET /api/v1/contacts/presence says whether a contact is online and when they were last seen (numbers linked by QR code; only when the contact shares it).
  • Documented: the message.ack webhook for numbers linked by QR code. See Webhook events.

2026-10-16: webhook retries and pacing

  • Changed: each webhook delivery attempt now has 15 seconds (was 5). Timeouts, connection errors, 408, 425, 429 and 5xx are retried up to 6 attempts with growing pauses and jitter, and a Retry-After header is honoured (up to 5 minutes). Other 4xx answers are no longer retried.
  • Changed: every webhook has its own queue, with at most 2 requests in flight and 5 starts per second, so bursts are spread out and a slow endpoint no longer delays the others. Events can arrive out of order.
  • New: webhooks in the list have failed_deliveries, last_failure and last_failure_at, counting events that were given up after every retry or because the endpoint fell too far behind. See What happens when my endpoint fails?.

2026-10-12: Cloud API inbound media

  • Changed: images, stickers, video, audio (including voice notes) and documents received on a Cloud API number are downloaded when the webhook arrives (up to 25 MiB) and carry a media_url like QR-linked messages. Stickers are stored as image; video and audio as document. Types without a media id (for example location) stay placeholders with no downloadable file.

2026-10-10: leaked API key protection, expiry choice and rotation

  • New: API keys that may have leaked are blocked automatically: found by GitHub secret scanning, reported with the public POST /api/security/report-leaked-key, or used in an unusual way (keys without an IP allowlist only). Requests with a blocked key get 401 with code: "api_key_blocked". See Leaked key protection.
  • New: POST /api/v1/keys/{id}/rotate creates a new key with the same name, scope and IP allowlist; the old key keeps working for up to 72 hours (grace_hours, 24 by default), then is revoked automatically. POST /api/v1/keys/{id}/unblock unblocks a key blocked by mistake.
  • New: expires_in_days on Create an API key: 30, 90, 365 (the default) or 0 for a key that never expires. Changed: expires_at is 0 for such keys. An email reminder goes out 7 days before a key expires.
  • New: keys in the list have status, blocked_at, blocked_reason, blocked_by, replaced_by and revoke_at.
  • New: the security alert api_key_leaked and the audit log actions api_key.rotated, api_key.blocked_leak and api_key.unblocked.
  • Changed: new keys look like pk_live_ + 32 letters and digits + _ + a 6-character checksum (47 characters), so secret scanners can find them. Existing keys (pk_live_ + 48 hex characters) keep working.
  • New: Files endpoints: POST /api/v1/files uploads up to 10 files without sending them; GET /api/v1/files/{id} reads one, GET /api/v1/files/{id}/content downloads it and DELETE /api/v1/files/{id} deletes it. An unsent upload is deleted after 24 hours; once sent, a file is kept until you delete it. At most 500 MB of unsent uploads per workspace, and 30 uploaded files a minute.
  • Changed: POST /api/conversations/{id}/attachments sends up to 10 files per request (60 MB in total), with captions[] for a caption on each file. One file still returns the message; several return 201 with {messages, failed}, and one file that fails does not stop the others.
  • New: the same endpoint takes JSON: file_id or file_ids send uploaded files, url or urls download files from https links (public addresses only, at most 3 redirects, 20 seconds) and send them.
  • New: Download a message's file documents GET /api/media/{workspace}/{file}: any message's media_url, received or sent, downloads with a read key, with Range requests.
  • New: audit log actions file.uploaded, file.deleted and file.downloaded (downloads with an API key); attachment.sent has detail.source (form, upload or url).

2026-10-09: security center, audit log and IP-limited keys

  • New: Security and audit endpoints under /api/v1/security: sign-ins, signed-in sessions (with sign-out), the workspace audit log (also as CSV) and security alerts. Lists use a cursor (next_cursor, limit up to 200).
  • New: API key scope admin: everything write allows, plus the security endpoints. read and write keys cannot read them.
  • New: API keys can be limited to IP addresses and CIDR ranges (allowed_ips, at most 20), on create or with PATCH /api/v1/keys/{id}. Other addresses get 403 with code: "ip_not_allowed". Keys now show last_used_at and last_used_ip.
  • New: GET /api/conversations/{id}/reads and the live event conversation.read say which teammates have seen a conversation, and up to which message.
  • New: GET /api/v1/contacts.csv exports the contacts (owners, admins and API keys).
  • New: messages sent through whatsappx.si carry sent_by_user_id and sent_by_name (a teammate) or sent_via_api_key_id and sent_via_api_key_name (an API key). The fields are left out when empty.

2026-10-04: safer media downloads

  • Changed: GET /api/media/{workspace_id}/{file} returns only images (JPEG, PNG, GIF, WebP), audio and video with their own Content-Type. Every other file, including PDFs and office documents, is returned as application/octet-stream with Content-Disposition: attachment and the message's original file_name.
  • Changed: a newly received file is stored under the extension of its declared type, not the extension in the sender's file name. A type outside the supported list is stored as .bin. Use the message's file_name for the original name.

2026-10-04: API rate limits and safer errors

  • Changed: requests that use an API key are now rate limited: 60 per minute and 10,000 per day per key, and 120 per minute and 20,000 per day per workspace. Over a limit the API answers 429 with Retry-After and a rate_limited code; responses carry X-RateLimit-* headers. See Errors and limits.
  • Changed: GET /api/conversations/{id}/messages caps limit at 100 (a larger value used to fall back to 50) and refuses an offset above 10,000 with 400; use before to page further back.
  • Changed: GET /api/health no longer lists the individual dependencies; it returns only status.
  • Error responses never include internal details. Errors that could expose internals now carry a generic message plus a request_id, which is also sent in the X-Request-ID header.
  • The Terms now have an “Acceptable use of the API” section: API for your own business only, no reselling except through the white-label program, no copying, scraping, reverse-engineering or building a competing product.

2026-10-03: public developer docs and corrections

The developer docs moved to whatsappx.si/docs. They were checked line by line against the API, and several statements in the earlier in-app docs turned out to be wrong. Most items below are documentation corrections; the one access change is marked Changed.

Live events (SSE)

  • Event names are message.created, conversation.updated and sync.progress (not message, conversation and sync_progress).
  • Each data: line is an envelope {type, workspace_id, payload, at}, not the raw payload. See Live events.

Webhooks

  • A webhook’s events value is messages, not *, and it is not a filter: every enabled webhook receives every delivery.
  • Generated shared tokens look like whtok_… (48 hex characters after the prefix).
  • The retry policy is now documented: 3 attempts, 5-second timeout, no delivery log or replay.
  • The scan.whatsapp payload for QR-linked numbers is now documented. See Webhook events.

Message status

  • Delivered and read receipts are not tracked. A message’s status is only received or sent.

Errors and authentication

  • The error Workspace access denied does not exist. The real messages are forbidden, workspace required (X-Tenant-ID) and API key belongs to a different workspace.
  • The status list now includes 413 and 503, and 429 applies only to the sign-in and email endpoints. See Errors and limits.
  • Changed: POST /api/whatsapp/connect and POST /api/whatsapp/disconnect (linking or unlinking the QR-linked number) are now Console only: an owner or admin signed in to the app. API keys get 403 with API keys cannot administer workspaces.
  • POST /api/v1/knowledge-ai/answer and POST /api/v1/assistant need a write key (or a session); a read key gets API key is read-only.

Responses

  • GET /api/whatsapp/qr returns {code, image, pending}, not {qr, qr_pending, connected}.
  • POST /api/conversations/{id}/read returns the conversation object, not {id, unread_count}.
  • Members include user_id. Use user_id (not the membership id) as assignee_id.
  • GET /api/health returns a services map and 503 with status: "degraded" when a dependency is down.

Newly documented

  • Limits: conversation list capped at 30; contacts, templates and knowledge lists capped at 500; message limit above 100 falls back to 50; at most 10 webhooks; template sync imports Meta’s first page only.
  • Message media download paths (media_url). See List messages.
  • Sign-in endpoints and their rate limits are listed in Authentication and Errors and limits.