Skip to content
Peal
Esc
↑↓navigate↵open⌘Jpreview
On this page

Channel events

The events of a channel: connected, disconnected, to reconnect, turned off or on, and expiring.

Each event below lists its fields and shows an example payload. An endpoint filtered on channels receives them when the channel is listed.

A website’s channel has its site’s platform, next to the social networks’ ones: wordpress, wordpressCom, devto or hashnode.

channel.connected

An account was connected to the workspace, or a channel the workspace had was authorized again.

Field Type What it holds
workspaceId string The workspace
channelId string The channel
platform string The channel’s platform
reconnected boolean True when a channel the workspace had was authorized again; false for a new one
{
  "id": "019a6f40-2f6b-7a1c-9d2e-5b4c3a2f1e07",
  "type": "channel.connected",
  "version": 1,
  "timestamp": "2026-11-08T10:15:30.000Z",
  "workspaceExternalId": null,
  "data": {
    "workspaceId": "7b1f6c1e-2d4a-4f0b-9c3e-5a8d2e6f1b90",
    "channelId": "019a5d10-41f7-7c3a-a2b9-8d6e0f1a2b3c",
    "platform": "mastodon",
    "reconnected": false
  }
}

channel.disconnected

A channel was disconnected from the workspace, or its partner moved it to another of its workspaces. That workspace then sends channel.connected for it, under a new id.

Field Type What it holds
workspaceId string The workspace
channelId string The channel
platform string The channel’s platform
{
  "id": "019a6f40-2f6b-7a1c-9d2e-5b4c3a2f1e08",
  "type": "channel.disconnected",
  "version": 1,
  "timestamp": "2026-11-12T14:02:09.000Z",
  "workspaceExternalId": null,
  "data": {
    "workspaceId": "7b1f6c1e-2d4a-4f0b-9c3e-5a8d2e6f1b90",
    "channelId": "019a5d12-9b0e-7e44-9d1f-2c3b4a5d6e7f",
    "platform": "bluesky"
  }
}

channel.reconnect_needed

The channel’s authorization stopped working. Nothing is posted there until someone reconnects it.

Field Type What it holds
workspaceId string The workspace
channelId string The channel
platform string The channel’s platform
{
  "id": "019a6f40-2f6b-7a1c-9d2e-5b4c3a2f1e09",
  "type": "channel.reconnect_needed",
  "version": 1,
  "timestamp": "2026-11-11T06:00:12.000Z",
  "workspaceExternalId": null,
  "data": {
    "workspaceId": "7b1f6c1e-2d4a-4f0b-9c3e-5a8d2e6f1b90",
    "channelId": "019a5d12-9b0e-7e44-9d1f-2c3b4a5d6e7f",
    "platform": "bluesky"
  }
}

channel.disabled

A member turned the channel off, and nothing is posted there until someone turns it back on. A post that reaches its time on it fails there (channelDisabled). The channel keeps its authorization, its posts and its analytics.

Field Type What it holds
workspaceId string The workspace
channelId string The channel
platform string The channel’s platform
{
  "id": "019a6f40-2f6b-7a1c-9d2e-5b4c3a2f1e0b",
  "type": "channel.disabled",
  "version": 1,
  "timestamp": "2026-11-11T06:00:12.000Z",
  "workspaceExternalId": null,
  "data": {
    "workspaceId": "7b1f6c1e-2d4a-4f0b-9c3e-5a8d2e6f1b90",
    "channelId": "019a5d12-9b0e-7e44-9d1f-2c3b4a5d6e7f",
    "platform": "bluesky"
  }
}

channel.enabled

A member turned the channel back on, so it posts again. If its authorization stopped working or ran out in the meantime, channel.reconnect_needed follows.

Field Type What it holds
workspaceId string The workspace
channelId string The channel
platform string The channel’s platform
{
  "id": "019a6f40-2f6b-7a1c-9d2e-5b4c3a2f1e0c",
  "type": "channel.enabled",
  "version": 1,
  "timestamp": "2026-11-11T06:00:12.000Z",
  "workspaceExternalId": null,
  "data": {
    "workspaceId": "7b1f6c1e-2d4a-4f0b-9c3e-5a8d2e6f1b90",
    "channelId": "019a5d12-9b0e-7e44-9d1f-2c3b4a5d6e7f",
    "platform": "bluesky"
  }
}

channel.expiring

The channel’s authorization can’t be renewed, and ends at expiresAt, as a LinkedIn profile’s does after 60 days. Someone has to reconnect it before then, or nothing is posted there afterwards.

Peal sends it once for each expiry, a week ahead at most. Schedule your own reminders from expiresAt.

Field Type What it holds
workspaceId string The workspace
channelId string The channel
platform string The channel’s platform
expiresAt string When its authorization ends, as an instant in UTC
{
  "id": "019a6f40-2f6b-7a1c-9d2e-5b4c3a2f1e0d",
  "type": "channel.expiring",
  "version": 1,
  "timestamp": "2026-11-11T06:00:12.000Z",
  "workspaceExternalId": null,
  "data": {
    "workspaceId": "7b1f6c1e-2d4a-4f0b-9c3e-5a8d2e6f1b90",
    "channelId": "019a5d12-9b0e-7e44-9d1f-2c3b4a5d6e7f",
    "platform": "linkedin",
    "expiresAt": "2026-11-18T06:00:00.000Z"
  }
}

Was this page helpful?