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

A post did not go out on a channel

Peal sends this to the endpoints that subscribe to post.failed, signed as the Standard Webhooks specification says. Answer any 2xx once it is taken; any other answer, or none within 15 seconds, is tried again.

POSTpost.failedWebhook
Header parameters
webhook-idstringrequired

The event's id: the same on every delivery of the event, so a receiver deduplicates on it.

webhook-timestampstringrequired

When the attempt was made, in seconds since the Unix epoch: refuse one too far from now.

webhook-signaturestringrequired

One v1,<base64 HMAC-SHA256> per signing secret, separated by spaces, over <webhook-id>.<webhook-timestamp>.<body>.

Request body
requiredapplication/json
idstringrequired
sampleboolean
Allowed:true
timestampstringrequired
versionnumberrequired
Allowed:1
workspaceExternalIdstring | nullrequired
Show properties
Any of:
string
string
null
null
dataobjectrequired
Show properties
workspaceIdstringrequired
postIdstringrequired
channelIdstringrequired
platformPlatform | nullrequired
Show properties
Any of:
Platform
string
null
null
targetIdstringrequired
partsWebhookTargetParts
Show properties
countintegerrequired
min -9007199254740991 · max 9007199254740991
liveintegerrequired
min -9007199254740991 · max 9007199254740991
roundintegerrequired
min -9007199254740991 · max 9007199254740991
failedAtstringrequired
reasonFailureReasonrequired
Allowed:contentRejectedchannelDisconnectedchannelDisabledmediaRemovedmediaRejectedmissednotPublishedrateLimitedtokenExpiredunavailableappNotAuditedquotaExceededappBillingLimitplanLimitpartsNotSentrepliesNotAllowedpaymentMethodRequiredxCeilingReachedpaymentFailedperAccountPricingRequiredxThreadCutforumThreadNameRequiredchatMigratedcannotPost
typestringrequired
Allowed:post.failed
Responses
2XX

The receiver took the event.

Payload
{
  "id": "string",
  "sample": true,
  "timestamp": "string",
  "version": 1,
  "workspaceExternalId": "string",
  "data": {
    "workspaceId": "string",
    "postId": "string",
    "channelId": "string",
    "platform": "x",
    "targetId": "string",
    "parts": {
      "count": -9007199254740991,
      "live": -9007199254740991
    },
    "round": -9007199254740991,
    "failedAt": "string",
    "reason": "contentRejected"
  },
  "type": "post.failed"
}
Response
The receiver took the event.