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

# Respuestas Rápidas

> Envía un mensaje con botones de respuesta rápida

Disponible solo en WhatsApp

```bash cURL theme={null}
curl --request POST \
  --url https://api.jelou.ai/v1/bots/BOT_ID/messages \
  --header 'Authorization: Basic <Base64Encoded clientId:clientSecret>' \
  --header 'Content-Type: application/json' \
  --data '{
    "type": "quick_reply",
    "text": "¿Te gustaría continuar?",
    "title": "Pregunta",
    "quick_replies": [
      {
        "title": "Sí"
      },
      {
        "title": "No"
      },
      {
        "title": "Tal vez"
      }
    ],
    "userId": "USER_ID"
  }'
```

```json 200 theme={null}
{
  "success": true,
  "messageId": "msg_123456789"
}
```

## Parámetros de ruta

**botId** `string` *required*

Identificador único del bot que envía el mensaje.

## Parámetros del cuerpo

**type** `string` *required*

Tipo de mensaje. Debe ser `"quick_reply"`.

**userId** `string` *required*

Destinatario del mensaje. Acepta un número de teléfono en formato E.164 sin el signo `+` (ej: `593999999999`) o un BSUID (ej: `US.13491208655302741918`) para usuarios con protección de número activada en WhatsApp. Consulta [Identificación del destinatario](https://docs.jelou.ai/api/envia-mensajes/Envio-de-mensajes.md#identificación-del-destinatario).

**text** `string` *required*

Texto principal del mensaje.

**title** `string`

Título del mensaje. Máximo 20 caracteres.

**quick\_replies** `object[]` *required*

Botones de respuesta rápida. Mínimo 1, máximo 3.

**propiedades**

**title** `string` *required*

Texto visible del botón. Máximo 20 caracteres.

## Respuesta

**success** `boolean`

`true` si el mensaje se envió correctamente.

**messageId** `string`

Identificador del mensaje enviado.

## Restricciones

* **Respuestas Rápidas**: Mínimo 1, máximo 3 botones
* **Título**: Opcional, máximo 20 caracteres
* **Título del Botón**: Máximo 20 caracteres, no puede estar vacío, debe ser único, sin emojis ni markdown

## Casos de Uso

* Preguntas de sí/no
* Confirmaciones simples
* Opciones binarias
* Respuestas rápidas a preguntas frecuentes


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