Media
Upload Media
This API lets you upload media files to be used in sending MMS messages. Plivo supports up to 10 attachments in an upload API/SDK call with a maximum of 2MB per attachment.
- Media uploaded and sent to customers through MMS is saved in the system for 1 year.
- Unused media (media that is uploaded but not used for sending an MMS message) is deleted after 6 hours.
API Endpoint
POST
Headers
The content-type
header should be set to multipart/form-data
Arguments
file type(file) | Required This argument allows you to attach one or more (max 10) files as attachments in the body of the request. |
Returns
Returns a JSON response containing the list of media objects uploaded.