Webhooks
Rotate webhook secret
Replaces the webhook’s signing secret. Deliveries from now on are signed with the new secret, which the response returns; the old one stops matching at once.
POST
Rotate webhook secret
Response
The webhook with its new signing secret.
post.created: a post was created. Itsdata.statusis the status it was created with (draft,scheduled,publishingorpending_approval).post.scheduled: an existing post was scheduled (for example a draft scheduled, or a request approved). A post created already scheduled sends onlypost.created.post.unscheduled: a scheduled post went back to draft or to pending approval.post.published: the post was published.post.deleted_on_network: a published post was deleted on its network, found the next time TryPost reads its metrics (Facebook, Instagram, Threads, YouTube, X, Bluesky, Mastodon and Pinterest). Itsdata.publish_statusisdeleted;statusstayspublished. Only within the post's metrics window (30 days; 31 on Mastodon; X up to 28 days).post.restored: a post marked deleted is back on its network. Itsdata.publish_statusispublishedagain;post.publishedis not sent again. Neither network event is sent for posts imported from the network.post.failed: publishing failed.post.deleted: a post was deleted. Not sent for posts imported from the network or removed by disconnecting their channel. Itsdatais only{id, workspace_id}.
Available options:
post.created, post.scheduled, post.unscheduled, post.published, post.deleted_on_network, post.restored, post.failed, post.deleted 
