Skip to main content

Upload Media File

This request uploads a media file for the subscriber specified in the request.

post/subscribers/{sid}/files

Sample Request

This is a sample POST request to upload a media file for the subscriber, targeted by secure ID:

curl -X POST \
'https://api.carrierx.com/conference/v1/subscribers/rB0M9.EzXfaO4keb-opANwfb7CHx1Ph1/files' \
-H 'Content-Type: multipart/form-data' \
-F file='@recording.mp3' \
-u '[your_user_name]:[your_password]'

Sample Response

200 status code.

Path Arguments

ParameterData TypeDescription
sid
required
stringThe subscriber secure ID.

Form Arguments

ParameterData TypeDescription
file
required
fileThe media file to be uploaded.