Media Uploads
Authorizations
D360-API-KEYstringRequired
API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.
Body
string · binaryOptional
Responses
200
Media uploaded successfully
application/json
idstringOptional
400
Bad request
application/json
401
Unauthorized
application/json
500
Internal server error
application/json
post
/mediaAuthorizations
D360-API-KEYstringRequired
API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.
Query parameters
file_namestringRequired
File name
file_lengthintegerRequired
File size in bytes
file_typestringRequired
MIME type of the file
Responses
200
Upload session created successfully
application/json
idstringOptionalExample:
abcdefghijklmnopqrstuvwxyz123456400
Bad request - missing authorization header or invalid parameters
application/json
401
Unauthorized
application/json
500
Internal server error
application/json
post
/uploadsAuthorizations
D360-API-KEYstringRequired
API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.
Path parameters
session_idstringRequired
Session ID with 'upload:' prefix
Header parameters
file_offsetintegerOptional
Offset in bytes for this chunk, default 0
Body
objectOptional
Responses
200
Media uploaded successfully
application/json
objectOptional
400
Bad request - missing 'upload:' prefix
application/json
401
Unauthorized
application/json
500
Internal server error
application/json
post
/{session_id}Last updated
Was this helpful?