Kirim icon

Kirim

Send WhatsApp messages and manage your inbox via the Kirimdev API

Message → Send Document

AI-generated

Summary

Send a WhatsApp document from the selected Kirim account to a recipient, using a public document URL. Optionally set the filename, add a caption, or quote an existing inbound message.

Inputs

  • From Account Name or ID (required) — WhatsApp account to send from; select a connected account or provide its ID.
  • To (Phone Number) — Recipient phone number in E.164 format. Use this or Recipient (BSUID).
  • Recipient (BSUID) — Business-Scoped User ID for a WhatsApp user who adopted a username and no longer exposes their phone. Use this or To; it cannot be used with authentication OTP templates.
  • Reply To Message ID (Wamid) — Meta-native WhatsApp message ID from an inbound webhook. When provided, the sent document appears as a quoted reply; do not use a Kirimdev msg_ ID.
  • Document Link (required) — Public HTTPS URL for the document, such as a PDF, DOCX, or XLSX; the declared Meta size limit is 100 MB.
  • Filename — Optional filename shown to the recipient; include the extension.
  • Caption — Optional text shown alongside the document.

Output shape

A single API response record for the sent message.

The node sends a POST request to the selected account's messages endpoint with WhatsApp messaging product and document type. The returned record's fields are determined by the API response.

Links

Discussion