Verdocs - Developer Documentation
ReferenceRest APIApi docsWebhooks

Rotate Webhook secret key

Rotates (or first creates) the secret used to sign webhook deliveries. The response includes the new, unmasked

PUT
/v2/webhooks/rotate-secret

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://api.verdocs.com/v2/webhooks/rotate-secret" \    -H "Authorization: Bearer ACCESS_TOKEN" \    -H "content-type: application/json" \    -d '{"param": "value"}'
{}
{
  "status": "ERROR",
  "error": "string"
}
{
  "status": "ERROR",
  "error": "string"
}
{
  "status": "ERROR",
  "error": "string"
}
{
  "status": "ERROR",
  "error": "string"
}