Media

The Media resource lets you upload your media files to Bandwidth API servers so they can be used in applications without requiring a separate hosting provider. You can upload files up to 3.75MB and file storage is free for an unlimited number of files. Files are stored for up to 48 hours. Files you upload can only be accessed by you when you supply your API access token and secret. They are not available to anonymous users. Bandwidth API supports the Cache-Control header when you upload files.

Base URL

https://messaging.bandwidth.com/api/v2/users/{accountId}/media

Basic Authentication

Bandwidth's messaging API leverages Basic Authentication with your API Token and API Secret. Read more about how Bandwidth secures endpoints in the Security & Credentials document.

Capabilities

Verb Path about
GET /api/v2/users/{accountId}/media Get a list of your media files
GET /api/v2/users/{accountId}/media/{mediaName} Downloads an incoming MMS media attachment or an uploaded media file
PUT /api/v2/users/{accountId}/media/{mediaName} Uploads a media file
DELETE /api/v2/users/{accountId}/media/{mediaName} Permanently deletes an incoming MMS media attachment or an uploaded media file

results matching ""

    No results matching ""