Skip to main content
POST
/
config
/
webhooks
/
{id}
/
rotate-secret
Rotate a webhook endpoint secret
curl --request POST \
  --url https://api.vocobase.com/api/v2/config/webhooks/{id}/rotate-secret \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "12345678-abcd-1234-abcd-123456789012",
    "label": "prod",
    "secret": "whsec_newabc123...",
    "message": "Save this secret — it will not be shown again."
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.vocobase.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.

Path Parameters

id
string<uuid>
required

Webhook endpoint ID.

Response

Webhook endpoint secret rotated. Save the new secret immediately.

success
boolean
data
object