# Text

{% hint style="info" %}
All examples below must be sent within the **body** field of a message as shown below
{% endhint %}

{% code lineNumbers="true" %}

```json
{
 "receiver": {
   "contacts": [
     {
       "identifierValue": "+31612345678"
     }
   ]
 },
 "body": {...}
}
```

{% endcode %}

## Single text message

#### Message Body

{% code lineNumbers="true" %}

```json
{
  "type": "text",
  "text": {
    "text": "Single text message"
  }
}
```

{% endcode %}

#### SMS

![](/files/44aw3PhVemzNExWerN7z)

#### WhatsApp

![](/files/O6iAGgtY5wnzK7BIDPjL)

#### Google RCS

<div align="left"><figure><img src="/files/cZLF6DEHDqM1qCtizPTF" alt="" width="173"><figcaption></figcaption></figure></div>

Facebook

![](/files/jTiM1BUldYZNxpbHKtlP)

#### Instagram

![](/files/SFN2qqnxD4iY3vAjK4Ae)

#### Line

<div align="left"><figure><img src="/files/gHLoGAVtyKBX1pbXiXaZ" alt=""><figcaption></figcaption></figure></div>

## Single text message with actions

### Single text message with reply actions

#### Message Body

{% code lineNumbers="true" %}

```json
{
  "type": "text",
  "text": {
    "text": "Single text message with reply actions",
    "actions": [
      {
        "type": "reply",
        "reply": {
          "text": "Reply action 1"
        }
      },
      {
        "type": "reply",
        "reply": {
          "text": "Reply action 2"
        }
      }
    ]
  }
}
```

{% endcode %}

#### WhatsApp

![](/files/4ta8rj99RBkvcMtihTp4)

#### Google RCS

<div align="left"><figure><img src="/files/B6Fy7TNGDwyDNOLy5qEX" alt="" width="188"><figcaption></figcaption></figure></div>

#### Facebook

![](/files/dg0toGRSqYtB5mBniTop)

#### Instagram

![](/files/cRkDViiP4r2WPbipvXwm)

#### Line

<div align="left"><figure><img src="/files/9kc3HUt3Vkl80ktyjCIG" alt=""><figcaption></figcaption></figure></div>

### Single text message with postback actions

#### Message Body

{% code lineNumbers="true" %}

```json
{
  "type": "text",
  "text": {
    "text": "Single text message with postback actions",
    "actions": [
      {
        "type": "postback",
        "postback": {
          "text": "Postback action 1",
          "payload": "postback-payload-1"
        }
      },
      {
        "type": "postback",
        "postback": {
          "text": "Postback action 2",
          "payload": "postback-payload-2"
        }
      }
    ]
  }
}
```

{% endcode %}

#### WhatsApp

![](/files/OZpn1UdF2ThoO6ytZvu1)

#### Google RCS

<div align="left"><figure><img src="/files/o3cke2aLiQb8n0Uh9i90" alt="" width="188"><figcaption></figcaption></figure></div>

#### Facebook

![](/files/qSjL6fQt9lpX9m7MYuKb)

#### Instagram

![](/files/j6nS80Ssb2sBwFmJZQrq)

#### Line

<div align="left"><figure><img src="/files/OxpAzFXPDy1IFJBvBFXp" alt=""><figcaption></figcaption></figure></div>

### Single text message with postback and reply actions

#### Message Body

{% code lineNumbers="true" %}

```json
{
  "type": "text",
  "text": {
    "text": "Single text message with reply and postback actions",
    "actions": [
      {
        "type": "postback",
        "postback": {
          "text": "Postback action 1",
          "payload": "postback-payload-1"
        }
      },
      {
        "type": "reply",
        "reply": {
          "text": "Reply action 1"
        }
      }
    ]
  }
}
```

{% endcode %}

#### WhatsApp

![](/files/bjbDtiMGszZDk5RfrrAG)

#### Google RCS

<div align="left"><figure><img src="/files/FzffTxGmrYt9t3SsslIT" alt="" width="188"><figcaption></figcaption></figure></div>

#### Facebook

![](/files/BV5ZA1bhlSiOBQsosgzg)

#### Instagram

![](/files/SJFN5tsfXZaFAhg8P2ic)

#### Line

<div align="left"><figure><img src="/files/L56CZnjVRyu70Cta0gTs" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bird.com/api/channels-api/message-types/text.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
