Social Post: Webhook Webhook
Sends an updated Social Post object to your server. Only affected entity posts are included in the EntityPost
object. Webhooks are not guaranteed to be sent in order; the timestamp
field should be used to determine ordering. The webhook will always contain the latest status
of the Post (i.e. if a Post was created and published quickly, the webhook may indicate that the status is POST_SUCCEEDED
even for a SOCIAL_POST_CREATED
event.
Request Body schema: application/json
The updated Social Post
object | |
object |
Request samples
- Payload
Content type
application/json
{- "meta": {
- "eventType": "SOCIAL_POST_CREATED",
- "uuid": "string",
- "timestamp": "string",
- "accountId": "string",
- "appSpecificAccountId": "string"
}, - "post": {
- "postId": "string",
- "entityId": [
- "string"
], - "publishers": [
- "string"
], - "text": "string",
- "photoUrls": [
- "string"
], - "videos": [
- {
- "videoUrl": "string",
- "videoPostType": "REEL",
- "coverImageUrl": "string",
- "videoTitle": "string"
}
], - "topicType": "string",
- "alertType": "string",
- "offer": {
- "couponCode": "string",
- "redeemOnlineUrl": "string",
- "termsConditions": "string"
}, - "clickthroughUrl": "string",
- "callToActionType": "string",
- "eventInfo": {
- "title": "string",
- "startTime": "string",
- "endTime": "string"
}, - "createdDate": "string",
- "postDate": "string",
- "postCreatedInYext": true,
- "entityPosts": [
- {
- "entityPostId": "string",
- "entity": {
- "id": "string"
}, - "publisher": "INSTAGRAM",
- "status": {
- "status": "POST_SCHEDULED",
- "details": "string"
}, - "postUrl": "string",
- "metrics": {
- "viewCount": 0,
- "uniqueViewCount": 0,
- "clickCount": 0,
- "likeCount": 0,
- "loveCount": 0,
- "wowCount": 0,
- "hahaCount": 0,
- "sadCount": 0,
- "angerCount": 0
}, - "comments": [
- {
- "commentId": "string",
- "parentCommentId": "string",
- "authorName": "string",
- "text": "string",
- "hidden": true,
- "likes": 0,
- "createdTimestamp": true,
- "replies": [
- {
- "commentId": "string",
- "parentCommentId": "string",
- "authorName": "string",
- "text": "string",
- "hidden": true,
- "likes": 0,
- "createdTimestamp": true
}
]
}
]
}
]
}
}