Skip to main content
POST
Mint or rotate the webhook signing secret

Authorizations

Authorization
string
header
required

Use Authorization: Bearer pyai_live_... (or pyai_test_...).

Response

The new secret (shown once)

object
string
Example:

"webhook_signing_secret"

secret
string

The signing secret (whsec_…). Stored server-side; shown only in this response.

created_at
integer