Actions8
Message → Send File
AI-generatedSummary
Send a file message to a Viber user by specifying the destination number, file details, and message categorization, using Viber Business Messages API.
Inputs
- Destination (required) — Complete phone number as digits only, without spaces or special characters.
- Label (required) — Nature of the message for Viber internal purposes, either Transaction or Promotion.
- Category (required) — Category of the file message affecting tracking and delivery type (e.g., Transactional, Session).
- File URL (required) — Secure HTTPS URL for the file to be sent as a download link.
- File Name (required) — Display name for the file shown to the recipient, maximum 25 characters.
- File Type (required) — File extension indicating the file type, such as pdf, doc, docx, xls, xlsx, or csv.
- Simplify — Option to return a simplified API response containing status, message token, and session ID instead of the full response payload.
- Additional Fields — Optional parameters including a sequence number for request-response correlation, a tag for custom reporting, TTL (time-to-live) for the message, and tracking data string for reply tracking.
Output shape
a single JSON object per message sent containing either a simplified or full response from the Viber API
If 'Simplify' is true, the output includes the status code, sequence, message token, and optionally the session ID. If false, the full Viber API response plus the original request body is returned. On errors, if 'Continue On Fail' is enabled, error details are included per item; otherwise, execution stops with an error.