Developers
ReferenceWebhook endpoints

Roll the signing secret

Replace the signing secret. The response contains the new secret.

POST
/webhook-endpoints/{id}/roll-secret

Replace the signing secret. The response contains the new secret.

Authorization

http
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/webhook-endpoints/string/roll-secret"
{  "id": "string",  "object": "webhook_endpoint",  "url": "string",  "description": "string",  "events": [    "string"  ],  "include_personal_data": true,  "status": "enabled",  "disabled_reason": "string",  "secret": "string",  "created_at": "string",  "updated_at": "string"}