Skip to content

    Arabic or English · ↑↓ to move · Enter to open · Esc to close

    العربية
    On this page

    Changelog

    What changed in the Mursilat public API, newest first.

    2026-11 — Official WhatsApp Business numbers only

    • Numbers are official WhatsApp Business (Cloud API) numbers, connected in the dashboard with Meta Embedded Signup. QR / pairing-code linking is gone.
    • Removed from v2: POST /v2/numbers, GET /v2/numbers/{numberId}/qr, POST /v2/numbers/{numberId}/pairing-code, /reconnect, /logout, /contacts/check, the groups endpoints, POST /v2/messages/{messageId}/reactions and PATCH /v2/messages/{messageId}. DELETE /v2/messages/{messageId} now only cancels a scheduled message.
    • Removed from v1: POST messages/{id}/react, edit and delete.
    • The poll and event message types and the poll.vote event are gone. Sending them answers 400 MESSAGE_TYPE_NOT_SUPPORTED with reason: "NOT_AVAILABLE".
    • Retired but still accepted, so nothing breaks: the scope groups:read (dropped when a key is created; grants nothing) and the events poll.vote, session.status and number.restricted (kept in subscription lists, never delivered). Use number.status and number.quality instead.
    • New events: message.echo (coexistence: a message you sent from the WhatsApp Business app — never a message.received), number.quality (Meta quality rating / messaging limit changed) and template.status (Meta approved, rejected, paused or disabled a template). number.status is now sent for official numbers: connected, disconnected (reason: "offboarded"), banned.
    • Meta’s 24-hour rule: free-form messages reach only a customer who wrote in the last 24 hours (409 CLOUD_API_WINDOW_CLOSED otherwise); type: "template" sends an approved template at any time.
    • OTP codes are sent through an approved AUTHENTICATION template of the number (409 OTP_TEMPLATE_REQUIRED when there is none).
    • message.status failures and refused sends carry stable codes mapped from Meta’s reasons (RECIPIENT_UNDELIVERABLE, META_MARKETING_LIMIT, TEMPLATE_PAUSED… or META_<code>), all listed in the error catalog.
    • Deprecated v1 send fields: gif, videoNote, viewOnce (accepted, ignored) and mentions (refused when not empty).
    • The Number Shield is gone: GET /v2/numbers/{numberId}/health, POST …/pause, POST …/resume and GET / PUT / DELETE …/limits are removed, campaigns no longer take speed, and the warm-up, pacing, quiet-hours and cap errors (SAFETY_PACING, SAFETY_HOURLY_CAP_REACHED, SAFETY_DAILY_CAP_REACHED, SAFETY_QUIET_HOURS, SAFETY_NUMBER_BUSY, ACCOUNT_DAILY_CAP_REACHED, …) no longer occur. Meta’s messaging limits and quality rating apply instead.
    • Opt-outs now also block free-form API messages inside the 24-hour window (422 SAFETY_SUPPRESSED, fail-closed 503 SAFETY_SUPPRESSION_UNVERIFIED). Campaign speed, maxPerMinute, maxPerHour and maxPerDay are deprecated: still accepted and ignored for one more version, then refused.

    2026-10 — Public API v2

    • Account API keys with scopes, number restriction, IP allowlist, expiry, rotation with grace and an audit trail.
    • One REST surface: numbers & pairing (QR or pairing code), every message type, campaigns, auto-replies, OTP, Number Shield health / pause / stricter limits, statistics, groups (read only), webhooks.
    • Idempotency-Key on every write, cursor pagination, rate-limit headers, request ids and a stable error catalog in Arabic and English.
    • Account-level webhook, delivery log (metadata only) and redelivery; new events number.status, number.restricted, campaign.status, otp.verified.
    • Message status ledger (metadata only, 30 days) — the API never returns message content.
    • Scheduled messages are available on request (off by default: 422 SCHEDULING_DISABLED).

    2026-10 — Webhooks version 2

    • Signed envelope { id, type, apiVersion, createdAt, sessionId, number, data }, retries for about an hour, delivery log.
    • Events message.status, interactive.reply, poll.vote, contact.opted_out, contact.opted_in, session.status.
    • Webhook version 1 is deprecated (still delivered for numbers that didn’t switch).