Messages
Send Sticker
Send a sticker from an image URL (PNG/JPEG/GIF) with automatic conversion to WebP 512×512
POST
Send Sticker
Auth:
Error envelope:
TokenAccount or TokenInstance • Rate-limit: Global (100/min) • Idempotent: no
Description
Sends a sticker (sticker) from an imageUrl. The server downloads the image (PNG, JPEG or GIF) and automatically converts it to the format expected by WhatsApp: WebP, 512×512, with the background preserved when applicable. Supports replyTo, replyPrivate, delay (in seconds) and source for traceability.
Examples
Minimum (public URL)
Sends a sticker pointing only to a public image URL (PNG/JPEG/GIF). The server downloads it and automatically converts to WebP 512×512 before delivering.From base64 (data URL)
imageUrl accepts a data: URL with inline base64. The server decodes it and follows the same conversion flow to WebP 512×512.
As a reply to a message
Sends the sticker quoting a previous message viareplyTo. Typical combination for visual reactions (“reaction stickers”) in direct response to something said earlier in the conversation.
Success response
ThemessageType is always sticker and mediaMimeType is fixed at image/webp (the original image was converted by the server). There is no content in the payload, stickers do not carry a caption.
200 OK
Path parameters
Instance name (e.g.,
$Instance_Name).Headers
TokenAccount or TokenInstance.application/jsonRequest body
Destination: phone (
5511999999999) or JID (@s.whatsapp.net, @lid, @g.us, @newsletter).Public URL of the image (PNG, JPEG or GIF) or a
data: URL with inline base64. The server downloads/decodes it and automatically converts to WebP 512×512.Time in seconds to wait before sending. During the interval, the server sends the “typing…” indicator to the recipient and fires “paused” before the actual send.
ID of the message to be quoted (reply). The original message must belong to the same instance and have been saved in the database.
When
true and replyTo points to a message originating from a group, the reply is redirected to the original author’s private chat (keeping the quote). Ignored if the original message is not from a group.Origin identifier for traceability (e.g.,
crm, bot-suporte, n8n). Saved on the message record in the database and propagated to webhooks. When omitted, defaults to "api".Notes
delayis in seconds, not milliseconds.- The server automatically converts PNG/JPEG/GIF to WebP 512×512 before sending. There is no need to send a pre-formatted WebP.
- Animated GIFs are accepted, but the animation may only be partially preserved depending on the encoder; for reliable animated stickers, send an animated WebP already in the correct format via
imageUrl. - Stickers do not support mentions or
mentionAll(a WhatsApp limitation for sticker-type messages). - The
imageUrlmust be publicly accessible, or a base64data:URL. - For BR numbers (starting with
55), the service automatically tries variations with and without the 9th digit.
Errors
| HTTP | Internal status | Message |
|---|---|---|
| 400 | , | Instance name is required |
| 400 | , | Invalid request body: <detail> |
| 400 | , | Number is required |
| 400 | , | ImageURL is required |
| 400 | invalid_number | Invalid phone number format: <detail> |
| 400 | image_download_failed | Failed to download image: <reason> |
| 500 | image_conversion_failed | Failed to convert image to sticker (WebP 512x512) |
| 500 | sticker_upload_failed | Failed to upload sticker to WhatsApp servers |
| 500 | send_failed | Failed to send message: <reason> |
| 404 | , | Instance not found |
| 503 | disconnected | Instance is not connected to WhatsApp |