Skip to main content
PATCH
Update webhook config

Authorizations

x-contro-api-key
string
header
required

Partner API key (sk_live_* for production, sk_test_* for sandbox)

Body

application/json
webhookUrl
string<uri>

HTTPS URL to receive events. Must use https://

Example:

"https://your-app.com/webhooks/contro"

webhookSecret
string

Secret for HMAC-SHA256 signature verification. Min 16 characters

Minimum string length: 16
Example:

"whsec_your_secret_min_16_chars"

subscribedEvents
string[]

Event types to subscribe to

Example:

Response

Webhook config updated

success
enum<boolean>
required
Available options:
true