---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/whatsapp/tutorial/send-and-receive-media-messages-twilio-api-whatsapp#article
headline: Send and Receive Media Messages with the Twilio API for WhatsApp
description: Find links to step-by-step tutorials to learn how to use the Programmable Messaging API to send and receive WhatsApp media messages from your applications.
url: https://www.twilio.com/docs/whatsapp/tutorial/send-and-receive-media-messages-twilio-api-whatsapp
inLanguage: en
dateModified: 2026-06-25T22:34:50.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# Send and Receive Media Messages with the Twilio API for WhatsApp

Use the [Twilio API for WhatsApp](/docs/whatsapp) to send and receive media messages in your web application. You can send images, video, text, and PDF files to create rich, contextual conversations with your WhatsApp users, and you can receive and process incoming media messages from them.

Select your language and framework to open a step-by-step tutorial with source code:

* **[C# & ASP.NET MVC](/docs/whatsapp/tutorial/send-and-receive-media-messages-whatsapp-csharp-aspnet)**
* **[Java & Servlets](/docs/whatsapp/tutorial/send-and-receive-media-messages-whatsapp-java-servlets)**
* **[Node.js & Express](/docs/whatsapp/tutorial/send-and-receive-media-messages-whatsapp-nodejs)**
* **[PHP & Laravel](/docs/whatsapp/tutorial/send-and-receive-media-messages-whatsapp-php)**
* **[Python & Flask](/docs/whatsapp/tutorial/send-and-receive-media-messages-whatsapp-python)**
* **[Ruby & Sinatra](/docs/whatsapp/tutorial/send-and-receive-media-messages-whatsapp-ruby)**

You can send media messages to your customers within a 24-hour window of receiving an inbound message from them. Outside of that 24-hour session, you must use a WhatsApp message template to send notification messages. To learn more about message templates, see [Message templates](/docs/whatsapp/key-concepts#message-templates) and [Send WhatsApp notification messages with templates](/docs/whatsapp/tutorial/send-whatsapp-notification-messages-templates).
