Passer au contenu principal
POST
/
producer
/
upload
Producer Upload
curl --request POST \
  --url https://api.acedata.cloud/producer/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "audio_url": "<string>"
}
'
{
  "data": {
    "audio_id": "eae26f89-b64b-404d-a80c-761996660b1c"
  },
  "success": true
}

Autorisations

Authorization
string
header
requis

En-têtes

accept
enum<string>

Specifies the format of the response from the server.

Options disponibles:
application/json

Corps

application/json
audio_url
string
requis

Custom audio cdn address to upload.

Réponse

OK, the request is successful.

data
object

Customize audio after upload.

success
boolean

The flag indicates the request is successful or not