---
title: "MessageBase"
---

> 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

## Fields

- `MessageBase.wabaNumber` (string, required) — Your WhatsApp API number to send from, with country code.
  - example `"919705182126"`
- `MessageBase.recipient` (object, required)
  - `MessageBase.recipient.phoneNumber` (string, required) — The contact's phone number, with country code.
    - example `"919999999999"`
  - `MessageBase.recipient.name` (string, optional) — Optional display name, saved to the contact if it is new.
    - example `"Raj S"`
  - `MessageBase.recipient.email` (string, optional) — Optional email, saved to the contact if it is new.
    - format `email`
- `MessageBase.type` (string, required) — The message kind. Decides which other fields apply.
  - one of `"template"`, `"text"`, `"image"`, `"document"`, `"audio"`, `"location"`, `"interactive"`


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