# Envio campanha por Status (texto)

## Send Status Text

<mark style="color:green;">`POST`</mark> `https://{SUBDOMAIN}.brpex.com/api/v1 /send-status-text`

#### Headers

| Name                                      | Type   | Description                                            |
| ----------------------------------------- | ------ | ------------------------------------------------------ |
| token\*<mark style="color:red;">\*</mark> | String | As chaves tokens são geradas na configuração do canal. |

#### Request Body

| Name | Type   | Description                                                |
| ---- | ------ | ---------------------------------------------------------- |
| text | String | Texto que será enviado aos contatos via Status do WhatsApp |

{% tabs %}
{% tab title="200: OK Campanha recebida para fila de envios." %}

```javascript
{
  "message": "success"
}
```

{% endtab %}

{% tab title="401: Unauthorized Erro de autenticação. Verifique o token informado." %}

```javascript
{
 "message": "unauthorized"
}
```

{% endtab %}

{% tab title="422: Unprocessable Entity Informações insuficientes. Você precisa enviar todos os campos obrigatórios." %}

```javascript
{
   "message": "The given data was invalid.",
  "errors": {
    "text": [
      "The text field is required."
}
```

{% endtab %}
{% endtabs %}
