Skip to main content
POST
Register a webhook

Authorizations

Authorization
string
header
required

Your Prudra API key. Get one at dashboard.prudra.com/settings/api-keys

Body

application/json
url
string
required
Example:

"https://example.com/webhooks/prudra"

events
string[]
required
Example:
secret
string

Optional custom signing secret (min length enforced by API)

Response

Webhook registered

id
string
required
Example:

"wh_abc123"

url
string
required
Example:

"https://example.com/webhook"

events
string[]
required
Example:
isActive
boolean
required
createdAt
string<date-time>
secret
string