Skip to the content
  1. API reference
  2. Read and write a user's library

Add artist to user's library

POST/api/{integrationUserUUID}/artists
CoreAuthBasicDevTokenDocsSessionToken

This endpoint saves artist to the current user's library on Music Service.

Path parameters

integrationUserUUID
uuidrequired

The connected user: the integrationUserUUID from the sign-in callback.

Request body

application/json · required

artistId
string
required

Response

200ok

Errors

404

Your account has no connected user with this uuid, or the item does not exist.

412

The user must sign in again (IntegrationUserNotAuthenticated).

429

Too many requests. Wait for the seconds in Retry-After.