# Send Text Message

> Send a plain text message to a Revora customer on any connected platform.

Developers · REST API

Send a plain text message to a Revora customer on any connected platform.

**POST** `/stable/open/customers/send-text-message`

Base URL: `https://api.myalice.ai`. Authenticate with the `X-Myalice-Api-Key`
header.

## Body parameters

**`customer_id` (string) — required**

The ID of the customer in Revora. Find it in the dashboard or from an
API/webhook payload.

**`text` (string) — required**

The text message to send.

## Example

```bash cURL
curl -X POST "https://api.myalice.ai/stable/open/customers/send-text-message" \
  -H "X-Myalice-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "customer_id": "1022",
    "text": "Hi! Thanks for reaching out."
  }'
```

```json Response
{
  "id": "msg_a12b…",
  "project_id": 343,
  "timestamp": "2026-07-02T09:30:00Z",
  "function_name": "send_text_message",
  "message": "Message sent",
  "status": "sent",
  "extra": { "customer_id": 1022, "success": true }
}
```

## Errors

**`400` (object)**

Unexpected error. Body: `{ "error": string, "code": string, "success": false }`.

**`401` (object)**

Unauthorized — missing or invalid API key.

---
HTML: https://userevora.com/docs/developers/rest-api/send-text-message
