Skip to navigation

Rotate your webhook signing secret

Creates a new signing secret and returns it. Atlas signs with the new secret from now on. For the next 24 hours (until previousExpiresAt) each delivery is also signed with the old secret, so the webhook-signature header carries both signatures and your receiver keeps verifying while you switch over. No request body. Requires your API key.

Authentication

api-keystring

Your Atlas API key. Get it from the Atlas Portal under Settings > API Keys.

Response

The new signing secret
secretstring

Signing secret in Standard Webhooks format (whsec_ followed by base64).

createdAtdatetime

When this secret was created (UTC).

previousExpiresAtdatetimeOptional

Present after a rotation. Until this time (UTC) deliveries are also signed with the previous secret.

Errors

401
Unauthorized Error
500
Internal Server Error