# WhatsBox API Documentation

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

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

## WhatsBox actions

- GET `check-service-health` Check Service Health
- POST `create-contact-list` Create Contact List
- DELETE `delete-contact-list` Delete Contact List
- DELETE `delete-webhook-subscription` Delete Webhook Subscription
- GET `get-contact-list` Get Contact List
- GET `get-my-organization` Get My Organization
- GET `get-template` Get Template
- GET `get-webhook-subscription` Get Webhook Subscription
- GET `list-channels` List Channels
- GET `list-contact-lists` List Contact Lists
- GET `list-team-members` List Team Members
- GET `list-templates` List Templates
- GET `list-webhook-subscriptions` List Webhook Subscriptions
- POST `send-media-message` Send Media Message
- POST `send-template-message` Send Template Message
- POST `send-text-message` Send Text Message
- PUT `update-contact-list` Update Contact List
- POST `upsert-webhook-subscription` Upsert Webhook Subscription
