Skip to content

Rotate Webhook Secret

POST
/api/v1/webhooks/{webhook_id}/rotate-secret
curl --request POST \
--url https://api.qeychain.xyz/api/v1/webhooks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/rotate-secret

Rotate the signing secret for a webhook.

The new secret is returned only once - store it securely! The old secret becomes invalid immediately.

webhook_id
required
Webhook Id
string format: uuid

Successful Response

Media typeapplication/json
Response Rotate Webhook Secret Api V1 Webhooks Webhook Id Rotate Secret Post
object
key
additional properties
any
Examplegenerated
{}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}