← API reference

Webhooks

Rotate signing secret

POST /v1/webhook-endpoints/{id}/rotate-secret

Issue a new whsec_ secret. Shown once; update your verifier before retiring the old secret.

Scopes: webhooks:write · Write key required

Path parameters

  • id — external id (call_, job_, etc.)

Examples

BASH
curl -X POST "https://app.tryedison.com/api/v1/webhook-endpoints/call_0123456789abcdef/rotate-secret" \
  -H "Authorization: Bearer ed_test_YOUR_KEY" \
  -H "Content-Type: application/json"