# POST /whatsapp/send

**Resource:** [WhatsApp](./whatsapp.md)  
**MCP tool:** `send_whatsapp`  
**Scopes:** `whatsapp:send`  
**Write operation:** yes

Send a WhatsApp message to a contact. Provide either to_phone (E.164) or conversation_id. Costs credits.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `to_phone` | body | string | no | Recipient phone in E.164, e.g. +61431377068 |
| `body` | body | string | yes | WhatsApp message body (text only in v1). |
| `conversation_id` | body | string | no | Existing conversation UUID. Mutually exclusive with to_phone. |
| `contact_id` | body | string | no |  |
| `deal_id` | body | string | no |  |
| `customer_id` | body | string | no |  |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/whatsapp/send"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"to_phone":"...","body":"...","conversation_id":"..."}'
```

## Response example

```json
{
  "data": {
    "success": true,
    "whatsapp_message_id": "uuid...",
    "conversation_id": "uuid...",
    "status": "queued"
  }
}
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`