v1

latestOpenAPI 3.0.22026-07-24800528.1 KB
Webhooks

Update a webhook

Updates the specified webhook by setting the values of the parameters passed.

patch/v2/webhooks/{webhook_key}

Path parameters

webhook_keystring required

Unique identifier of a webhook.

Request body

OR

Example request

{
  "events": [
    "deal.created",
    "deal.updated"
  ],
  "target_url": "https://jsonplaceholder.typicode.com/posts"
}

Response

Updates the specified webhook by setting the values of the parameters passed.

messagestring required
statusinteger required

Example response

{
  "data": {
    "created_at": 1574181282399,
    "key": "co_a80cb515fe",
    "updated_at": 1574181282399,
    "events": [
      "deal.created",
      "deal.updated"
    ],
    "target_url": "https://jsonplaceholder.typicode.com/posts"
  }
}