Kit · Schema

UrlAnyCondition

Filter by URL patterns. Only applicable for 'clicks' type. Subscriber must have clicked ANY of the specified URLs.

Email MarketingCreator EconomySubscribersAutomationNewslettersSequencesFormsBroadcasts

Properties

Name Type Description
type string Must be 'urls'
ids array Array of URL IDs. Subscriber must have clicked ANY of these.
urls array Array of URL patterns. Subscriber must have clicked ANY of these.
matching string URL matching strategy
View JSON Schema on GitHub

JSON Schema

UrlAnyCondition.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/convertkit/main/json-schema/UrlAnyCondition.json",
  "title": "UrlAnyCondition",
  "type": "object",
  "description": "Filter by URL patterns. Only applicable for 'clicks' type. Subscriber must have clicked ANY of the specified URLs.",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "urls"
      ],
      "description": "Must be 'urls'"
    },
    "ids": {
      "type": "array",
      "items": {
        "type": "integer"
      },
      "description": "Array of URL IDs. Subscriber must have clicked ANY of these."
    },
    "urls": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Array of URL patterns. Subscriber must have clicked ANY of these."
    },
    "matching": {
      "type": "string",
      "enum": [
        "exact",
        "contains",
        "starts_with",
        "ends_with"
      ],
      "description": "URL matching strategy",
      "default": "exact"
    }
  },
  "required": [
    "type"
  ]
}