Skip to main content
POST
Rotate webhook endpoint secret

Authorizations

x-api-key
string
header
required

Workspace API key. Current accepted keys use the ando_sk_ prefix.

Path Parameters

endpointId
string
required

Webhook endpoint identifier.

Body

application/json

Webhook endpoint secret rotation request.

previous_secret_ttl_seconds
integer

Seconds to keep the previous secret active. Maximum is 86400.

Required range: x >= 0

Response

Rotated webhook endpoint secret.

Webhook endpoint response with one-time plaintext secret.

data
object
required

Webhook endpoint response with one-time plaintext secret.