# Search Autoresponders

Lists the follow-up campaigns (autoresponders) of the account -- email, SMS, birthday email and birthday SMS -- with kind, state, how often each went out and app links, ordered by ID and paginated by cursor. Trigger, audience and content of one follow-up are get-autoresponder. An active follow-up keeps going out to every contact that meets its trigger. Reads only.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "query": {
      "type": [
        "null",
        "string"
      ],
      "description": "Case-insensitive fragment of the name; omit to match every follow-up",
      "default": null,
      "maxLength": 250
    },
    "kind": {
      "type": [
        "null",
        "string"
      ],
      "description": "Only this kind: email, sms, birthday-email or birthday-sms; omit for all",
      "default": null,
      "enum": [
        "email",
        "sms",
        "birthday-email",
        "birthday-sms"
      ]
    },
    "status": {
      "type": [
        "null",
        "string"
      ],
      "description": "Only this state: draft, paused, scheduled or active; omit for all",
      "default": null,
      "enum": [
        "draft",
        "paused",
        "scheduled",
        "active"
      ]
    },
    "cursor": {
      "type": [
        "null",
        "string"
      ],
      "description": "Opaque nextCursor of the previous page; omit for the first page",
      "default": null,
      "maxLength": 200
    },
    "pageSize": {
      "type": "integer",
      "description": "Follow-ups per page, 1 to 100",
      "default": 25,
      "minimum": 1,
      "maximum": 100
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account of the access token",
      "default": null,
      "minimum": 1
    }
  },
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "count",
    "hasNextPage",
    "nextCursor",
    "autoresponders"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "count": {
      "type": "integer"
    },
    "hasNextPage": {
      "type": "boolean"
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "autoresponders": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "autoresponderId",
          "kind",
          "name",
          "status",
          "messageId",
          "isSplitTest",
          "sent",
          "editUrl",
          "statisticsUrl"
        ],
        "properties": {
          "autoresponderId": {
            "type": "integer"
          },
          "kind": {
            "type": "string",
            "enum": [
              "email",
              "sms",
              "birthday-email",
              "birthday-sms"
            ]
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "draft",
              "paused",
              "scheduled",
              "active"
            ]
          },
          "messageId": {
            "type": [
              "integer",
              "null"
            ]
          },
          "isSplitTest": {
            "type": "boolean"
          },
          "sent": {
            "type": "integer"
          },
          "editUrl": {
            "type": "string"
          },
          "statisticsUrl": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

