Webhooks and APIOutbound
post.created
Emitted when Wexio records a post from your connected Instagram account
type: post.created
Fired when Wexio records a post of your connected Instagram account for the first time. Posts are what comments hang off, so the record exists before the first comment.created on it.
When it fires
- The first comment arrives on a post Wexio has not recorded yet. Wexio records the post, then fires this event.
It fires once per post. Later comments on the same post, and Instagram sending the same comment again, do not fire it. A post with no comments produces no event.
data shape
type Data = { post: PostPayload };See PostPayload.
Example envelope
{
"id": "evt_01JV4QNR4CBH7M0SR6D5Y8G1LW",
"type": "post.created",
"timestamp": "2026-04-24T09:00:05.000Z",
"data": {
"post": {
"id": "6805a0f1a6f9f35f6e66f2c0",
"integrationId": "67f95b0126a4d1c9e3f0aa44",
"channel": "INSTAGRAM",
"externalPostId": "17998877665544332",
"caption": "New wood-fired menu 🔥",
"username": "pizzeriaroma",
"isDeleted": false,
"publishedAt": "2026-04-24T09:00:00.000Z",
"createdAt": "2026-04-24T09:00:05.000Z"
}
},
"meta": {
"eventId": "evt_01JV4QNR4CBH7M0SR6D5Y8G1LW",
"event": "post.created",
"occurredAt": "2026-04-24T09:00:05.000Z",
"organisationId": "6640f3d5c8a0d7e8b7f20222",
"connectionId": "6640f45ac8a0d7e8b7f2014a",
"apiVersion": "2026-04-01",
"attempt": 1
}
}Notes
publishedAtis when the post went live on Instagram;createdAtis when Wexio first recorded it. They usually differ, so sort onpublishedAtif you are mirroring a feed.caption,usernameandpublishedAtare fetched from Instagram when the post is recorded. If that fetch fails, they are absent.usernameis the publishing account's Instagram username.- There is no
post.updated. A caption edit on Instagram does not produce an event. - Removing a post produces
post.deleted.
Related
post.deletedcomment.created- comments on this post- Shared Types -
PostPayload