Skip to main content
POST
Rotate the monitor webhook signing secret

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Success

webhookSecret
string
required

The NEW webhook signing secret ("whsec_..."). Returned only once. Store it securely; it cannot be retrieved later. To recover from a lost secret, rotate.

webhookSecretHint
string
required

Last 4 characters of the new secret, for identifying which secret you hold.

previousSecretExpiresAt
string | null
required

End of the 24-hour overlap window. Until then, deliveries carry an additional X-Arcmira-Signature-Previous header computed with the previous secret over the same {timestamp}.{payload} string, so you can verify with either secret while you roll. Null when the monitor had no previous secret (nothing to overlap).