Skip to main content
A story (called status inside WhatsApp) is a text, image or video post that your number’s contacts see in the Updates tab for 24 hours. Pilot Status publishes it from the same WhatsApp number tied to your API key, as POST /v1/messages/send does.
Stories are available on Evolution GO numbers only. A Meta Cloud API number answers 400 NOT_SUPPORTED_FOR_META (the Cloud API has no stories), and an unofficial number on any other session (e.g. Evolution v2) answers 400 NOT_SUPPORTED_FOR_PROVIDER.

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} returns recipientCount: 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 is 410 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/messages and in the message log, and fires the usual message.sent / message.failed webhooks with type: "story".
  • Delivery and read receipts are best effort. SENT is the guaranteed state. A story may move to DELIVERED or READ when 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 for READ on 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 mediaUrl and 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

Send deliverAt 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_ERROR with details.deliverAt: ["Invalid datetime"].
  • The story stays QUEUED until then, and GET /v1/stories/{id} returns its deliverAt.
  • mediaUrl is downloaded at publish time, not when you schedule. If the URL is gone by then, the story fails and you get message.failed.
  • It is charged (1 message) only when it goes out. A canceled story is not charged.
To cancel, call 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}
A story that failed carries the reason and its code, with the same rules as 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.
  • recipients is 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 is null while the story is QUEUED.
  • Recipients are third-party data and follow the same retention as message content: outside the retention window, recipients is null and redacted: true; recipientCount stays.
  • 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 (QUEUED with a future deliverAt): cancels it. Answers 200 with { "id", "canceledAt" }; the story becomes CANCELED, is never published and is not charged.
  • QUEUED and already due (it is being published): 409 STORY_NOT_REVOCABLE with its status. Try again once it is SENT.
  • 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 (status SENT, DELIVERED, READ or PLAYED) and not yet deleted; otherwise 409 STORY_NOT_REVOCABLE. More than 24 hours after sentAt → 410 STORY_EXPIRED.
  • Answers 200 with { "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 as stories_send, story_get and story_delete.