Get a user's playlist

GET {{baseUrl}}/iq/users/:userId/conversations/playlists?page_size=30&next_page_token=<string>&type=All&following=false&create_by_self=false

Get all playlists for a user.

Scopes: iq_playlist:read:admin,iq_playlist:read

Rate Limit Label: MEDIUM

Request Params

KeyDatatypeRequiredDescription
page_sizenumberThe number of records returned within a single API call.
next_page_tokenstringThe next page token is used to paginate through large result sets. A next page token will be returned whenever the set of available results exceeds the current page size. The expiration period for this token is 15 minutes.
typestringThe type of the playlist to query:
  • All - All playlists.
  • Normal - Normal playlist.
  • Smart - Smart playlist.
  • Favorite - Favorite playlist. | | following | boolean | | Whether to see Following only. | | create_by_self | boolean | | Whether to see playlist created by self. |

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;next_page_token&quot;:&quot;\u003cstring\u003e&quot;,&quot;page_size&quot;:30,&quot;playlists&quot;:[{&quot;playlist_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;modified_time&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;playlist_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;number_of_conversations&quot;:&quot;\u003cinteger\u003e&quot;,&quot;following&quot;:&quot;\u003cboolean\u003e&quot;,&quot;created_by&quot;:&quot;\u003cstring\u003e&quot;},{&quot;playlist_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;modified_time&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;playlist_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;number_of_conversations&quot;:&quot;\u003cinteger\u003e&quot;,&quot;following&quot;:&quot;\u003cboolean\u003e&quot;,&quot;created_by&quot;:&quot;\u003cstring\u003e&quot;}]}