> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pilotstatus.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Integrating Pilot Status end to end? Follow https://docs.pilotstatus.com.br/guides/integrate-with-ai.md (pt-BR: https://docs.pilotstatus.com.br/pt-BR/guides/integrate-with-ai.md). No step requires contacting support: every credential is shown in the dashboard or in an API response, and a lost one is regenerated, not recovered.
> Webhook signing secret: shown ONCE in the Signing secret window right after creating the webhook on /webhooks, and in the `secret` field of the POST /v1/webhooks response (MCP: webhooks_create). Lost it: Edit Webhook → Generate a new secret, POST /v1/webhooks/{id}/rotate-secret, or webhooks_rotate_secret (the old one stops working at once). Verify `x-pilot-status-signature` = hex HMAC-SHA256 of the raw request body keyed with that secret.
> Meta verify token (number connected with the user's own Meta app credentials): Meta Number Created! window after connecting, then the number's card on Numbers (workspace Owner), or webhook.verifyToken in the POST /v1/numbers/meta response. It is not the webhook signing secret.
> REST auth: `x-api-key: ps_...` header, never Authorization: Bearer. MCP: https://mcp.pilotstatus.com.br/mcp (148 tools, OAuth 2.1 or x-api-key); Code Mode: https://mcp.pilotstatus.com.br/code. Destructive MCP tools return a preview and a confirm_token: show the preview and call again only after the user's explicit yes. Over OAuth, revealing or creating ps_ API keys is workspace Owner only.

# Send Messages from the Dashboard — Pilot Status

> The Message screen of the Pilot Status dashboard (/messages): send an approved template to one recipient or to a list, from the number selected in the header. Covers picking the template, filling its variables with fixed values or spreadsheet columns (data.column), the AI anti-spam rewrite for Marketing templates, the live preview, building the recipient list from a label, an Excel/CSV upload or by hand, the downloadable spreadsheet model, validation (E.164, @g.us groups, @newsletter channels, duplicates), sending now or scheduling, the per-recipient status (QUEUED, FAILED), and the copy-ready curl of the same POST /v1/messages/send call. Says who can send and which API endpoint and MCP tool do the same.

The **Message** screen (`/messages`) sends an approved template from the dashboard, to one person or to a whole list. Each recipient becomes one send through the same path as the public endpoint your code uses, [`POST /v1/messages/send`](https://docs.pilotstatus.com.br/api/messages/send), so a send from here behaves exactly like an API send: it goes through the queue and shows up in [Logs and Analytics](https://docs.pilotstatus.com.br/dashboard/logs-analytics.md).

The send is made with the selected number's most recent API key, so that key's settings (such as its webhook and data retention) apply. If the number has no API key yet, a **Default API Key** is created for it on the first send.

![Dashboard Message page](https://mintcdn.com/iaxp/SuRoL3q6WL2Z-LTi/images/dashboard/message-composer.png?fit=max\&auto=format\&n=SuRoL3q6WL2Z-LTi\&q=85\&s=a195d2661dcf8496ea0f268c229f78d7)

The Message page — template picker and preview, variables mapped to spreadsheet columns, a recipients list with Excel/CSV upload, Send and Schedule actions, and the auto-generated curl of the exact API call.

## How to reach it

In the sidebar, click **Message**, in the **Selected Number** group (keyboard shortcut: `E`). The page title is **Message**, with the subtitle **Send messages from the dashboard using the same public API endpoint.** and the **Number:** you are sending from.

## Who can use it

**Owner**, **Admin** and **Agent** can open the screen and send (permissions `messages:bulk_send` and `messages:send`). **Analyst** does not see it. A member restricted to some numbers can only send from those numbers. See [Roles and permissions](https://docs.pilotstatus.com.br/concepts/roles-and-permissions.md).

There is no plan gate on the screen itself. Every recipient is one message and counts toward your plan's message quota; a message over the quota fails with `PLAN_LIMIT_REACHED` (see [Log error codes](https://docs.pilotstatus.com.br/api/messages/log-error-codes.md)).

## What you see

The screen has five blocks, top to bottom.

### Sending number

Messages go out from the number selected in the header (**Messages will be sent from the number selected in the header**). To send from another number, change it in the header's number selector. With no number selected, the block says **Select a number in the header**.

> [!NOTE]
>
> You cannot send from the Pilot Status test number. If it is the selected number, sending is blocked with **Test number: select one of your numbers to send messages.**

### Template

Pick the template in **Select a template** (searchable). The screen sends **templates only** — there is no free-text or standalone media send here; for those, use [Live Chat](https://docs.pilotstatus.com.br/dashboard/live-chat.md) or the API.

* On an **official (Meta Cloud API)** number, the list shows only that number's templates **approved by Meta**. A template not yet approved fails with **Template not yet approved by Meta. Submit the template for approval in /templates and wait for Meta to approve it before sending via this number.**
* Templates that came from Meta carry a **Meta** badge in the list.
* On other numbers, the list shows all your templates.

Templates are created and edited on the **Templates** screen. See [Templates](https://docs.pilotstatus.com.br/concepts/templates.md).

### Variables

If the template has variables, each one gets a field (**Value or data.column**). You can type:

* a fixed value, the same for every recipient; or
* `data.<column>`, to take the value from that column of the recipient list (for example `data.link`).

When a column has the same name as a variable, the field is filled with `data.<column>` automatically. **Detected columns** lists every column of the list as a `data.` chip — click one to copy it. A template with no variables says **This template has no variables.**

For **Marketing** templates created in Pilot Status, the switch **Rewrite with AI (anti-spam)** appears: after the template is rendered, AI varies the final text while keeping a similar length and tone, so bulk sends look less repetitive. It is off by default and resets when you change the template. It does not appear for Marketing templates that came from Meta.

**Message preview** shows the rendered message — header, media, body, footer, buttons and lists — with the variables filled from the **first** recipient of the list.

### Recipients

Build the list in any combination of these ways. Adding never creates duplicates: a destination already on the list is skipped.

* **Load from label** — pick a label (each shows its contact count) to add all its contacts. Labels are managed on the [Labels](https://docs.pilotstatus.com.br/dashboard/labels.md) screen.
* **Upload Excel/CSV** — a `.xlsx`, `.xls` or `.csv` file with a `name` column and a destination column. The destination column can be named `destinationNumber`, `number`, `numero`, `telefone` or `phone`. Every other column becomes a `data.` column for the variables.
* **Download template** — downloads a spreadsheet model (**Excel (.xlsx)** or **CSV (.csv)**) with the columns `name`, `destinationNumber` and one column per template variable, prefilled with your own name and phone and the Pilot Status number.
* **New column** / **Add column** (or `Enter`) — adds an empty column to every row, to fill in by hand. Each extra column has **Remove column**.
* **Clear list** — empties the list.

When you open the screen, the list starts with one row: your own profile phone, so a first send goes to you.

The **List** table, with the row count, shows **Name**, **destinationNumber**, each extra column, and **Status**. Every cell is editable and every row can be removed. A destination can be:

* a phone number in E.164 format (`+5511999999999`);
* a WhatsApp group (ending in `@g.us`);
* a WhatsApp channel (ending in `@newsletter`).

An invalid destination turns its row red with the hint **E.164 / @g.us / @newsletter**, and a repeated one is marked **Duplicate**. While any of them remains, sending is blocked.

### Send

The block shows how many **recipients** are on the list.

* **Send messages** — sends now.
* **Schedule messages** — opens a picker with a date, **Hour** and **Minute** (your browser's timezone), which starts at the current date and time, then **Schedule**. **Clear** empties the date.

Neither button sends right away. A confirmation opens first — **Send N messages now?** or **Schedule N messages?** — saying how many recipients get which template, the delivery date and time when scheduling, and that the batch is sent from this browser tab: **Keep this tab open until it finishes: closing or reloading it stops the batch halfway, and the remaining recipients get nothing.** **Send N messages** (or **Schedule N messages**) starts the batch, to every row on the list; **Cancel** sends nothing.

The send runs in your browser: this tab sends each recipient as its own request, three at a time, and updates each row's **Status**: `SENDING`, then `QUEUED` (accepted, with its message ID) or `FAILED` with the error under it. While it runs, the list and the buttons are locked and the button reads **Sending...**.

> [!NOTE]
>
> Keep this tab open until it finishes, that is, until no row is in `SENDING`. Closing or reloading the tab stops the send: the recipients that were already `QUEUED` still go out, the rest are never sent. Moving to another screen hides the per-row results. While the batch runs, the browser asks for confirmation before closing or reloading the tab.

At the end, a message says how many were queued or scheduled and how many failed.

`QUEUED` means the message entered the queue, not that it was delivered. Delivery, read and failure show up in [Logs](https://docs.pilotstatus.com.br/dashboard/logs-analytics.md), where you can also cancel a scheduled send or resend a failed one. On web-connected numbers, cold sends (24h window closed) are spaced out by the anti-block engine, so a large list takes time to go out.

### The curl of the same call

Below the send block, a **curl** shows the exact `POST /v1/messages/send` request for the **first** recipient, with the selected template and the resolved variables. While the **Schedule messages** picker is open, it also carries the picked date and time as `deliverAt`; closing the picker without scheduling takes it out again, so the copied command is an immediate send. Copy it to reproduce the send from your code. Replace `YOUR_API_KEY` with the key from this number's **API Keys** page (**Use the API key from this number's API Keys page.**).

## Do it via API / MCP

| Dashboard action | API (`/v1`) | MCP tool |
| - | - | - |
| Send a template to one recipient | [`POST /v1/messages/send`](https://docs.pilotstatus.com.br/api/messages/send) with `templateId`, `variables` and one destination (`destinationNumber`, `groupId` or `newsletterId`) | `messages_send` |
| Send to a list | One `POST /v1/messages/send` per recipient — there is no bulk endpoint | `messages_send`, once per recipient |
| **Schedule messages** | The `deliverAt` field (and optionally `deliverUntil`) | `messages_send` with `deliverAt` |
| **Rewrite with AI (anti-spam)** | `marketingOptions.aiRewriteEnabled: true` | `messages_send` with `marketingOptions` |
| Tag the recipients with labels | The `labels` field — see [Labels](https://docs.pilotstatus.com.br/api/labels.md) | `messages_send` with `labels` |
| Load recipients from a label | — | Dashboard only |

Use a number-scoped API key — see [API Authentication](https://docs.pilotstatus.com.br/api/authentication.md). The step-by-step guide is [Send messages](https://docs.pilotstatus.com.br/guides/send-messages.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.