post/webhooks/{id}/rotate-secret

Request

  • Base URL: https://api.useanima.sh/v1
  • URL: https://api.useanima.sh/v1/webhooks/{id}/rotate-secret
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

idstring required

Unique identifier of the webhook whose secret to rotate

Request body

object required

Request body for rotating a webhook signing secret

Response

OK

idstring required

Unique identifier of the webhook

secretstring required

The new signing secret, returned only once. Update your receiver to verify with this value; the previous secret stops working immediately.

Changes

No recorded changes to this operation across all 1 revision of this API.