# Send Text

**if you need to Send Plain Text using Cartat WhatsApp API You can use this endpoint.**

## To Sent Text Message

<mark style="color:green;">`POST`</mark> `https://api.cartat.net/message/text`

#### Headers

| Name                                            | Type             | Description                                                       |
| ----------------------------------------------- | ---------------- | ----------------------------------------------------------------- |
| Accept<mark style="color:red;">\*</mark>        | application/json |                                                                   |
| Content-Type<mark style="color:red;">\*</mark>  | application/json |                                                                   |
| Authorization<mark style="color:red;">\*</mark> | Bearer {{token}} | you can find your access token [here](/cartat-api/get-started.md) |

#### Request Body

| Name                                      | Type       | Description                                |
| ----------------------------------------- | ---------- | ------------------------------------------ |
| number<mark style="color:red;">\*</mark>  | 9665000000 | Receiver number starting with country code |
| message<mark style="color:red;">\*</mark> | Hi There ! | the message                                |

{% tabs %}
{% tab title="200: OK " %}

```json
{
    "status": "success",
    "id": "3EB0D788F7F0D44C3ECBB1",
    "from": "9665000000",
    "to": "9665000000",
    "type": "chat",
    "body": "Hi There !"
}
```

{% endtab %}
{% endtabs %}


---

# 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.cartat.net/cartat-api/whatsapp-api/messages/send-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.
