POST /v1/messages/send does.
How a story works
- Who sees it. Send
recipients(phone numbers in E.164 without+, or JIDs) and only those contacts receive it. Leave it out and the phone’s own status privacy setting decides (My contacts, My contacts except…, Only share with…). - Nobody in the privacy list. The story is still published and charged: it shows only on your own devices, and
GET /v1/stories/{id}returnsrecipientCount: 0. - 24 hours. WhatsApp removes the story 24 hours after it was sent. You can delete it earlier with
DELETE /v1/stories/{id}; after 24 hours the answer is410 STORY_EXPIRED. - Charging. Each story counts as 1 message in your plan once it is sent, whatever the number of recipients. Deleting is free.
- Where it shows. A story is not a conversation: it does not appear in the inbox, but it is listed in
GET /v1/messagesand in the message log, and fires the usualmessage.sent/message.failedwebhooks withtype: "story". - Delivery and read receipts are best effort.
SENTis the guaranteed state. A story may move toDELIVEREDorREADwhen WhatsApp forwards the receipt to the connected session, but for stories it often does not: the view is recorded on the main phone (“My status” shows who saw it) and the receipt may never reach the API. Do not build logic or alerts that wait forREADon a story.
Publish a story
POST https://pilotstatus.com.br/v1/stories
Answers 202 with the story queued: { "id", "status": "QUEUED", "type", "recipients": "explicit" | "privacy", "deliverAt" } (deliverAt is null when the story goes out right away). Send an Idempotency-Key header to retry safely: the same key returns the same id.
Unknown fields are refused with
400 VALIDATION_ERROR.
Colors
The alpha of the background is ignored when picking the contrasting text color.
Fonts
system (default), system_text, script, system_bold, morningbreeze, calistoga, exo2, courier.
Media
- Images and videos only; audio stories are not supported.
- Pilot Status downloads
mediaUrland uploads it to WhatsApp. The limit is 100 MiB, the same as for media messages. - WebP images are converted to JPEG before publishing.
Schedule a story
SenddeliverAt to publish the story at a later time. It follows the same rules as deliverAt on sending a message:
- ISO-8601 with a time zone, e.g.
2026-11-12T10:00:00-03:00; it is stored in UTC. Without a zone it is read as UTC. - A time in the past, or now, publishes right away.
- An invalid value answers
400 VALIDATION_ERRORwithdetails.deliverAt: ["Invalid datetime"]. - The story stays
QUEUEDuntil then, andGET /v1/stories/{id}returns itsdeliverAt. mediaUrlis downloaded at publish time, not when you schedule. If the URL is gone by then, the story fails and you getmessage.failed.- It is charged (1 message) only when it goes out. A canceled story is not charged.
DELETE /v1/stories/{id} while the story is still QUEUED and its deliverAt is in the future. See Delete a story.
Read a story
GET https://pilotstatus.com.br/v1/stories/{id}
errorMessage and errorCode on GET /v1/messages/{id}: errorMessage is the public text (English and Portuguese separated by |, no internal detail) and errorCode is a stable code. Both are null when the story did not fail.
recipientsis the effective list of who received the story, without your own number: the one you sent (recipientsMode: "explicit") or the one the phone’s privacy produced ("privacy"). It isnullwhile the story isQUEUED.- Recipients are third-party data and follow the same retention as message content: outside the retention window,
recipientsisnullandredacted: true;recipientCountstays. - The id must belong to the credential’s number; an id from another number, or a message that is not a story, answers
404.
Delete a story
DELETE https://pilotstatus.com.br/v1/stories/{id}
- Scheduled and not due yet (
QUEUEDwith a futuredeliverAt): cancels it. Answers200with{ "id", "canceledAt" }; the story becomesCANCELED, is never published and is not charged. QUEUEDand already due (it is being published):409 STORY_NOT_REVOCABLEwith itsstatus. Try again once it isSENT.- Sent: removes the story from the phones of everyone who received it (the same effective list as the send, even if the privacy setting changed since).
- Only a story already sent (
statusSENT,DELIVERED,READorPLAYED) and not yet deleted; otherwise409 STORY_NOT_REVOCABLE. More than 24 hours aftersentAt→410 STORY_EXPIRED. - Answers
200with{ "id", "revokedAt" }. It is not charged and creates no new message.
Authentication
Same rules as sending a message: a number key (ps_number_) acts on its own number; a workspace key, an account key (with x-workspace-id) or an OAuth token must name the number in x-whatsapp-number-id. With an account key or an OAuth token, publishing and deleting need the messages:send permission (AGENT, ADMIN or OWNER) and reading needs logs:read:content. See Authentication.
Errors
Error messages are bilingual (English | Portuguese).
Examples
MCP
The MCP server exposes the same operations asstories_send, story_get and story_delete.