Initial concepts
So, what we can do with the Platform?
How do I know if my company needs a chatbot?
Register and login
First Steps - Creating your project
Choose your plan
Profile
Permission System
Project Dashboard
Platform Glossary
Changing the Platform Language
2-Factor Authentication
Invalid authentication code
General settings
Artificial Intelligence
Agent Builder
Zero Shot Learning
WeniGPT
Weni Platform AI Module
Repository - Overview
What is an Intelligence?
Intents and Entities
Hands-on
Creating an Intelligence
Training your Intelligence
Strength of Intelligence
Testing your intelligence
Interactions
Translating your dataset
Versioning
Settings
API
Integrating Intelligence into a Project on the Weni Platform
Introduction to Content Intelligence
Integrating a Content Intelligence
Interface Updates
Glossary
Guidance and Best Practices
Flows
Expressions and Variables Introduction
Variables Glossary
Expressions Glossary
Flows Creation
Flows introduction
Flow editor and tools
Action cards
Decision cards
Adding Media to the message
Call Webhook: Making requests to external services
Split by Intent: Using Classification Artificial Intelligence
Import and export flows
Using expressions to capture the user's location
Viewing reports on the platform
Route markers
WhatsApp Message Card
Studio
Contacts and Messages
Groups
Messages
Triggers and Campaigns
Adding a trigger
Triggers Types
Tell a flow to ignore triggers and keywords
Campaign introduction
How to create a Campaign
Editing events
Creating contact from an external Webhook
Contact history
How to Download and Extract Archived Data
Channels
Settings
How to connect and talk to the bot through the settings
Adding a Facebook Channel
Adding a Viber channel
How to Create an SMS Channel - For Developers (RapidPro)
Web Chat Channel
General API concepts and Integrations
How to create a channel on twitter
How to create a channel on Instagram
How to create an SMS channel
Adding ticket creation fields in Zendesk
Adding Discord as a channel
Creating a Slack Channel
Adding a Viber channel (RapidPro)
Creating a Microsoft Teams channel
Weni Integrations
How to Use the Applications Module
How to Create a Web Channel
Adding a Telegram channel
How to create a channel with WhatsApp Demo
Whatsapp: Weni Express Integration
Whatsapp: How to create Template Messages
WhatsApp Template Messages: Impediments and Configurations
Supported Media Sending - WhatsApp Cloud
Whatsapp Business API
Integrations
Human Attendance
Weni Chats: Introduction to the Chats module
Weni Chats: Setting Up Human Attendance
Weni Chats: Human Service Dashboard
Weni Chats: Human Service Management
Weni Chats: Attendance distribution rule
Weni Chats: Using active triggering of flows
Weni Chats: CoPilot
Ticketer: Ticketer on Rapid Pro
Ticketer: How to integrate Rocket.Chat as a ticket service on the Weni Plataform
How to send message templates through RocketChat
RocketChat call routing
RCAdmin API: Agent-Activity
U-Partners - Proper use of features
Using groups to organize human attendance
Data and BI
How to Install and Use the Weni Data Connector for Power BI
Incremental Update - Power BI
Explore Weni's Database Documentation
Tips for Data Modeling in Power BI
Filter using Contact Fields in Power BI
UX Writing
- All Categories
- Channels
- Weni Integrations
- Supported Media Sending - WhatsApp Cloud
Supported Media Sending - WhatsApp Cloud
Updated by Nádia Dias
Supported Media Sending - WhatsApp Cloud
Below, you will find the supported limits on WhatsApp Cloud for each media type.
Supported Media Types:
Tipo de mídia | Extensão | Tipos de mídia compatíveis (MIME Type) | Tamanho |
audio | .aac .amr .mp3 .m4a .ogg | audio/aac audio/amr audio/mpeg audio/mp4 audio/ogg (OPUS codecs only; base audio/ogg not supported.) | 16 MB |
document | .txt .xls .xlsx .doc .docx .ppt .pptx | text/plain application/vnd.ms-excel application/vnd.openxmlformats-officedocument.spreadsheetml.sheet application/msword application/vnd.openxmlformats-officedocument.wordprocessingml.document application/vnd.ms-powerpoint application/vnd.openxmlformats-officedocument.presentationml.presentation application/pdf | 100 MB |
image | .jpeg .png | image/jpeg image/png | 5 MB |
Animated sticker Static sticker | .webp .webp | image/webp image/webp | 500 KB 100 KB |
video | .3gp .mp4 | video/3gp video/mp4 Observações:
| 16 MB |
Media sent through messages is stored on WhatsApp's servers for 14 days. If a user requests to download the media after this period, WhatsApp servers will request the same media file from the local WhatsApp Business client. If the media has been removed, the user will be notified that it is unavailable.
It is not safe to assume that the download was completed solely based on delivery and read receipts. In general, media sent can be removed after 30 days, but it is important to adopt the strategy that best suits your company.
Restrictions
If you use the media upload process instead of a link to the media URL, the file must be uploaded to the media volume. Once the upload is complete, send a message using the media ID.
The application processes the uploaded media before it is sent to the server. The maximum media size that can be uploaded to the media node is 100 MB. However, there are post-processing limits for various media types, as described in the "Media size after processing" table mentioned earlier.
Media storage must be managed by the company. If the media volume reaches its limit, message sending will start to fail.
The following actions are not supported:
- Sending media via byte streams.
- Sending messages with animated stickers.
How to upload
Make a POST
request to /v1/media
to upload the media. The body of the local request should contain the binary media data, and the Content-Type
header must be set according to the type of media uploaded. Check the supported content types for accepted options.
Sending binary data in an POST HTTP
request is the standard method for uploading binary data. For example, if you want to upload an image, send a POST
request with the actual image bytes in the payload. Another option is to use --data-binary
if you want cURL
to read and use the file provided in binary exactly as it is.
Example
Media Upload:
POST /v1/media
Content-Type:
Media Upload with cURL:
curl -X POST \
https://:/v1/media \
-H 'Authorization: Bearer ' \
-H 'Content-Type: image/jpeg' \ # or other appropriate media type
--data-binary @
In both cases, a successful response returns the id
field
{
"media": [
{
"id": "f043afd0-f0ae-4b9c-ab3d-696fb4c8cd68"
}
]
}
If you receive an error message, refer to Error Messages and Status for more details.
As you can see, videos and audio files have a maximum size limit of 16 MB. For example, if you upload a 20 MB video to the Weni Platform, the video will be saved on the platform, but at runtime, WhatsApp will not be able to send it. For documents, the maximum limit is 100 MB, but this does not work on the Weni Platform, as it only supports up to 32 MB.
You can find more about this information on the official META page