# Superchat API Documentation

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

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

## Superchat actions

- POST `add-contact-to-contact-list` Add Contact to Contact List
- POST `create-contact` Create Contact
- POST `create-template` Create Template
- POST `create-template-folder` Create Template Folder
- POST `create-webhook` Create Webhook
- DELETE `delete-contact` Delete Contact
- DELETE `delete-template` Delete Template
- GET `get-channel` Get Channel
- GET `get-contact` Get Contact
- GET `get-contact-list` Get Contact List
- GET `get-conversation` Get Conversation
- GET `get-current-user` Get Current User
- GET `get-file` Get File
- GET `get-inbox` Get Inbox
- GET `get-label` Get Label
- GET `get-template` Get Template
- GET `get-user` Get User
- GET `list-channels` List Channels
- GET `list-contact-lists` List Contact Lists
- GET `list-contact-lists-for-contact` List Contact Lists for Contact
- GET `list-contacts` List Contacts
- GET `list-contacts-for-contact-list` List Contacts for Contact List
- GET `list-conversations` List Conversations
- GET `list-conversations-for-contact` List Conversations for Contact
- GET `list-custom-attributes` List Custom Attributes
- GET `list-files` List Files
- GET `list-inboxes` List Inboxes
- GET `list-labels` List Labels
- GET `list-template-folders` List Template Folders
- GET `list-templates` List Templates
- GET `list-users` List Users
- GET `list-webhooks` List Webhooks
- GET `search-contacts` Search Contacts
- POST `send-message` Send Message
- PUT `update-contact` Update Contact
- PUT `update-conversation` Update Conversation
- PUT `update-template` Update Template
- PUT `update-template-folder` Update Template Folder
- PUT `update-webhook` Update Webhook
- POST `upload-file` Upload File
