Webhooks
Update webhook
Changes only the fields you send. status takes enabled or disabled (paused is set only by TryPost). Enabling a disabled or paused webhook resets consecutive_failures and paused_at. A new endpoint that is not a public http or https URL returns 422 on endpoint. The signing secret is not included in the response.
PUT
Update webhook
Body
application/json
Minimum array length:
1post.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.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.failed, post.deleted Response
The updated webhook.
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.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.failed, post.deleted 
