# Smart Sender API Documentation

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

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

## Smart Sender actions

- POST `add-contact-funnel` Add Contact Funnel
- POST `add-contact-tag` Add Contact Tag
- PUT `assign-chat` Assign Chat
- PUT `close-chat` Close Chat
- POST `create-channel-gate` Create Channel Gate
- POST `create-product` Create Product
- POST `create-variable` Create Variable
- DELETE `delete-product` Delete Product
- DELETE `delete-variable` Delete Variable
- POST `fire-contact-event` Fire Contact Event
- GET `get-channel` Get Channel
- GET `get-chat` Get Chat
- GET `get-contact` Get Contact
- GET `get-contact-chat` Get Contact Chat
- GET `get-contact-gates` Get Contact Gates
- GET `get-contact-info` Get Contact Info
- GET `list-channels` List Channels
- GET `list-chat-messages` List Chat Messages
- GET `list-chats` List Chats
- GET `list-contact-funnels` List Contact Funnels
- GET `list-contact-messages` List Contact Messages
- GET `list-contact-tags` List Contact Tags
- GET `list-contacts` List Contacts
- GET `list-products` List Products
- GET `list-variables` List Variables
- PUT `mark-chat-read` Mark Chat Read
- PUT `merge-contacts` Merge Contacts
- DELETE `remove-contact-funnel` Remove Contact Funnel
- DELETE `remove-contact-tag` Remove Contact Tag
- GET `search-contacts` Search Contacts
- POST `send-message` Send Message
- PUT `update-channel` Update Channel
- PUT `update-contact` Update Contact
- PUT `update-product` Update Product
- PUT `update-variable` Update Variable
