API referenceWebhooks
Rotate an endpoint's signing secret
Takes effect immediately, so deploy the new secret before calling this.
Choose a TEST app to send requests from the playground.
post
/webhook-endpoints/{id}/rotate-secretTakes effect immediately, so deploy the new secret before calling this.
BearerAuthheader
AuthorizationBearer <token>An access token from POST /oauth/token: client_credentials for your own app, or authorization_code for a user who connected it.
id*stringEndpoint ID
OK
application/json- response
data?error?message?stringmeta?success?booleancurl -X POST "https://example.com/webhook-endpoints/string/rotate-secret"{ "error": { "code": "string", "details": { "property1": "string", "property2": "string" }, "message": "string" }, "message": "string", "meta": { "pagination": { "next_cursor": "string", "page": 0, "per_page": 0, "total_items": 0, "total_pages": 0 } }, "success": true, "data": { "client_id": "string", "created_at": "string", "description": "string", "environment": "LIVE", "events": [ "string" ], "id": "string", "is_active": true, "secret": "string", "updated_at": "string", "url": "string" }}