webhooks

Rotate the organization's webhook signing secret

Generate a new HMAC signing secret used by every webhook in this organization and return it exactly once. The previous secret is invalidated immediately on next delivery.

post/webhooks/rotate-secret

Request

  • Base URL: https://api.agentpaid.io/api/v2
  • URL: https://api.agentpaid.io/api/v2/webhooks/rotate-secret
  • Auth: HTTP bearer

Request body

object required

Response

200

signingSecretstring required

The newly minted org-scoped signing secret. Returned exactly once — store it now; subsequent reads will not return it.

Changes

No recorded changes to this operation across all 1 revision of this API.