Skip to main content
POST
/
webhooks
/
{id}
/
rotate-secret
Rotate webhook secret
curl --request POST \
  --url https://api.questra.ai/webhooks/{id}/rotate-secret \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Org-Id: <x-org-id>'
{
  "secret": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Org-Id
string
required

The ID of the organization to make requests against. Found on your Settings page.

Path Parameters

id
string
required

Response

200 - application/json

New secret

secret
string
required

The new signing secret. Store it securely — it is only returned here.