Skip to navigation

Get your webhook signing secret

Returns your account’s signing secret (whsec_...). Atlas signs every webhook it sends with this secret, following the Standard Webhooks spec: each delivery carries webhook-id, webhook-timestamp and webhook-signature headers. Use the secret to verify that a delivery came from Atlas. The secret is created the first time you read it. During the 24 hours after a rotation, previousExpiresAt shows when the old secret stops signing. Treat the secret like a password: do not log it or commit it. Requires your API key; the secret returned is always the one for the account that owns the key.

Authentication

api-keystring

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

Response

Your current 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