Webhooks
Update a webhook
Changed onpatch/webhooks/{id}
Request
- Base URLhttps://api.omnisocials.com/v1
- URLhttps://api.omnisocials.com/v1/webhooks/{id}
- AuthHTTP bearer
Path parameters
idstring required
Example:74327072-ec54-473c-837f-63b29187ac16
Request body
Example request
{
"url": "https://example.com/webhooks/omnisocials",
"is_active": true
}Response
Webhook updated
Example response
{
"data": {
"id": "74327072-ec54-473c-837f-63b29187ac16",
"url": "https://example.com/webhooks/omnisocials",
"is_active": true,
"last_triggered_at": "2026-10-21T09:00:07.000Z",
"last_failure": {
"at": "2026-10-18T07:42:31.000Z",
"status": 404,
"error": "Endpoint responded with HTTP 404",
"attempts": 4
},
"created_at": "2026-09-30T12:00:00.000Z"
}
}Changes
- breaking
request property
/was restricted to a list of enum values - info
added the new
post.approvedenum value to the request property/ - info
added the new
post.failedenum value to the request property/ - info
added the new
post.publishedenum value to the request property/ - info
added the new
post.rejectedenum value to the request property/ - info
added the new
post.scheduledenum value to the request property/
- breaking
- warning
added the new
post.approvedenum value to the//response property for the response status - warning
added the new
post.rejectedenum value to the//response property for the response status
- warning