Skip to content
Get started

Rotates the webhook signing key for the account

POST/v1/account/rotate_webhook_signing_key

Rotates the webhook signing key for the account. Returns only the new key.

ReturnsExpand Collapse
RotateWebhookSigningKeyResponse = object { webhookEventsHmacSecret }

RotateWebhookEventsHmacSecretResponse is a response to a RotateWebhookEventsHmacSecretRequest.

webhookEventsHmacSecret: optional string

Rotates the webhook signing key for the account

curl https://api.cadenya.com/v1/account/rotate_webhook_signing_key \
    -X POST \
    -H "Authorization: Bearer $CADENYA_API_KEY"
{
  "webhookEventsHmacSecret": "webhookEventsHmacSecret"
}
Returns Examples
{
  "webhookEventsHmacSecret": "webhookEventsHmacSecret"
}