MBKChat icon

MBKChat

Desfrute da MbkChat_API

Chat → Send Document

AI-generated

Summary

Sends a document to a phone number.

Inputs

  • phone (required) — Phone number to send message to (e.g. 5511999999999)
  • data — Base64 encoded data (with or without data URI scheme) OR a direct URL (http/https)
  • fileName — Name of the file

Output shape

an array of response objects

May contain success data or error details; exact fields depend on the API response per operation.

Examples

Example 1: Send a PDF document to a contact

phone=5511999999999, data=Base64PDF..., fileName=report.pdf

Links

Discussion