# Heymarket SMS API Documentation

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

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

## Heymarket SMS actions

- POST `batch-create-contacts` Batch Create Contacts
- PUT `close-conversation` Close Conversation
- POST `create-contact` Create Contact
- POST `create-schedule` Create Schedule
- POST `create-template` Create Template
- GET `get-contact` Get Contact
- GET `get-contact-status` Get Contact Status
- GET `get-conversation` Get Conversation
- GET `get-conversation-message-history` Get Conversation Message History
- GET `get-schedule` Get Schedule
- GET `get-template` Get Template
- GET `get-users` Get Users
- GET `list-contact-fields` List Contact Fields
- GET `list-contacts` List Contacts
- GET `list-conversations` List Conversations
- GET `list-inboxes` List Inboxes
- GET `list-team-messages` List Team Messages
- GET `list-templates` List Templates
- PUT `mark-conversation-read` Mark Conversation Read
- PUT `mark-conversation-unread` Mark Conversation Unread
- PUT `open-conversation` Open Conversation
- PUT `reassign-conversation` Reassign Conversation
- POST `send-message` Send Message
- PUT `set-contact-status` Set Contact Status
- PUT `update-contact` Update Contact
- PUT `update-schedule` Update Schedule
- PUT `update-template` Update Template
