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

# Send sticker

> Send stickers via SDK or API

Send static or animated stickers in WEBP format. Static stickers: 100KB max. Animated stickers: 500KB max.

```typescript TypeScript SDK icon="square-js" theme={null}
import { WhatsAppClient } from '@kapso/whatsapp-cloud-api';

const client = new WhatsAppClient({
  baseUrl: 'https://api.kapso.ai/meta/whatsapp',
  kapsoApiKey: process.env.KAPSO_API_KEY!
});

await client.messages.sendSticker({
  phoneNumberId: '647015955153740',
  to: '15551234567',
  sticker: {
    id: '798882015472548'
  }
});
```

```bash REST API icon="code" theme={null}
curl -X POST 'https://api.kapso.ai/meta/whatsapp/v24.0/647015955153740/messages' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "messaging_product": "whatsapp",
    "to": "15551234567",
    "type": "sticker",
    "sticker": {
      "id": "798882015472548"
    }
  }'
```

## Using a link

```typescript TypeScript SDK icon="square-js" theme={null}
await client.messages.sendSticker({
  phoneNumberId: '647015955153740',
  to: '15551234567',
  sticker: {
    link: 'https://example.com/sticker.webp'
  }
});
```

```bash REST API icon="code" theme={null}
curl -X POST 'https://api.kapso.ai/meta/whatsapp/v24.0/647015955153740/messages' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "messaging_product": "whatsapp",
    "to": "15551234567",
    "type": "sticker",
    "sticker": {
      "link": "https://example.com/sticker.webp"
    }
  }'
```


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