POST /api/v1/history/full-sync can deliver the new messages fetched by
the sweep to the webhook, in the history.on_demand.messages event, in
batches of up to 100 per chat, in the messages.received format. Pass
webhookUrl to receive them at that URL (http or https, public address),
or send webhook: true to use the session’s messages.received URL. With
webhook: true and neither, the route answers 400.The event is not subscribable in the webhook configuration: it only arrives
for the request that came with webhookUrl or webhook: true. The route’s response now
returns requestId, which comes back in every batch. Details in
Sync the history.POST /api/v1/history/full-sync
POST /api/v1/history/full-sync now fetches messages older than the ones
already stored: for each chat, it asks the phone for the messages before the
oldest stored one, page by page, until it returns nothing. It runs in the
background, and the messages arrive as history.message.* events (on
RabbitMQ; history is not delivered to the webhook). Details and limits in
On-demand history.Optional fields: chats, maxChats (default 200, max 1000), count
(default 50), maxPagesPerChat (default 20), intervalMs (default 3000),
requestFull, days and cancel.Changed: with only sessionId, the route now sweeps the 200 most recent
chats instead of only asking for the full history. To ask for the full
history, send requestFull: true (accepted only on WhatsApp Business). Errors
now come back with the real HTTP status (400, 404, 409, 502, 504)
instead of 200 with success: false.POST /api/v1/history/full-sync
Choose the Pix button name with
pixName in POST /api/v1/interactive/send/pix.
Without it, the button still reads “Pagamento PIX”. content is no longer
required.Changed: content and pixMessage now appear above the button, and
footer below it. Before, they were ignored on the unofficial connection. If
you sent text in these fields without expecting it to show, review it.POST /api/v1/interactive/send/pix
Send a sticker that plays audio: pass
audio along with sticker in
POST /api/v1/messages/send/sticker. The audio can be a URL or base64, up to
30 seconds, and is converted to WhatsApp’s format. Without audio, sending
works as before.POST /api/v1/messages/send/sticker
WhatsApp launched stickers that play audio. They now reach the webhook as
type: "sticker", like any sticker: the image comes in media_url as usual,
and the audio comes right below it. Before, this message did not arrive.Integrations that ignore audio keep receiving the sticker as usual.
See the full payload.
To react to someone else’s message in a group, set
participant to whoever
sent the message (phone or LID). Without it, WhatsApp accepts the send but the
reaction does not show up. Nothing changes in 1:1 chats.POST /api/v1/messages/send/reaction
GET /api/v1/inbox/stream opens an SSE stream with changes from the
connections the key can see: message.upsert, message.status,
message.changed, chat.changed and resync.Edit your own number’s profile through the API:
- name, about and picture:
PUT /api/v1/profile/name,/aboutand/picture; remove the picture withDELETE /api/v1/profile/picture; - who can see the about (
all,contactsornone):PUT /api/v1/profile/about/privacy; - business profile, in the same shape as the contact’s
businessProfile:PUT /api/v1/profile/business.
POST /api/v1/chats/searchgot theunreadOnlyandwindowOpenfilters.- Chat and message searches accept
cursorpagination andincludeTotal: false, which skips the count. GET /api/v1/groups/listacceptsparticipants,pictures,offsetandlimit.- Changed:
chatIdaccepts the chat JID besides the numeric id. - Changed: when the contact picture is missing,
GET /api/v1/contacts/{phone}/avatarexplains why incode.
Changed:
media_url becomes a fixed link
https://media.d-api.cloud/v1/<token>.<ext> that redirects to a 15-minute
temporary URL. Old links keep working, and accounts with their own S3 do not
change.Archive, pin, mute and mark as unread, with lists of archived and pinned
chats:
POST /api/v1/chats/archive, /pin, /mute, /mark-unread,
GET /api/v1/chats/archived and /pinned.- Every message event carries
isMetaAI:truewhen the message was written by Meta’s AI for the contact’s business account. - Contacts carry
businessProfilefor Business accounts, with description, websites, hours, address and categories.
Up to 5 simultaneous calls per connection, configured in
/api/v1/sessions/{sessionId}/voice-channels. Changed: with more than one
active call, ending, muting and querying state require callId.- Calls: the caller’s audio comes through again on some devices; calls to other regions connect; rejecting works with LID;
record: falseturns off recording; optional WebRTC audio transport on the stream. - IVR: key presses trigger
call.dtmf; calls blocked by the carrier end withreason: "carrier-filtered". - Official API: conversation routing and thread control (
is_standby,conversation.control_changed); received locations and contacts arrive filled in. - Messages: undelivered view-once arrives as
viewonce; disappearing messages follow the chat timer; editing a caption keeps the type. - History sync:
delivery.maxRpscaps the event rate to your webhook. - Changed: the
httpcommand mode was discontinued.
Create communities with
is_parent and subgroups with parent_jid in
POST /api/v1/groups/create, and link an existing group with
POST /api/v1/groups/{groupId}/link. Group info carries is_community,
linked_parent_jid and is_announcement_group.Changed:
wsUrl and token of stream calls use a per-call token instead
of your API key. Live IVR calls also trigger call.started, call.answered,
call.ended and call.audio.- A session that spends 45 minutes generating QR codes with no scan hibernates and sends
connection.statuswithqrcode_timeout. Requesting the QR again wakes it up. - Group participants carry
phoneandlid. - Changed:
POST /api/v1/contacts/checkreturns the phone injidand the LID inlid.
Changed:
POST /api/v1/groups/{groupId}/participants returns each
participant’s result in results, including WhatsApp refusals (privacy,
already a member etc.).List, carousel, buttons and Pix work on official connections, within the 24h
window. Audio with
ptt: true is sent as a voice note. Changed: Meta
template rejections return the real error (metaCode, fbtraceId) with
400, 404 or 429 instead of 502.With the “Don’t store media” account option, webhooks carry only the
metadata, without
media_url, and the file is downloaded on demand with
POST /api/v1/media/download, which now also accepts the Official API
media_id.Send a round video with
ptv: true in POST /api/v1/messages/send/video.
Received round videos arrive as video with is_ptv: true.A public URL that starts an agent call (
POST /api/v1/hooks/va/{token}), plus
call and turn lookup at /api/v1/voice-agent-calls/{callId}.- Connection: short network drops (under 15s) no longer disconnect;
connectedalways followsdisconnected; a late event no longer marks a logged-out session as connected. - Errors: command routes return
traceId(andX-Trace-Id) to share with support; unknown routes answer404; validation errors no longer become500. - History sync: stops with
webhook_too_slowwhen the webhook is systematically slow. - Messages:
.movvideos show up on the phone; sending media to channels works; marking as read resets the chat counter. - Calls:
call.ringingfires right at the start of the call. - Official API: approved templates carry
footerText.
Turn on
receiveCalls per connection
(POST /api/v1/sessions/{sessionId}/receive-calls-settings) and accept or
reject with POST /api/v1/calls/accept and /reject, with real-time events.With
sequential: true (and async: true), messages to the same recipient go
out one at a time, in the order received. A full queue answers 429 with
Retry-After.Changed: contacts come with
contactName, pushName, username,
isBusiness, isOfficial, lid and an optional picture. The pictureId and
devices fields were removed.- Look up an async command by id at
GET /api/v1/commands/{commandId}. - Changed: received templates carry button parameters as an object in
paramsandmessage_params, replacingparams_json.
- Calls:
call.*events carry the other party’sphoneandlid; streams resume after a drop withresume=1; no more rate limit for starting calls. - Labels: events carry more fields (
list_type,label_name,label_coloretc.) and lookup accepts LID. - Messages: document captions show up on WhatsApp; undecryptable poll votes are recovered; buttons can go to groups.
- QR: the image is always the one for the current pairing.
- Official API: template quick-reply clicks arrive as
template_button_reply.
