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
Parameter | Data Type | Description |
---|---|---|
sid required | string | The subscriber secure ID. |
Form Arguments
Parameter | Data Type | Description |
---|---|---|
file required | file | The media file to be uploaded. |