D-API icon

D-API

Interagir com D-API para automação do WhatsApp

Mensagem → Enviar Imagem

AI-generated

Summary

Send an image message via WhatsApp using the specified D-API session to a target phone number, optionally including a caption and choosing asynchronous execution.

Inputs

  • ID Da Sessão (required) — The session ID identifying which WhatsApp session to use for sending the message.
  • Telefone (required) — The target phone number to which the image message will be sent.
  • URL Da Imagem (required) — The URL of the image to send in the message.
  • Legenda — Optional caption text to include with the image.
  • Assíncrono — Whether to execute sending the image message asynchronously.

Output shape

a single record containing the API response JSON from D-API representing the sent message or operation result

Returns the raw JSON response from the D-API endpoint used to send the image message. Includes all metadata and status returned by the API.

Examples

Example 1: Send a WhatsApp image message to a contact

Provide the session ID, recipient phone number, image URL, optional caption, and set async flag if desired. Execute the node to have D-API send the image message through the specified session.

Discussion