Upload Sound File

API Endpoint

POST https://kpi.knowlarity.com/Basic/v1/account/sound

Required Parameters

ParametersDescription
soundnameString
TypePublic URL of sound file

Optional Parameters

ParametersDescription
languageString
descriptionString

Sample Request

curl -X POST \
  https://kpi.knowlarity.com/Basic/v1/account/sound \
  -H 'accept: application/json' \
  -H 'authorization: <authorization-key>' \
  -H 'x-api-key: <x-api-key>'\
  -H 'content-type: application/json' \
  -d '{
  "soundname": "soundhelix",
  "soundfile": "https://www.soundhelix.com/examples/mp3/SoundHelix-Song-16.mp3", <Sample Sound FIle>
  "language": "string",
  "description": "string"
}'

Sample Response

{
    "id": 381148,
    "status": "Pending Approval",
    "msg": [
        "Successfully added sound"
    ]
}