---
title: "Webhook events"
description: "Every webhook event PubNio sends, when it is sent, and an example payload."
---

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

# Webhook events

Every event shares one envelope: `id`, `type`, `version`, `timestamp`, `workspaceId`, and `profileId` when the event belongs to one profile. Example values are placeholders; each example is checked against the event schema when the docs are generated. See [Webhooks](https://pubnio.com/docs/webhooks/) to register an endpoint and verify signatures.

## Publishing

### post.delivery.published

The provider confirmed the target and returned a provider reference.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "post.delivery.published",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "postId": "c570f9db-0000-4000-8000-c570f9db0000",
    "targetId": "e5a85a8c-0000-4000-8000-e5a85a8c0000",
    "attemptId": "ead75cc8-0000-4000-8000-ead75cc80000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "placement": "feed",
    "revision": 1,
    "status": "published",
    "providerRef": {
      "id": "id",
      "kind": "kind"
    },
    "url": "https://example.com/post"
  }
}
```

### post.delivery.provider_draft

The provider saved a native draft instead of a live post.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "post.delivery.provider_draft",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "postId": "c570f9db-0000-4000-8000-c570f9db0000",
    "targetId": "e5a85a8c-0000-4000-8000-e5a85a8c0000",
    "attemptId": "ead75cc8-0000-4000-8000-ead75cc80000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "placement": "feed",
    "revision": 1,
    "status": "provider_draft",
    "providerRef": {
      "id": "id",
      "kind": "kind"
    },
    "url": "https://example.com/post"
  }
}
```

### post.delivery.failed

The attempt reached a definitive failure with a typed issue.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "post.delivery.failed",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "postId": "c570f9db-0000-4000-8000-c570f9db0000",
    "targetId": "e5a85a8c-0000-4000-8000-e5a85a8c0000",
    "attemptId": "ead75cc8-0000-4000-8000-ead75cc80000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "placement": "feed",
    "revision": 1,
    "status": "failed",
    "issue": "authorization_changed",
    "canRetry": false,
    "nextAction": "nextAction",
    "providerRef": {
      "id": "id",
      "kind": "kind"
    },
    "url": "https://example.com/post"
  }
}
```

### post.delivery.unresolved

PubNio cannot establish the provider outcome; reconcile before retrying.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "post.delivery.unresolved",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "postId": "c570f9db-0000-4000-8000-c570f9db0000",
    "targetId": "e5a85a8c-0000-4000-8000-e5a85a8c0000",
    "attemptId": "ead75cc8-0000-4000-8000-ead75cc80000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "placement": "feed",
    "revision": 1,
    "status": "unresolved",
    "issue": "authorization_changed",
    "canReconcile": false,
    "nextAction": "nextAction",
    "providerRef": {
      "id": "id",
      "kind": "kind"
    },
    "url": "https://example.com/post"
  }
}
```

### post.delivery.cancelled

The caller cancelled an unreserved attempt.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "post.delivery.cancelled",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "postId": "c570f9db-0000-4000-8000-c570f9db0000",
    "targetId": "e5a85a8c-0000-4000-8000-e5a85a8c0000",
    "attemptId": "ead75cc8-0000-4000-8000-ead75cc80000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "placement": "feed",
    "revision": 1,
    "status": "cancelled"
  }
}
```

### post.scheduled

A publish job was accepted, queued, or rescheduled with each target time.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "post.scheduled",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "postId": "c570f9db-0000-4000-8000-c570f9db0000",
    "revision": 1,
    "targets": [
      {
        "targetId": "e5a85a8c-0000-4000-8000-e5a85a8c0000",
        "accountId": "9319bc28-0000-4000-8000-9319bc280000",
        "scheduledAt": "2026-12-04T17:02:11Z"
      }
    ]
  }
}
```

### post.published

Every target of the publish job published successfully.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "post.published",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "postId": "c570f9db-0000-4000-8000-c570f9db0000",
    "revision": 1,
    "targets": [
      {
        "targetId": "e5a85a8c-0000-4000-8000-e5a85a8c0000",
        "accountId": "9319bc28-0000-4000-8000-9319bc280000",
        "provider": "bluesky",
        "placement": "feed",
        "status": "published",
        "url": "https://example.com/post",
        "issue": "authorization_changed"
      }
    ]
  }
}
```

### post.partial

The publish job settled with at least one success and one failed target.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "post.partial",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "postId": "c570f9db-0000-4000-8000-c570f9db0000",
    "revision": 1,
    "targets": [
      {
        "targetId": "e5a85a8c-0000-4000-8000-e5a85a8c0000",
        "accountId": "9319bc28-0000-4000-8000-9319bc280000",
        "provider": "bluesky",
        "placement": "feed",
        "status": "published",
        "url": "https://example.com/post",
        "issue": "authorization_changed"
      }
    ]
  }
}
```

### post.failed

No target of the publish job succeeded.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "post.failed",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "postId": "c570f9db-0000-4000-8000-c570f9db0000",
    "revision": 1,
    "targets": [
      {
        "targetId": "e5a85a8c-0000-4000-8000-e5a85a8c0000",
        "accountId": "9319bc28-0000-4000-8000-9319bc280000",
        "provider": "bluesky",
        "placement": "feed",
        "status": "published",
        "url": "https://example.com/post",
        "issue": "authorization_changed"
      }
    ]
  }
}
```

### post.cancelled

The caller cancelled every target of the publish job.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "post.cancelled",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "postId": "c570f9db-0000-4000-8000-c570f9db0000",
    "revision": 1,
    "targets": [
      {
        "targetId": "e5a85a8c-0000-4000-8000-e5a85a8c0000",
        "accountId": "9319bc28-0000-4000-8000-9319bc280000",
        "provider": "bluesky",
        "placement": "feed",
        "status": "published",
        "url": "https://example.com/post",
        "issue": "authorization_changed"
      }
    ]
  }
}
```

## Inbox

### inbox.message.received

A connected account received a direct message.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "inbox.message.received",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "messageId": "aa2b2382-0000-4000-8000-aa2b23820000",
    "conversationId": "9c18d0fe-0000-4000-8000-9c18d0fe0000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "direction": "inbound",
    "kind": "text",
    "providerCreatedAt": "2026-12-04T17:02:11Z",
    "freshness": "live"
  }
}
```

### inbox.comment.received

A connected account received a comment.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "inbox.comment.received",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "threadId": "57d5bcc5-0000-4000-8000-57d5bcc50000",
    "commentId": "a6e3dbda-0000-4000-8000-a6e3dbda0000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "providerCreatedAt": "2026-12-04T17:02:11Z",
    "freshness": "live"
  }
}
```

### inbox.review.new

A connected location received a new review.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "inbox.review.new",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "reviewId": "f06e8a93-0000-4000-8000-f06e8a930000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "locationId": "locationId"
  }
}
```

### inbox.review.updated

A stored review changed with a newer provider timestamp.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "inbox.review.updated",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "reviewId": "f06e8a93-0000-4000-8000-f06e8a930000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "locationId": "locationId"
  }
}
```

### inbox.review.deleted

A previously stored review disappeared at the provider.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "inbox.review.deleted",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "reviewId": "f06e8a93-0000-4000-8000-f06e8a930000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "locationId": "locationId"
  }
}
```

### inbox.review.restored

A previously deleted review reappeared at the provider.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "inbox.review.restored",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "reviewId": "f06e8a93-0000-4000-8000-f06e8a930000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "locationId": "locationId"
  }
}
```

### inbox.review.replied

A reply written through PubNio was accepted for a review.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "inbox.review.replied",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "reviewId": "f06e8a93-0000-4000-8000-f06e8a930000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "locationId": "locationId"
  }
}
```

### inbox.mention.received

A connected account was mentioned in a post or comment.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "inbox.mention.received",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "mentionId": "a3d554a5-0000-4000-8000-a3d554a50000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "providerCreatedAt": "2026-12-04T17:02:11Z",
    "freshness": "live"
  }
}
```

### inbox.message.sent

A message sent through PubNio was confirmed.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "inbox.message.sent",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "messageId": "aa2b2382-0000-4000-8000-aa2b23820000",
    "conversationId": "9c18d0fe-0000-4000-8000-9c18d0fe0000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "direction": "inbound",
    "kind": "text",
    "providerCreatedAt": "2026-12-04T17:02:11Z",
    "freshness": "live"
  }
}
```

### inbox.message.delivered

The recipient's provider delivered one or more outbound messages.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "inbox.message.delivered",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "messageIds": ["9b394d31-0000-4000-8000-9b394d310000"],
    "conversationId": "9c18d0fe-0000-4000-8000-9c18d0fe0000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "deliveredAt": "2026-12-04T17:02:11Z"
  }
}
```

### inbox.message.read

The recipient read one or more outbound messages up to a timestamp.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "inbox.message.read",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "messageIds": ["9b394d31-0000-4000-8000-9b394d310000"],
    "conversationId": "9c18d0fe-0000-4000-8000-9c18d0fe0000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "readAt": "2026-12-04T17:02:11Z"
  }
}
```

### inbox.message.edited

A stored message was edited at the provider; the row carries the new text.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "inbox.message.edited",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "messageId": "aa2b2382-0000-4000-8000-aa2b23820000",
    "conversationId": "9c18d0fe-0000-4000-8000-9c18d0fe0000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky"
  }
}
```

### inbox.message.deleted

A stored message was deleted or unsent at the provider.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "inbox.message.deleted",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "messageId": "aa2b2382-0000-4000-8000-aa2b23820000",
    "conversationId": "9c18d0fe-0000-4000-8000-9c18d0fe0000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky"
  }
}
```

### inbox.reaction.received

A person added or removed a reaction on a message.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "inbox.reaction.received",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "messageId": "aa2b2382-0000-4000-8000-aa2b23820000",
    "conversationId": "9c18d0fe-0000-4000-8000-9c18d0fe0000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "reaction": "reaction",
    "action": "add"
  }
}
```

### inbox.referral.received

A conversation was opened from a link or ad referral.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "inbox.referral.received",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "messageId": "aa2b2382-0000-4000-8000-aa2b23820000",
    "conversationId": "9c18d0fe-0000-4000-8000-9c18d0fe0000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "ref": "ref",
    "source": "source",
    "adId": "adId"
  }
}
```

### inbox.conversation.started

A new conversation thread appeared for a connected account.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "inbox.conversation.started",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "conversationId": "9c18d0fe-0000-4000-8000-9c18d0fe0000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "participantExternalId": "participantExternalId"
  }
}
```

## Analytics

### analytics.post.synced

Post analytics were refreshed for one published attempt.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "analytics.post.synced",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "postId": "c570f9db-0000-4000-8000-c570f9db0000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky"
  }
}
```

### analytics.account.synced

Account analytics were refreshed for one connected account.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "analytics.account.synced",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky"
  }
}
```

## Ads

### ads.operation.succeeded

An ad write completed successfully.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "ads.operation.succeeded",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "operationId": "07bb20e2-0000-4000-8000-07bb20e20000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "kind": "boost.create",
    "status": "succeeded",
    "nextAction": "nextAction"
  }
}
```

### ads.operation.failed

An ad write failed with a typed issue.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "ads.operation.failed",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "operationId": "07bb20e2-0000-4000-8000-07bb20e20000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "kind": "boost.create",
    "status": "failed",
    "issue": {
      "code": "code",
      "message": "message",
      "field": "field",
      "providerCode": "providerCode",
      "missingScopes": ["missingScopes"],
      "retryable": false,
      "providerMessage": "providerMessage"
    },
    "canRetry": false,
    "nextAction": "nextAction"
  }
}
```

### ads.campaign.activated

An activation operation finished and the campaign is live.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "ads.campaign.activated",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "operationId": "07bb20e2-0000-4000-8000-07bb20e20000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "campaignId": "b16d064b-0000-4000-8000-b16d064b0000"
  }
}
```

### ads.campaign.paused

A pause operation finished and the campaign is paused.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "ads.campaign.paused",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "operationId": "07bb20e2-0000-4000-8000-07bb20e20000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "campaignId": "b16d064b-0000-4000-8000-b16d064b0000"
  }
}
```

### ads.budget.changed

A budget update finished on a campaign or ad group.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "ads.budget.changed",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "operationId": "07bb20e2-0000-4000-8000-07bb20e20000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "level": "campaign",
    "campaignId": "b16d064b-0000-4000-8000-b16d064b0000"
  }
}
```

### ads.kill_switch.activated

A kill switch stopped spend on an ad account.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "ads.kill_switch.activated",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "revision": 1,
    "reason": "reason",
    "pausedCampaigns": 1,
    "pausedAdGroups": 1,
    "pausedAds": 1
  }
}
```

### ads.lead.received

A Meta Page lead arrived as identifiers only; fetch the form through Meta for details.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "ads.lead.received",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "leadId": "leadId",
    "pageId": "pageId",
    "formId": "formId",
    "adId": "adId",
    "adGroupId": "adGroupId"
  }
}
```

### ads.campaign.status_changed

A campaign's stored status changed during ads sync.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "ads.campaign.status_changed",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "campaignId": "b16d064b-0000-4000-8000-b16d064b0000",
    "provider": "meta_ads",
    "status": "draft"
  }
}
```

### ads.ad_group.status_changed

An ad group's stored status changed during ads sync.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "ads.ad_group.status_changed",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "adGroupId": "36998a57-0000-4000-8000-36998a570000",
    "provider": "meta_ads",
    "status": "draft"
  }
}
```

### ads.ad.status_changed

An ad's stored status changed during ads sync.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "ads.ad.status_changed",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "adId": "002d989e-0000-4000-8000-002d989e0000",
    "provider": "meta_ads",
    "status": "draft"
  }
}
```

### ads.ad_account.status_changed

An ad account's stored status changed during ads sync.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "ads.ad_account.status_changed",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "meta_ads",
    "status": "active"
  }
}
```

### ads.ad.review.approved

An ad that was rejected by review became approved or active.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "ads.ad.review.approved",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "adId": "002d989e-0000-4000-8000-002d989e0000",
    "provider": "meta_ads"
  }
}
```

### ads.ad.review.rejected

An ad in review was rejected by the provider.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "ads.ad.review.rejected",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "adId": "002d989e-0000-4000-8000-002d989e0000",
    "provider": "meta_ads"
  }
}
```

### ads.sync.failed

Ads sync entered a failing state; the account is not syncing.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "ads.sync.failed",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "meta_ads"
  }
}
```

### ads.sync.recovered

Ads sync succeeded again after a failing state.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "ads.sync.recovered",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "meta_ads"
  }
}
```

### ads.initial_sync.completed

An ad account finished its first successful campaign sync.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "ads.initial_sync.completed",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "meta_ads"
  }
}
```

## Scheduling

### schedule.assignment.changed

A scheduled target moved to a new time or queue slot.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "schedule.assignment.changed",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "postId": "c570f9db-0000-4000-8000-c570f9db0000",
    "targetId": "e5a85a8c-0000-4000-8000-e5a85a8c0000",
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "attemptId": "ead75cc8-0000-4000-8000-ead75cc80000",
    "previousScheduledAt": "2026-12-04T17:02:11Z",
    "scheduledAt": "2026-12-04T17:02:11Z",
    "queueId": "270d220c-0000-4000-8000-270d220c0000"
  }
}
```

## Accounts

### account.connected

A connected account became available to the workspace.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "account.connected",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "accountKind": "social_page",
    "reconnected": false
  }
}
```

### account.disconnected

A connection was removed, expired, revoked, or deauthorized.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "account.disconnected",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "accountKind": "social_page",
    "reason": "disconnected"
  }
}
```

### account.permissions_changed

A reconnect or refresh dropped scopes the account previously had.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "account.permissions_changed",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "accountKind": "social_page",
    "missingScopes": ["missingScopes"],
    "missingTasks": ["missingTasks"]
  }
}
```

### account.restricted

Repeated account-level publish failures restricted the account.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "account.restricted",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "accountKind": "social_page",
    "reason": "publish_failures"
  }
}
```

### account.recovered

A publish succeeded after the account was restricted.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "account.recovered",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "accountId": "9319bc28-0000-4000-8000-9319bc280000",
    "provider": "bluesky",
    "accountKind": "social_page"
  }
}
```

## Billing

### billing.subscription.updated

Workspace billing subscription plan or status updated.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "billing.subscription.updated",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "plan": "payg",
    "status": "active",
    "interval": "month",
    "periodStart": "periodStart",
    "periodEnd": "periodEnd",
    "cancelAtPeriodEnd": false
  }
}
```

### billing.credit.topped_up

Workspace credit balance topped up successfully.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "billing.credit.topped_up",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "amountMicros": 1,
    "balanceAfterMicros": 1,
    "kind": "top_up"
  }
}
```

### billing.credit.low

Workspace credit balance fell below the low watermark.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "billing.credit.low",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "balanceMicros": 1,
    "thresholdMicros": 1
  }
}
```

### billing.spend_cap.reached

Workspace monthly spend cap reached or exceeded.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "billing.spend_cap.reached",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "capMicros": 1,
    "periodSpendMicros": 1,
    "estimatedMicros": 1
  }
}
```

### billing.invoice.payment_failed

Workspace billing invoice payment failed.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "billing.invoice.payment_failed",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "invoiceId": "invoiceId",
    "amountDueMinor": 1,
    "hostedInvoiceUrl": "https://example.com/post"
  }
}
```

### billing.subscription.duplicate_refunded

A second paid subscription for the workspace was canceled and its first payment refunded; the workspace kept one subscription.

```json
{
  "id": "00000d1b-0000-4000-8000-00000d1b0000",
  "type": "billing.subscription.duplicate_refunded",
  "version": 1,
  "timestamp": "2026-12-04T17:02:11Z",
  "workspaceId": "1bcf2490-0000-4000-8000-1bcf24900000",
  "profileId": "c412cca4-0000-4000-8000-c412cca40000",
  "data": {
    "subscriptionId": "subscriptionId",
    "amountRefundedMinor": 1,
    "currency": "currency"
  }
}
```

Source: https://pubnio.com/docs/webhook-events/index.mdx
