> ## Documentation Index
> Fetch the complete documentation index at: https://docs.collabase.ch/llms.txt
> Use this file to discover all available pages before exploring further.

# WhatsApp

> Send messages, media, templates, and locations via WhatsApp Business API. React to inbound messages.

# WhatsApp

Send text, images, documents, location pins, and pre-approved template messages. React to incoming messages, delivery receipts, and read receipts via Meta webhooks.

## Authentication

**Auth type:** API Key

Set up the [WhatsApp Business Platform](https://developers.facebook.com/docs/whatsapp) in Meta for Developers.

| Credential          | Description                                                       |
| ------------------- | ----------------------------------------------------------------- |
| **Access Token**    | Meta system user access token                                     |
| **Phone Number ID** | ID of your WhatsApp Business phone number (not the number itself) |

## Triggers

| Trigger               | When it fires                                  |
| --------------------- | ---------------------------------------------- |
| **Message Received**  | A user sends a message to your business number |
| **Message Delivered** | A sent message reaches the recipient's device  |
| **Message Read**      | The recipient opens a sent message             |

## Actions

| Action                | Key inputs                                                       | Key outputs       |
| --------------------- | ---------------------------------------------------------------- | ----------------- |
| **Send Text Message** | `to`, `message`, `previewUrl`                                    | messageId, status |
| **Send Template**     | `to`, `templateName`, `languageCode`, `components[]`             | messageId, status |
| **Send Media**        | `to`, `type` (image/document/video/audio), `mediaUrl`, `caption` | messageId, status |
| **Send Location**     | `to`, `latitude`, `longitude`, `name`, `address`                 | messageId, status |
| **Mark as Read**      | `messageId`                                                      | success           |

<Warning>
  The `to` field must include the country code without `+` (e.g. `41791234567`). WhatsApp only allows outbound messages to numbers that have opted in or where your business has approval for outbound messaging.
</Warning>
