Skip to main content
PUT
/
api
/
v2
/
integrations
/
webhooks
Update webhook configuration
curl --request PUT \
  --url https://api.zupy.com/api/v2/integrations/webhooks/ \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "webhook_url": "<string>",
  "webhook_events": [
    "<string>"
  ]
}
'
{
  "webhook_url": "<string>",
  "webhook_events": [
    "<string>"
  ],
  "webhook_secret": "<string>",
  "available_events": [
    "<string>"
  ]
}

Authorizations

X-API-Key
string
header
required

API key for partner access via APISIX key-auth plugin

Headers

X-API-Key
string
required

Per-company API key

Body

application/json
webhook_url
string<uri>

Partner's webhook endpoint URL

webhook_events
string[]

List of events to receive

Response

webhook_url
string | null

Partner's webhook endpoint URL

webhook_events
string[]

List of events to receive

webhook_secret
string | null

Masked webhook signature secret (last 4 chars visible)

available_events
string[]

List of available webhook event types