Z-API by @icarodev icon

Z-API by @icarodev

Integração com Z-API WhatsApp - by @icarodev

Message → Send Document

AI-generated

Summary

Send a document to a WhatsApp contact

Inputs

  • phone (required) — Phone number with country code (e.g., 5511999999999)
  • caption — Caption for the media
  • documentUrl (required) — URL of the document to send
  • documentName — Name of the document file

Output shape

a single record representing the sent message

Response contains the server acknowledgment; errors cause a failure unless continueOnFail is enabled.

Examples

Example 1: Send a PDF invoice to a client

Phone set to client number, Document URL set to invoice PDF link, Document Name optional, Caption describing invoice

Example 2: Notify a team about a new ticket

Phone set to internal channel, Document URL set to ticket screenshot, Caption summarizing ticket

Links

Discussion