Skip to main content
GET
/
v1
/
webhooks
/
signing-secret
Get webhook signing secret status
curl --request GET \
  --url https://api.pyai.com/v1/webhooks/signing-secret \
  --header 'Authorization: Bearer <token>'
{
  "object": "webhook_signing_secret",
  "configured": true,
  "last4": "<string>"
}

Authorizations

Authorization
string
header
required

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

Response

Secret status

object
string
Example:

"webhook_signing_secret"

configured
boolean

True once a per-org secret is minted; otherwise PyAI signs with the platform-wide fallback.

last4
string | null

Last 4 chars of the active secret for identification; null when not configured.