inboxes

Rotate webhook secret

Generate a new signing secret for this inbox's webhook. The inbox must already have a webhook URL set. The previous secret is invalidated immediately.

post/v1/inboxes/{id}/webhook/rotate-secret

Request

  • Base URL: https://api.openmail.sh
  • URL: https://api.openmail.sh/v1/inboxes/{id}/webhook/rotate-secret
  • Auth: HTTP bearer

Path parameters

idstring required

Response

New signing secret

webhookSecretstring required

Changes

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