Add a forwarding destination, optionally with its rule

post/v1/endpoints/{id}/destinations

Request

  • Base URL: https://webhook-studio.com
  • URL: https://webhook-studio.com/v1/endpoints/{id}/destinations
  • Auth: HTTP bearer

Request body

urlstring required
namestring
forward_allboolean

Forward every future event.

condition_treeobject

A condition group { op: "AND"|"OR", children: [...] } or a leaf { field, operator, value? }, nested arbitrarily. field is "body.<dot.path>", "header.<name>" or "meta.<key>". operator is equals|not_equals|contains|exists|regex; all but exists require value. An empty AND group matches every event.

rule_namestring

Response

Created

Changes

No recorded changes to this operation across all 1 revision of this API.