POST
/v1/pixel/rulesCreate a pixel rule
A click rule needs a selector (and may check the element text and limit the page); a page rule a path match (contains, equals or starts); a form rule the form selector, with the e-mail field by name. Captures fill the event properties: a fixed value, the text or the amount of an element, a query parameter or a form field.
Scope
pixel.manageBody
namestringrequiredlabelstringmax length 120kindenumrequiredclickpageformselectorstring or nulldefault nulltextstring or nulldefault nullpathobject or nulldefault null2 fields
openumrequiredcontainsequalsstartsvaluestringrequiredmin length 1max length 300emailFieldstring or nulldefault nullcapturesarray of objectsmax items 20default []3 fields
propertystringrequiredsourceenumrequiredfixedtextamountqueryfieldvaluestringrequiredmax length 500enabledbooleandefault trueReturns
13 fields of the 201 answer
idstringrequirednamestringrequiredlabelstringrequiredkindenumrequiredclickpageformselectorstring or nullrequiredtextstring or nullrequiredpathobject or nullrequired2 fields
openumrequiredcontainsequalsstartsvaluestringrequiredemailFieldstring or nullrequiredcapturesarray of objectsrequired3 fields
propertystringrequiredsourceenumrequiredfixedtextamountqueryfieldvaluestringrequiredenabledbooleanrequiredfired7dintegerrequiredcreatedAtdate-timerequiredupdatedAtdate-timerequiredResponses
201Success
401Authentication required or API key invalid
403Permission or scope missing, organisation suspended
422Validation failed
429Rate limited for this API key and class; wait Retry-After seconds
otherError (RFC 9457 problem details)