v1

latestOpenAPI 3.1.02026-07-1451089.2 KB

Update a webhook

post/webhooks/{webhookKey}

Path parameters

webhookKeystring required

Webhook key. You can not switch a team-based webhook to a pipeline-based webhook (or vice versa).

Request body

eventstring

For a complete list of events, please check the list above.

targetUrlstring

The url to which the event will be sent.

Response

200

eventstring
targetUrlstring
pipelineKeystring
userKeystring
keystring
creationDateinteger
lastSavedTimestampinteger

Example response

{
  "event": "TASK_CREATE",
  "targetUrl": "https://hooks.catchme.com/",
  "pipelineKey": "agxzfm1hZaXCgw",
  "userKey": "agxzluZUKDA",
  "key": "gICIxYzv9QoM",
  "creationDate": 1507226274178,
  "lastSavedTimestamp": 1507226274203
}