channels
mms
send-mms
Upload binary content
This method allows you to upload binary content that you can reference when sending MMS messages.
post/mms/1/content
Request
- Base URLhttps://api.infobip.com (the document declares no server; this is the origin it was published from)
- Auth
- OAuth 2Client credentialsToken URL: https://api.infobip.com/auth/1/oauth2/token
- or API key in header Authorization
- or API key in header Authorization
- or HTTP basic
Headers
X-Content-Idstring required
ContentId that uniquely identifies the binary content.
X-Media-Typestring required
Content mime type. Should be populated by standard MIME types (IANA media types).
X-Validity-Period-Minutesinteger
Validity period in minutes after which the content will be deleted. (default: 69120 minutes).
Request body application/octet-stream
string binary required
Response
OK
Example response
{
"uploadedContentId": "B44419205B27012D82F3BAD7B7EB37BAC884DBC91685390C3232D2191DC9D5EAF32F119D3530679F9B251AB689B4A60D7C2EB5A5EBB75C305367140D512E6B5D04200E7FFA5E84EAF37590C33F22B973514126755981CB170D86A7506CB38265280478A5B4EF2A7D11E9F24F286E7E315DFB1FF9BFEE08E036584074A1B76F097D9EC77E3FDD0FCC08362243E306F99F"
}Changes
No recorded changes to this operation across all 1 revision of this API.