curl -X POST https://api.livchat.ai/v1/messages/send/sticker \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone": "5511999999999",
"sticker": "data:image/webp;base64,UklGR..."
}'
const response = await fetch("https://api.livchat.ai/v1/messages/send/sticker", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
phone: "5511999999999",
sticker: "data:image/webp;base64,UklGR...",
packName: "My Pack",
emojis: ["😂", "👍"],
}),
});
{
"success": true,
"code": 200,
"data": {
"details": "Sent",
"id": "3EB04A45DCA355D01DB68C"
}
}
Messages
Send Sticker
Send a sticker to a WhatsApp number
POST
/
v1
/
messages
/
send
/
sticker
curl -X POST https://api.livchat.ai/v1/messages/send/sticker \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone": "5511999999999",
"sticker": "data:image/webp;base64,UklGR..."
}'
const response = await fetch("https://api.livchat.ai/v1/messages/send/sticker", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
phone: "5511999999999",
sticker: "data:image/webp;base64,UklGR...",
packName: "My Pack",
emojis: ["😂", "👍"],
}),
});
{
"success": true,
"code": 200,
"data": {
"details": "Sent",
"id": "3EB04A45DCA355D01DB68C"
}
}
Send a static or animated sticker.
Request Body
string
required
Recipient phone number in international format
string
required
Sticker data in data URI format. Supports:
- Static:
data:image/webp;base64,... - Animated:
data:video/mp4;base64,...
string
Sticker pack identifier
string
Sticker pack name
string
Sticker pack publisher
string[]
Associated emojis for the sticker
Supported Formats
- Static: WebP (image/webp)
- Animated: MP4 (video/mp4)
Stickers should be 512x512 pixels. Animated stickers should be under 500KB.
curl -X POST https://api.livchat.ai/v1/messages/send/sticker \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phone": "5511999999999",
"sticker": "data:image/webp;base64,UklGR..."
}'
const response = await fetch("https://api.livchat.ai/v1/messages/send/sticker", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
phone: "5511999999999",
sticker: "data:image/webp;base64,UklGR...",
packName: "My Pack",
emojis: ["😂", "👍"],
}),
});
{
"success": true,
"code": 200,
"data": {
"details": "Sent",
"id": "3EB04A45DCA355D01DB68C"
}
}