Sign in

Update a Webhook

documented

Update a webhook.

PUT /api/v1/webhooks/{id}Analyticsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.sparkpost.com/api/v1/webhooks/{{$id}}" \
  -X PUT \
  -H "Authorization: {{SPARKPOST_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "target": "{{$target}}", "events": {{$events}}, "subaccount_id": {{$subaccount_id}}, "auth_type": "{{$auth_type}}", "custom_headers": {{$custom_headers}}}'
Update a Webhook · SparkPost · OpenIntegrations