# ActiveTrail

> Report subscriber consent, audience groups and sent campaign volume.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/active-trail

## Actions

### List contacts

Read one page of contacts and their subscription state.

**Inputs**

- Page (`page`, number): Page number starting at 1. At least 1.
- Limit (`limit`, number): Maximum records per page; default 20. From 1 to 100.

**Outputs**

- `data` (list): The response from ActiveTrail.

**Example output**

```json
{
  "data": [
    {
      "email": "reader@example.com",
      "first_name": "Example",
      "id": 101,
      "is_optined": true,
      "last_name": "Reader",
      "state": "Subscribed"
    }
  ]
}
```

### List email campaigns

Read one page of email campaigns; the vendor defaults to campaigns updated in the last three months.

**Inputs**

- Page (`page`, number): Page number starting at 1. At least 1.
- Limit (`limit`, number): Maximum records per page; default 20. From 1 to 100.
- From date (`from_date`, text): Start of the last-updated date range, ISO 8601.
- To date (`to_date`, text): End of the last-updated date range, ISO 8601.

**Outputs**

- `data` (object): The response from ActiveTrail.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "id": 301,
        "is_sent": true,
        "last_updated": "2026-01-02T12:00:00Z",
        "name": "Product update",
        "subject": "What is new",
        "total_sent": 1
      }
    ],
    "total_items": 1
  }
}
```

### List groups

Read one page of contact groups and their active subscriber counts.

**Inputs**

- Page (`page`, number): Page number starting at 1. At least 1.
- Limit (`limit`, number): Maximum records per page; default 20. From 1 to 100.

**Outputs**

- `data` (list): The response from ActiveTrail.

**Example output**

```json
{
  "data": [
    {
      "active_counter": 1,
      "counter": 1,
      "id": 201,
      "name": "Customers"
    }
  ]
}
```
