Create a Webhook Signing Secret
Adds a signing secret to a webhook subscription. The new secret signs every webhook from now on, and the previous secrets keep signing for up to expire_previous_in seconds (default 24 hours)
Path parameters
id
Webhook subscription ID
Request
This endpoint expects an object.
expire_previous_in
Seconds until the previous secrets stop signing, from 0 (now) to 86400 (24 hours). Defaults to 86400
Response
Create a Webhook Signing Secret
id
Unique public identifier for the signing secret
signing_secret
Secret used to verify webhook signatures. Returned only once, store it securely
expires_at
ISO 8601 timestamp when the secret stops signing webhooks, null for the current secret
created_at
ISO 8601 timestamp when the secret was created
Errors
400
Bad Request Error
404
Not Found Error
422
Unprocessable Entity Error

