Path parameters#
idstringrequiredThe webhook to update.
e.g. "whk_01KE7XWWEQ4MCGWKBQKJ1G47RP"
Request body#
enabledbooleanrequiredWhether the webhook is enabled. When disabled, no events will be sent to the webhook.
eventsarray | stringrequiredThe events to send to the webhook. When 'all', all events will be sent to the webhook.
"all"urlstringrequiredThe URL to send the webhook to. Must be a valid URL.
apiKeyIdsstring[] | nullAPI keys this webhook is scoped to. When empty or null, every API key delivers to it.
≤ 1000 itemsoauthEnabledbooleanWhether tasks authenticated with OAuth (playground and CLI sessions) deliver to this webhook.
Response#
200Webhook updated
dataobjectrequiredapiKeyIdsstring[] | nullrequiredenabledbooleanrequiredeventsstring[] | nullrequiredidstringrequiredoauthEnabledbooleanrequiredurlstringrequired
Errors#
A failed call names what went wrong in code, with a sentence in message. The codes, which of them are worth retrying, and how to read a validation failure are on Errors.