cURL
curl --request POST \ --url https://api.fivemanage.com/api/audio \ --header 'Authorization: <api-key>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file' \ --form 'metadata=<string>' \ --form 'filename=<string>'
{ "id": "7F9pGhN8qwErT1vx5aZk", "url": "https://r2.fivemanage.com/7F9pGhN8qwErT1vx5aZk.jpg" }
Upload an audio file with optional metadata
Audio file
Audio metadata (JSON string)
Custom filename
OK
"7F9pGhN8qwErT1vx5aZk"
"https://r2.fivemanage.com/7F9pGhN8qwErT1vx5aZk.jpg"
Was this page helpful?