Segments

Lists saved segments with counts recalculated from their filters for the authenticated company. subscriberCount includes every status; activeSubscriberCount includes only active subscribers. Custom-attribute updates sync asynchronously and may take roughly 30–35 seconds or longer to appear, even after an import completes.

get/segments

Request

  • Base URL
    https://api.sequenzy.com/api/v1
  • URL
    https://api.sequenzy.com/api/v1/segments
  • Auth
    HTTP bearer

Response

Segments returned

successboolean

Example response

{
  "success": true,
  "segments": [
    {
      "id": "seg_active_buyers",
      "name": "Active buyers",
      "filters": [
        {
          "id": "filter-1"
        }
      ],
      "root": {
        "id": "root",
        "children": [
          {
            "id": "filter-1"
          }
        ]
      }
    }
  ]
}

Changes

    • warning

      added the new pushClicked enum value to the //// response property for the response status

    • warning

      added the new pushClicked enum value to the ////////////// response property for the response status

    • warning

      added the new pushDelivered enum value to the //// response property for the response status

    • warning

      added the new pushDelivered enum value to the ////////////// response property for the response status

    • warning

      added the new pushDevice enum value to the //// response property for the response status

    • warning

      added the new pushDevice enum value to the ////////////// response property for the response status

    • warning

      added the new pushSent enum value to the //// response property for the response status

    • warning

      added the new pushSent enum value to the ////////////// response property for the response status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      removed from the // response property allOf list for the response status

    • info

      added subschema #1 subschema #2 to the // response property anyOf list for the response status