Update webhook
documentedUpdate a webhook and its subscriptions.
PATCH /v2/webhooks/{webhook_id}Webhooksno implementation yet0 runsNo 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.attio.com/v2/webhooks/{{$webhook_id}}" \
-X PATCH \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"data": {"target_url": "{{$target_url}}", "subscriptions": [ { "event_type": "note.created", "filter": { "$and": [ { "field": "parent_object_id", "operator": "equals", "value": "{{$parent_object_id}}" } ] } } ] } }'