# ActiveTrail API Documentation

This is the complete API documentation for connecting to the ActiveTrail API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **ActiveTrail connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/activeTrail/actions/{actionSlug}/run
```

## ActiveTrail actions

- POST `add-contact-to-group` Add Contact to Group
- POST `create-contact` Create Contact
- POST `create-group` Create Group
- POST `create-mailing-list` Create Mailing List
- DELETE `delete-contact` Delete Contact
- DELETE `delete-group` Delete Group
- DELETE `delete-mailing-list` Delete Mailing List
- GET `get-account-balance` Get Account Balance
- GET `get-campaign` Get Campaign
- GET `get-contact` Get Contact
- GET `get-group` Get Group
- GET `get-mailing-list` Get Mailing List
- POST `import-contacts` Import Contacts
- GET `list-campaigns` List Campaigns
- GET `list-contacts` List Contacts
- GET `list-group-members` List Group Members
- GET `list-groups` List Groups
- GET `list-mailing-lists` List Mailing Lists
- DELETE `remove-member-from-group` Remove Member from Group
- POST `send-email-operational-message-to-contacts` Send Email Operational Message to Contacts
- PUT `update-campaign` Update Campaign
- PUT `update-contact` Update Contact
- PUT `update-group` Update Group
