latestOpenAPI 3.1.02026-08-2142112263.4 KB

0c0a6e5e4531

Webhooks

Rotate the secret for a webhook subscription

Rotate the secret for a webhook subscription

Required scopes: application/webhooks:read, application/webhooks:write

post/v1/webhooks/subscriptions/{subscription_id}/secret

Path parameters

subscription_idstring required

The unique identifier of the subscription.

The unique identifier of the subscription.

Response

Successful Response

secretstring required

The new secret used to verify the payload of a webhook.

Example response

{
  "secret": "whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD"
}