Palantiri API icon

Palantiri API

Enviar mensagens e consultar a Palantiri API (WhatsApp)

Enviar Sticker

AI-generated

Summary

Send a WhatsApp sticker message via the Palantiri API to a specified recipient or group using media content provided either as input binary data or a base64 string.

Inputs

  • Instance ID (required) — ID of the Palantiri API instance to use; must match the instance owning the API key when using instance API keys.
  • Para (JID Ou Número) (required) — Recipient's phone number with country code (e.g., 5511999999999) or group JID (e.g., 120363xxx@g.us).
  • Fonte Da Mídia (required) — Source of the sticker media content: either from the binary property of the input item or as a base64-encoded string.
  • Binary Property (required) — Name of the binary property on the input item containing the media content (used if media source is binary).
  • Conteúdo Base64 (required) — Base64-encoded content of the sticker file (used if media source is base64).
  • Mimetype — MIME type of the sticker file; if empty, it uses the MIME type from the binary data or defaults to 'image/webp' for stickers.

Output shape

a single JSON object per input item indicating the API response

Sends a POST request to the Palantiri API's send-sticker endpoint with the specified parameters, returning the API response JSON for each processed item.

Examples

Example 1: Send a sticker to a WhatsApp user

Set the Instance ID to the target API instance, specify the recipient's phone number with country code in 'Para (JID Ou Número)', choose 'Binário De Entrada' as media source, set 'Binary Property' to the name of the binary field containing the sticker, and leave MIME type empty to use defaults.

Links

Discussion