Media
Get media file metadata
Media download
Authorizations
AuthorizationstringRequired
Query parameters
fileIdstringRequired
ID of the file that is presented in MO Callbacks
sourcestring · enumOptionalPossible values:
If encryption is client, value should be 'client'
sha256HashstringRequired
Hash of file that is presented in MO Callbacks
Responses
200
Success
*/*
Responsestring · binary
400
Bad request
*/*
404
Account/file not found
get
/v1/mediaUpload media file for One API
Authorizations
AuthorizationstringRequired
Query parameters
tostringOptional
Field that marks this upload file for delivery to a single destination user. Limits message sending to only this number
broadcastAllowedbooleanOptional
fileNamestringRequired
File name of the file being uploaded
encryptionKeystringOptional
kmsArnstringOptional
encryptionCipherstringOptional
sha256FileHashstringOptional
Header parameters
Content-TypestringRequiredExample:
Content type of file
image/jpgBody
objectOptional
Responses
201
Success
application/json
400
Bad request
application/json
404
Account not found
post
/v1/mediaLast updated