Skip to navigation

Get Webhook Secret

Get your organization’s webhook signing secret, used to verify the Sync-Signature header on generation and batch webhooks. Store the full whsec_... value securely. masked=true returns a display-only value that can’t verify signatures. The secret is also on the webhooks settings page; see Webhooks for how to verify.

Authentication

x-api-keystring
API Key authentication via header

Query parameters

maskedbooleanOptionalDefaults to false

When true, returns a display-only masked version of the secret that must not be used as a verification secret. Omit or set false when configuring a webhook verifier so you get the usable value.

Response

Webhook secret retrieved successfully
secretstring

The webhook signing secret, prefixed with whsec_. When the request sets masked=true, this is a display-only masked value and must not be used to verify signatures.

Errors

401
Unauthorized Error
500
Internal Server Error