GET
/
musics
curl --request GET \
  --url https://api.jogg.ai/v1/musics \
  --header 'x-api-key: <api-key>'
{
  "code": 123,
  "msg": "<string>",
  "data": {
    "avatars": [
      {
        "id": 1,
        "name": "Amanda outdoors",
        "music_url": "https://res.jogg.ai/music/example.mp3",
        "duration": 81
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

Response

200 - application/json
Success
code
integer
required

Business status code:

  • 0 - Success

  • 10104 - Record not found

  • 10105 - Invalid API key

  • 18020 - Insufficient credit

  • 18025 - No permission to call APIs.

  • 40000 - Parameter error

  • 50000 - System error

msg
string
required

Response message

data
object