Webhooks

Update a webhook

Changed on
patch/webhooks/{id}

Request

  • Base URL
    https://api.omnisocials.com/v1
  • URL
    https://api.omnisocials.com/v1/webhooks/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required
Example:74327072-ec54-473c-837f-63b29187ac16

Request body

urlstring uri
eventsstring[]
is_activeboolean

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.approved enum value to the request property /

    • info

      added the new post.failed enum value to the request property /

    • info

      added the new post.published enum value to the request property /

    • info

      added the new post.rejected enum value to the request property /

    • info

      added the new post.scheduled enum value to the request property /

    • warning

      added the new post.approved enum value to the // response property for the response status

    • warning

      added the new post.rejected enum value to the // response property for the response status