Bandwidth Messaging API
The Messages resource lets you send both single SMS/MMS messages as well as Group SMS/MMS Messages.
Phone numbers used on this API are expected to be in E164 format (+1XXXYYYZZZZ
)
Receive Incoming Messages
To receive events/callbacks for incoming and outgoing text messages (both SMS and MMS), you need to have a Bandwidth Application configured to send callbacks to your server.
Base URL
https://messaging.bandwidth.com/api/v2
Capabilities
Verb | Path | about |
---|---|---|
GET |
/users/{accountId}/messages |
Query information on previously sent messages from your account |
POST |
/users/{accountId}/messages |
Send a text message to a single number or a group message to multiple numbers |
Media & Attachment Management
Verb | Path | about |
---|---|---|
GET |
/users/{accountId}/media |
Get a list of your media files |
GET |
/users/{accountId}/media/{mediaName} |
Downloads an incoming MMS media attachment or an uploaded media file |
PUT |
/users/{accountId}/media/{mediaName} |
Uploads a media file |
Delete |
/users/{accountId}/media/{mediaName} |
Permanently deletes an incoming MMS media attachment or an uploaded media file |