Skip to main content
POST
/
users
/
me
/
add-to-library
Add a track to user's library
curl --request POST \
  --url https://open.beatpass.ca/api/v1/users/me/add-to-library \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "track_id": 1
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
track_id
integer
Example:

1

Response

Track added to library

Last modified on November 29, 2025