API reference · Schema
ServerlessWebhookSecret
objectstringrequiredAlways `webhook_secret`: the type of this object
One of
webhook_secretendpoint_idstringrequiredID of the endpoint
webhook_secretstringrequiredThe new signing secret. Every delivery sent from now on, retries of earlier ones included, is signed with it alone. Returned only here; store it now.
Example
{
"object": "webhook_secret",
"endpoint_id": "string",
"webhook_secret": "string"
}Used by
- Replace the webhook signing secret (returned once)
POST /v1/serverless/endpoints/{endpoint_id}/rotate-webhook-secret