> ## Documentation Index
> Fetch the complete documentation index at: https://docs.followr.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhook events

> When Followr sends a webhook request, and every field of its body.

Followr sends one event, **post status changed** (`postStatusChanged`), mostly when a post is published or fails. The body has no event name.

## When it's sent

Each network's post in a post group is its own post: a group published to 3 networks sends 3 requests.

| `status` | Sent when |
| - | - |
| `published` | The network accepted the post. `external_id` and `published_at` are filled. |
| `error` | Publishing failed. `status_message` says why. Also sent for bulk-import media that couldn't be downloaded, and for the rest of a thread when one part fails. |
| `pending` | The post went back to the queue, for example with `PUT /posts/{id}` and `"status": "pending"`. |
| `publishing` | Rare. Expect `published` or `error` next. |

No request is sent when a post moves to `publishing` at its scheduled time, or when failed posts go back to `pending` because you rescheduled their group. Read `GET /posts/{id}` for the full state.

## Payload

The post as it is at send time. Every field is always present.

| Field | Type | Description |
| - | - | - |
| `id` | integer | The post's ID, for `GET /posts/{id}`. |
| `social_network_type` | string | `facebook`, `instagram`, `threads`, `twitter`, `linkedin`, `tiktok`, `youtube`, `pinterest`, `bluesky`, `discord`, `medium` or `canva`. |
| `title` | string, null | The title, on networks that have one (for example YouTube or Pinterest). |
| `description` | string, null | The post's text. |
| `status` | string | `pending`, `publishing`, `published` or `error`. |
| `status_message` | string, null | Why publishing failed, ready to show a person. |
| `media_fetch_failures` | string\[], null | Bulk imports only: media links Followr couldn't download. A `published` post that went out without that media still lists them. |
| `external_id` | string, null | The post's ID on the network, once published. |
| `link` | string, null | The post's attached link (for example a Pinterest pin's destination), not the published post's URL. |
| `preferences` | object, null | The post's network options, for example `{"media_product_type": "FEED"}`. Keys depend on the network: see [Create a post](https://docs.followr.ai/api-reference/posts/create-a-post.md). |
| `created_at` | string | When the post was created (ISO 8601, UTC). |
| `updated_at` | string | When the post last changed. Use it to drop stale requests: see [Ordering and duplicates](https://docs.followr.ai/webhooks/overview.md#ordering-and-duplicates). |
| `published_at` | string, null | When the post was published. |

## Examples

```json Published theme={null}
{
  "id": 240551,
  "social_network_type": "instagram",
  "title": null,
  "description": "Our winter blend is here. Come taste it this weekend.",
  "status": "published",
  "status_message": null,
  "media_fetch_failures": null,
  "external_id": "17912345678901234",
  "link": null,
  "preferences": {
    "media_product_type": "FEED"
  },
  "created_at": "2026-12-10T16:20:05.000000Z",
  "updated_at": "2026-12-15T09:30:42.000000Z",
  "published_at": "2026-12-15T09:30:41.000000Z"
}
```

```json Error theme={null}
{
  "id": 240552,
  "social_network_type": "facebook",
  "title": null,
  "description": "Our winter blend is here. Come taste it this weekend.",
  "status": "error",
  "status_message": "The media attached to this post is no longer available. Please attach it again and publish the post.",
  "media_fetch_failures": null,
  "external_id": null,
  "link": null,
  "preferences": null,
  "created_at": "2026-12-10T16:20:05.000000Z",
  "updated_at": "2026-12-15T09:30:39.000000Z",
  "published_at": null
}
```

> [!TIP]
>
> The body is compact UTF-8 JSON that may escape `/` and non-ASCII characters. Parse it with a JSON library; don't compare it as text.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.