Skip to main content
GET
GetLikedItems

Headers

Authorization
string
required

OAuth 2.0 Bearer token with the 'read' scope. Required for all library operations. Format: Bearer <access_token>.

Example:

"Bearer eyJhbGciOiJSUzI1NiIs..."

Accept-Language
string

Preferred locale for localized content in returned items (BCP 47).

Example:

"ar"

Query Parameters

content_type
string

Filter by content type. If UNSPECIFIED, returns all liked content types (songs and albums).

page_size
integer<int32>

Maximum number of items to return per page (1-100, default 20).

page_token
string

Opaque page token from a previous response. Omit for the first page.

Response

Successful response

GetLikedItemsResponse is the response message containing the user's liked items.

items
object[]
nextPageToken
string

Token for the next page of results. Empty if no more pages.