Webhooks

Rotate a webhook secret

Issue a new signing secret. Deliveries carry signatures under both secrets for 24 hours so consumers can switch without a gap.

post/api/webhooks/{id}/rotate-secret

Request

  • Base URL: https://api.donebear.com
  • URL: https://api.donebear.com/api/webhooks/{id}/rotate-secret
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Headers

Api-Version'1'

Pin the API version. Omit it to get the current version. A version this server does not serve is refused with 400 rather than answered by another one.

Response

The endpoint and its new secret.

okboolean required
secretstring required

Changes

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