# TxtSync API Documentation

This is the complete API documentation for connecting to the TxtSync 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 **TxtSync connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

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

## TxtSync actions

- PUT `activate-campaign` Activate Campaign
- POST `add-campaign-connection` Add Campaign Connection
- POST `add-contact-tags` Add Contact Tags
- GET `check-contact-duplicates` Check Contact Duplicates
- POST `create-campaign` Create Campaign
- POST `create-contact` Create Contact
- POST `create-tag` Create Tag
- DELETE `delete-contact` Delete Contact
- DELETE `delete-tag` Delete Tag
- GET `get-campaign` Get Campaign
- GET `get-campaign-report` Get Campaign Report
- GET `get-contact` Get Contact
- GET `get-system-report` Get System Report
- GET `get-tag` Get Tag
- GET `list-campaigns` List Campaigns
- GET `list-contact-tags` List Contact Tags
- GET `list-contacts` List Contacts
- GET `list-sms` List SMS
- GET `list-tags` List Tags
- GET `preview-sms` Preview SMS
- POST `send-bulk-sms` Send Bulk SMS
- POST `send-single-sms` Send Single SMS
- PUT `update-contact` Update Contact
- PUT `update-tag` Update Tag
