Update a webhook
Change the settings of an existing destination.
Send at least one field to change the registration. Omitted fields keep their current values. Check the URL and events before confirming a change that affects receipt.
See Query and change settings and Deactivate and reactivate.
Path Params
Webhook identifier received at creation or in the list.
Up to 26 characters
Headers
Unique key chosen by your system to identify this request. When retrying, send the same key and parameters. Without this header, the request is processed normally. See the idempotency guide for retention and handling pending or uncertain responses.
1 to 255 characters
Body Params
Applying an example replaces the body fields.
New webhook name.
1 to 25 characters
New HTTPS URL that receives events, on the default port 443.
Up to 512 characters
Complete list of events the destination should receive. It replaces the previous selection.
Separate values with commas.
Use true to allow deliveries or false to deactivate the destination.
Responses
Response Body
Webhook updated.
Configuration of an event destination.
Public webhook identifier.
Name used to identify the destination.
HTTPS URL registered to receive events.
Codes of the events subscribed to by this destination.
Indicates whether the webhook is active to receive events.
Reason for deactivation: manual for a customer action; continuous_failure may appear in webhooks previously deactivated because of failures. Returns null when the webhook is active.
Deactivation time, in UTC Unix seconds, or null when the webhook is active or this date was not recorded.
Expiry time of the previous secret, in UTC Unix seconds, or null when no transition is active.
Registration time, in UTC Unix seconds.
Time of the last webhook configuration change, in UTC Unix seconds.
Indicates whether deliveries are waiting to resume. The original delivery deadline continues to run while paused.
Start of the current pause, in UTC Unix seconds, or null when deliveries are not paused.
Response Body
A field, filter or identifier is invalid. Check the details before repeating the request.
Code and explanation of the error returned by the API.
Stable error code.
Error explanation in English. For validation errors, it summarizes the category; details identify the corrections. Use the codes to handle the response.
Invalid fields or references submitted in the body, with the field, code and explanation. Omitted for general errors and when there is no field correction to indicate.
Public name of the JSON field, query parameter, path parameter or header related to the error. Nested fields and lists retain their path and index. $ represents the root of the JSON body.
Reason for the field error, such as REQUIRED, INVALID_TAXID, UNKNOWN_FIELD, DUPLICATE_FIELD or INVALID_TYPE.
Explanation in English of the problem with this field or parameter and the available correction. Do not use the text to determine your integration flow.
Response Body
The resource was not found in the authenticated company and environment.
Code and explanation of the error returned by the API.
Stable error code.
Error explanation in English. For validation errors, it summarizes the category; details identify the corrections. Use the codes to handle the response.
Invalid fields or references submitted in the body, with the field, code and explanation. Omitted for general errors and when there is no field correction to indicate.
Public name of the JSON field, query parameter, path parameter or header related to the error. Nested fields and lists retain their path and index. $ represents the root of the JSON body.
Reason for the field error, such as REQUIRED, INVALID_TAXID, UNKNOWN_FIELD, DUPLICATE_FIELD or INVALID_TYPE.
Explanation in English of the problem with this field or parameter and the available correction. Do not use the text to determine your integration flow.
Response Body
The update conflicted with another request in progress or a URL already registered. Check the error code before trying again.
Code and explanation of the error returned by the API.
Stable error code.
Error explanation in English. For validation errors, it summarizes the category; details identify the corrections. Use the codes to handle the response.
Invalid fields or references submitted in the body, with the field, code and explanation. Omitted for general errors and when there is no field correction to indicate.
Public name of the JSON field, query parameter, path parameter or header related to the error. Nested fields and lists retain their path and index. $ represents the root of the JSON body.
Reason for the field error, such as REQUIRED, INVALID_TAXID, UNKNOWN_FIELD, DUPLICATE_FIELD or INVALID_TYPE.
Explanation in English of the problem with this field or parameter and the available correction. Do not use the text to determine your integration flow.
For common errors, see HTTP response codes.