> ## 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.

# Sticker

> Envía un sticker

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": "sticker",
    "mediaUrl": "https://example.com/sticker.webp",
    "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 `"sticker"`.

**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).

**mediaUrl** `string` *required*

URL pública (HTTPS) del sticker. Formatos admitidos: `image/webp` (100KB).

## Respuesta

**success** `boolean`

`true` si el mensaje se envió correctamente.

**messageId** `string`

Identificador del mensaje enviado.

## Formatos y Límites de Tamaño

| Tipo de Medio | Formatos Soportados | Límite de Tamaño |
| - | - | - |
| **Sticker** | `image/webp` | 100KB |

## Requisitos de URL

> [!WARNING]
>
> La URL debe ser públicamente accesible vía HTTPS, no debe requerir autenticación, y debe apuntar directamente al archivo (no a una página HTML).

## Errores Comunes

* `INVALID_MEDIA_URL` - La URL del sticker es inválida o inaccesible
* `MEDIA_TOO_LARGE` - El sticker excede el límite de 100KB
* `UNSUPPORTED_MEDIA_TYPE` - El formato no es WebP

## Casos de Uso

* Agregar elementos visuales divertidos
* Expresar emociones
* Mejorar la experiencia del usuario
* Personalizar la comunicación


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