Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 2.78 KB

File metadata and controls

22 lines (17 loc) · 2.78 KB

WebhookPayloadMessageSentMessage

Properties

Name Type Description Notes
id String Internal message ID
conversation_id String Internal conversation ID
platform Platform Every platform whose outgoing messages Zernio observes. sms is absent on purpose: its carrier receipts update delivery status and never raise message.sent. (enum: instagram, facebook, telegram, whatsapp, twitter, reddit, bluesky, slack)
platform_message_id String Platform's message ID
direction Direction (enum: incoming, outgoing)
text Option<String> Message text content
attachments Vecmodels::WebhookPayloadMessageSentMessageAttachmentsInner
sender models::WebhookPayloadMessageSentMessageSender
sent_at String When the message was sent, as reported by the platform and passed through unmodified. Full ISO 8601 date-time: Instagram and Facebook carry millisecond precision, while some platforms (for example WhatsApp and Telegram) report whole seconds. Use this field as the chronological ordering key. If two messages share the same value, fetch the conversation messages with sortOrder=desc for the deterministic order.
is_read bool
source Option<Source> WhatsApp send origin. whatsapp_business_app when sent from the WhatsApp Business phone app on a Coexistence number; cloud_api when sent through Zernio (dashboard, API, or broadcasts); meta_business_agent when Meta Business Agent answered on the number. Absent on non-WhatsApp platforms. Says where WhatsApp saw the send come from, not which Zernio surface produced it: read sentVia for that. (enum: whatsapp_business_app, cloud_api, meta_business_agent) [optional]
sent_via Option<SentVia> Which Zernio surface produced this message: human (an operator in the Zernio inbox), api (a call to this API), broadcast, sequence, workflow, comment_automation, or bulk-api (POST /v1/whatsapp/bulk). Same vocabulary as the source filter on the inbox analytics endpoints, and the same value a later GET on this message returns. Always present, and null whenever the lineage is unknown: a message sent from the platform's own app, and every message stored before this field shipped (2026-08). Existing messages are NOT backfilled, so treat null as "unknown", never as "sent by a human". (enum: human, api, broadcast, sequence, workflow, comment_automation, bulk-api, ) [optional]

[Back to Model list] [Back to API list] [Back to README]