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
| Key | Datatype | Required | Description |
| page_size
| number | | The number of records returned within a single API call. |
| next_page_token
| string | | The 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. |
| type
| string | | The 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
| Key | Datatype | Required | Description |
| Accept
| string | | |
RESPONSES
status: OK
{"next_page_token":"\u003cstring\u003e","page_size":30,"playlists":[{"playlist_id":"\u003cstring\u003e","type":"\u003cstring\u003e","modified_time":"\u003cdateTime\u003e","playlist_name":"\u003cstring\u003e","number_of_conversations":"\u003cinteger\u003e","following":"\u003cboolean\u003e","created_by":"\u003cstring\u003e"},{"playlist_id":"\u003cstring\u003e","type":"\u003cstring\u003e","modified_time":"\u003cdateTime\u003e","playlist_name":"\u003cstring\u003e","number_of_conversations":"\u003cinteger\u003e","following":"\u003cboolean\u003e","created_by":"\u003cstring\u003e"}]}