latestOpenAPI 3.0.12026-08-08133541.4 KB
bc197ebb855c
Webhook Subscriptions
List Webhook Secrets
This endpoint returns a set of webhook signing secrets used to validate the webhook. Usually only one key will be returned in the response. After key rotation, this endpoint will return two keys: the new key, and the key that will be revoked soon. There will also be two signatures in the 'Webhook-Signature' request header. Your application should use all keys available to validate the webhook request. If validation passes for any of the keys returned, the webhook payload is valid.
get/v1/webhooks/secrets
Response
Success
Example response
[
{
"secret": "whsec_123"
}
]