A channel's authorization ends soon, and cannot be renewed
Peal sends this to the endpoints that subscribe to channel.expiring, 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.
POST
channel.expiringWebhookHeader parameters
webhook-idstringrequiredThe event's id: the same on every delivery of the event, so a receiver deduplicates on it.
webhook-timestampstringrequiredWhen the attempt was made, in seconds since the Unix epoch: refuse one too far from now.
webhook-signaturestringrequiredOne v1,<base64 HMAC-SHA256> per signing secret, separated by spaces, over <webhook-id>.<webhook-timestamp>.<body>.
Request body
requiredapplication/jsonidstringrequiredsamplebooleanAllowed:
truetimestampstringrequiredversionnumberrequiredAllowed:
1workspaceExternalIdstring | nullrequiredShow propertiesHide properties
Any of:
string
stringnull
nulldataobjectrequiredShow propertiesHide properties
workspaceIdstringrequiredchannelIdstringrequiredplatformChannelPlatformrequiredWhat a channel connects to: a social network (posts) or a website (articles).
Allowed:
xlinkedinblueskymastodonthreadsinstagramfacebooktiktokyoutubepinterestgoogleBusinessdiscordtelegramslacksnapchatwordpressdevtohashnodewordpressComexpiresAtstringrequiredtypestringrequiredAllowed:
channel.expiringResponses
2XX
The receiver took the event.