Skip to main content
POST
/
connect
/
v1
/
operators
/
{operatorId}
/
connections
/
{connectionId}
/
webhook-secret
/
rotate
Rotate the webhook signing secret
curl --request POST \
  --url https://api.voyant.travel/connect/v1/operators/{operatorId}/connections/{connectionId}/webhook-secret/rotate \
  --header 'Authorization: Bearer <token>'
{
  "connectionId": "<string>",
  "webhookSigningSecret": "<string>"
}

Authorizations

Authorization
string
header
required

Provide either a static platform API key or an OAuth2 access token (from /connect/v1/oauth/token) as Authorization: Bearer <token>. Scopes are connect:* (e.g. connect:bookings:write).

Path Parameters

operatorId
string
required

Operator id.

connectionId
string
required

Connection id.

Response

200 - application/json

Rotated secret.

connectionId
string
required
webhookSigningSecret
string
required

Plaintext signing secret, returned only once.