Streamio API Documentation

Audios - Create

Create a audio on your account with the specified parameters. Don't forget to specify POST as the request method as GET will call the list action rather than create.

Request

Url

https://streamio.com/api/v1/audios.format

Request Method

POST

Parameters

  • file The audio file you want to upload. This is the only required parameter.
  • title The title of the audio. If you don't specify this the filename of the file parameter will be used.
  • description The description of the audio.
  • tags The tags you wish to set for the audio. Multiple tags are separated by comma.

Response

Code

201

Body

Examples

A simple create

Simplest case scenario is to just post with the file parameter set to a audio file on your hard drive.

curl -u username:password \
     -F file=@path/to/audio.jpg \
     https://streamio.com/api/v1/audios.json