ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Chatwoot → Enviar Sticker

AI-generated

Summary

Sends a sticker message to a WhatsApp chat via the ZapGate API.

Inputs

  • to (required) — The target phone number (with country code, no plus sign, e.g., 5511999999999). For groups, use the group JID (e.g., 120363123456789012@g.us).
  • mediaSource — Selects the source of the sticker: 'url' for a web link, 'base64' for a Base64 string/data URL, or 'binary' to use a binary field from a previous item. Defaults to 'url'.
  • url — The URL of the sticker image. Required if mediaSource is 'url'.
  • base64 — The Base64 string (or data URL) of the sticker image. Required if mediaSource is 'base64'.
  • binaryPropertyName — The name of the binary field in the input item containing the sticker data. Required if mediaSource is 'binary'. Defaults to 'data'.
  • mimetype — The MIME type of the sticker (e.g., image/png). Required if mediaSource is 'base64' or 'binary'.
  • filename — The filename for the sticker. Required if mediaSource is 'base64' or 'binary'. Defaults to 'file'.

Output shape

A single record per input item containing the API response (typically the message ID and chat details).

If the operation fails and 'Continue on Error' is enabled, the output includes an 'error' field with the message.

Examples

Example 1: Send a sticker from a URL

Media Source: URL; URL: 'https://example.com/sticker.png'; To: '5511999999999'

Example 2: Send a sticker from Base64

Media Source: Base64; Base64: 'data:image/png;base64,...'; To: '5511999999999'; Filename: 'sticker.png'

Example 3: Send a sticker from a binary field

Media Source: Binary; Binary Property: 'data'; To: '5511999999999'

Links

Discussion