@@ -144,7 +144,7 @@ tags:
144144 Requires the Ads add-on.
145145 name: Ad Audiences
146146- description: |
147- Configure webhooks for real-time notifications. Events: post.scheduled, post.published, post.failed, post.partial, post.cancelled, post.recycled, account.connected, account.disconnected, message.received, comment.received, webhook.test.
147+ Configure webhooks for real-time notifications. Events: post.scheduled, post.published, post.failed, post.partial, post.cancelled, post.recycled, account.connected, account.disconnected, message.received, message.sent, comment.received, webhook.test.
148148 Security: optional HMAC-SHA256 signature in X-Zernio-Signature header. Configure a secret key to enable verification. Custom headers supported.
149149 name: Webhooks
150150- description: |
@@ -8272,6 +8272,7 @@ paths:
82728272 - account.connected
82738273 - account.disconnected
82748274 - message.received
8275+ - message.sent
82758276 - comment.received
82768277 - webhook.test
82778278 type: string
@@ -16484,6 +16485,7 @@ components:
1648416485 - account.connected
1648516486 - account.disconnected
1648616487 - message.received
16488+ - message.sent
1648716489 - comment.received
1648816490 type: string
1648916491 type: array
@@ -16538,6 +16540,7 @@ components:
1653816540 - account.connected
1653916541 - account.disconnected
1654016542 - message.received
16543+ - message.sent
1654116544 - comment.received
1654216545 - webhook.test
1654316546 type: string
@@ -16806,6 +16809,71 @@ components:
1680616809 - id
1680716810 - message
1680816811 - timestamp
16812+ WebhookPayloadMessageSent:
16813+ description: Webhook payload for message sent events (fired when a message is
16814+ sent via the API)
16815+ example:
16816+ id: id
16817+ event: message.sent
16818+ message:
16819+ attachments:
16820+ - payload: "{}"
16821+ type: type
16822+ url: url
16823+ - payload: "{}"
16824+ type: type
16825+ url: url
16826+ sender:
16827+ name: name
16828+ id: id
16829+ picture: picture
16830+ username: username
16831+ conversationId: conversationId
16832+ isRead: true
16833+ id: id
16834+ text: text
16835+ sentAt: 2000-01-23T04:56:07.000+00:00
16836+ platformMessageId: platformMessageId
16837+ platform: instagram
16838+ direction: incoming
16839+ conversation:
16840+ participantId: participantId
16841+ platformConversationId: platformConversationId
16842+ participantPicture: participantPicture
16843+ id: id
16844+ participantName: participantName
16845+ participantUsername: participantUsername
16846+ status: active
16847+ account:
16848+ displayName: displayName
16849+ id: id
16850+ platform: platform
16851+ username: username
16852+ timestamp: 2000-01-23T04:56:07.000+00:00
16853+ properties:
16854+ id:
16855+ description: Stable webhook event ID
16856+ type: string
16857+ event:
16858+ enum:
16859+ - message.sent
16860+ type: string
16861+ message:
16862+ $ref: "#/components/schemas/WebhookPayloadMessageSent_message"
16863+ conversation:
16864+ $ref: "#/components/schemas/WebhookPayloadMessage_conversation"
16865+ account:
16866+ $ref: "#/components/schemas/WebhookPayloadMessage_account"
16867+ timestamp:
16868+ format: date-time
16869+ type: string
16870+ required:
16871+ - account
16872+ - conversation
16873+ - event
16874+ - id
16875+ - message
16876+ - timestamp
1680916877 WebhookPayloadTest:
1681016878 description: Webhook payload for test deliveries
1681116879 example:
@@ -37456,6 +37524,93 @@ components:
3745637524 description: Callback data from an inline keyboard button tap (Telegram)
3745737525 type: string
3745837526 nullable: true
37527+ WebhookPayloadMessageSent_message_sender:
37528+ example:
37529+ name: name
37530+ id: id
37531+ picture: picture
37532+ username: username
37533+ properties:
37534+ id:
37535+ type: string
37536+ name:
37537+ type: string
37538+ username:
37539+ type: string
37540+ picture:
37541+ type: string
37542+ required:
37543+ - id
37544+ WebhookPayloadMessageSent_message:
37545+ example:
37546+ attachments:
37547+ - payload: "{}"
37548+ type: type
37549+ url: url
37550+ - payload: "{}"
37551+ type: type
37552+ url: url
37553+ sender:
37554+ name: name
37555+ id: id
37556+ picture: picture
37557+ username: username
37558+ conversationId: conversationId
37559+ isRead: true
37560+ id: id
37561+ text: text
37562+ sentAt: 2000-01-23T04:56:07.000+00:00
37563+ platformMessageId: platformMessageId
37564+ platform: instagram
37565+ direction: incoming
37566+ properties:
37567+ id:
37568+ description: Internal message ID
37569+ type: string
37570+ conversationId:
37571+ description: Internal conversation ID
37572+ type: string
37573+ platform:
37574+ enum:
37575+ - instagram
37576+ - facebook
37577+ - telegram
37578+ - whatsapp
37579+ type: string
37580+ platformMessageId:
37581+ description: Platform's message ID
37582+ type: string
37583+ direction:
37584+ enum:
37585+ - incoming
37586+ - outgoing
37587+ type: string
37588+ text:
37589+ description: Message text content
37590+ type: string
37591+ nullable: true
37592+ attachments:
37593+ items:
37594+ $ref: "#/components/schemas/WebhookPayloadMessage_message_attachments_inner"
37595+ type: array
37596+ sender:
37597+ $ref: "#/components/schemas/WebhookPayloadMessageSent_message_sender"
37598+ sentAt:
37599+ format: date-time
37600+ type: string
37601+ isRead:
37602+ type: boolean
37603+ required:
37604+ - attachments
37605+ - conversationId
37606+ - direction
37607+ - id
37608+ - isRead
37609+ - platform
37610+ - platformMessageId
37611+ - sender
37612+ - sentAt
37613+ - text
3745937614 PostLog_postId_oneOf:
3746037615 description: Populated post reference
3746137616 properties:
@@ -38159,6 +38314,7 @@ x-documentation:
3815938314 - `account.connected` - Social account connected
3816038315 - `account.disconnected` - Social account disconnected (token expired)
3816138316 - `message.received` - New DM received
38317+ - `message.sent` - DM sent via the API
3816238318 - `comment.received` - New comment received on a post
3816338319 - `webhook.test` - Test event sent when verifying a webhook endpoint
3816438320
0 commit comments