Subscribers

Count subscribers matching a segment expression

Counts subscribers matching the current SegmentExpression condition-group model.

post/subscribers/filtered-count

Request

  • Base URL: https://api.maildroppa.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.maildroppa.com/subscribers/filtered-count
  • Auth: API key in header X-API-Key

Query parameters

statusstring

Subscriber status filter.

Request body

Example request

{
  "conditionGroups": [
    {
      "conditions": [
        {
          "operand": {
            "date": "2022-03-10",
            "purchase": {
              "period": {
                "from": "2022-03-10",
                "to": "2022-03-10"
              }
            }
          }
        }
      ]
    }
  ]
}

Response

Count returned.

valueinteger

The numeric value.

formattedValuestring

A formatted string representation of the numeric value. This might include locale-specific formatting like commas or currency symbols.

Example response

{
  "value": 12345,
  "formattedValue": "12,345"
}

Changes

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