Publish a story
Publishes a WhatsApp story (status) of text, image or video from the credential’s number. Evolution GO numbers only — Meta Cloud API numbers return 400 NOT_SUPPORTED_FOR_META, other unofficial sessions (e.g. Evolution v2) 400 NOT_SUPPORTED_FOR_PROVIDER. Without recipients, the phone’s status privacy decides who sees it. Each story counts as 1 message once sent. The story lives 24 hours. Answers 202 with the story queued; Idempotency-Key makes retries return the same id. Send deliverAt to schedule it.
Auth: number key, or a workspace/account key / OAuth token naming the number in x-whatsapp-number-id. Account keys and OAuth tokens need messages:send.
curl --request POST \
--url https://pilotstatus.com.br/v1/stories \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"type": "text",
"text": "Promoção hoje!",
"backgroundColor": "#25D366",
"font": "calistoga",
"recipients": [
"5511999999999"
]
}
'{
"id": "cm3story0001",
"status": "QUEUED",
"type": "text",
"recipients": "explicit",
"deliverAt": null
}{
"error": "Stories are not supported for Meta Cloud API numbers | Stories não são suportados para números da Meta Cloud API",
"code": "NOT_SUPPORTED_FOR_META"
}{
"error": "Invalid API key"
}Body
Required for text. 1–700 characters.
1 - 700Optional. ISO-8601 date-time to publish later (same rules as deliverAt on /v1/messages/send): stored in UTC, no zone = UTC, past/now publishes right away, invalid → 400 VALIDATION_ERROR. The media is downloaded at publish time. Cancel with DELETE /v1/stories/{id} while QUEUED.
Was this page helpful?
curl --request POST \
--url https://pilotstatus.com.br/v1/stories \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"type": "text",
"text": "Promoção hoje!",
"backgroundColor": "#25D366",
"font": "calistoga",
"recipients": [
"5511999999999"
]
}
'{
"id": "cm3story0001",
"status": "QUEUED",
"type": "text",
"recipients": "explicit",
"deliverAt": null
}{
"error": "Stories are not supported for Meta Cloud API numbers | Stories não são suportados para números da Meta Cloud API",
"code": "NOT_SUPPORTED_FOR_META"
}{
"error": "Invalid API key"
}