webhooks

Rotate an endpoint's signing secret

The new secret signs immediately; for 24 hours deliveries also carry x-worthune-signature-previous signed with the old one.

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

Request

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

Response

The new secret, shown once.

okunknown required
secretstring required
previousSecretValidUntilstring date-time required
notestring required

Changes

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