Skip to main content
POST
/ximalaya/sounds

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
sound
string
required
Minimum string length: 1
timeout
integer
default:300
Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
url
string
required
@type
string
default:XimalayaSound
track_title
string | null
image
string | null
video_image
string | null
duration
integer | null
anchor_id
integer | null
anchor_url
string | null
play_count
integer | null
like_count
integer | null
comment_count
integer | null
position_in_album
integer | null
price
number | null
discounted_price
number | null
is_paid
boolean | null
is_video
boolean | null
created_at
integer | null
updated_at
integer | null
album
object | null