---
title: "TextMessage"
description: "Plain text. Requires an active chat window."
---

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

Path: Zacx Public API

Plain text. Requires an active chat window.

## Fields

- `TextMessage.wabaNumber` (string, required) — Your WhatsApp API number to send from, with country code.
  - example `"919705182126"`
- `TextMessage.recipient` (object, required)
  - `TextMessage.recipient.phoneNumber` (string, required) — The contact's phone number, with country code.
    - example `"919999999999"`
  - `TextMessage.recipient.name` (string, optional) — Optional display name, saved to the contact if it is new.
    - example `"Raj S"`
  - `TextMessage.recipient.email` (string, optional) — Optional email, saved to the contact if it is new.
    - format `email`
- `TextMessage.type` (unknown, required)
- `TextMessage.text` (string, required)
  - example `"Hello, this is a test message!"`


Source: https://zacx.io/api/schemas/TextMessage/index.md
