Rotate the secret
Replace a webhook's signing secret.
Request a new secret for the same registration and update the receiver.
Keep the returned value in a secrets vault; configuration queries cannot
retrieve it. The transition period lets you update the receiver before
sends start using only the new secret.
If exposure is suspected, use grace_period_seconds: 0 to replace the secret
immediately, even while a transition is in progress.
See Rotate the secret to choose the transition period and validate signatures during the change.
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.
Period during which the previous secret may continue signing deliveries. Zero generates a new secret and ends the validity of previous secrets, including during an active transition. Requests already authorized or in progress may arrive with the previous signature.
From 0 to 86400
Responses
Response Body
Signing secret updated.
New signing secret and expiry of the previous secret.
Public webhook identifier.
Secret used to validate event signatures. Store it securely; queries of the webhook configuration do not return it.
Expiry time of the previous secret, in UTC Unix seconds, or null when no transition is active.
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.
For common errors, see HTTP response codes.