TikTok Research Collections
Collections to save TikTok research posts and sounds. Collections belong to the calling user; other team members cannot see them. Posts and sounds are referenced by their id. Requires TikTok Research in the agency's plan.
Get collection
path Parameters
collectionIdid of the collection
Get collection › Responses
Collection
idID of the collection
nameName of the collection, unique among the user's collections
iconIcon of the collection, free text
iconColorIcon color of the collection, free text
Update collection
Replaces name, icon and iconColor with the values in the body; omitted fields are set to null. name is required and must be unique among the user's collections.
path Parameters
collectionIdid of the collection
Update collection › Request Body
nameName of the collection; required and unique per user
iconIcon of the collection, free text
iconColorIcon color of the collection, free text
Update collection › Responses
Updated collection
idID of the collection
nameName of the collection, unique among the user's collections
iconIcon of the collection, free text
iconColorIcon color of the collection, free text
List collections
Returns all collections of the calling user. Empty list when there are none.
List collections › Responses
Collections
idID of the collection
nameName of the collection, unique among the user's collections
iconIcon of the collection, free text
iconColorIcon color of the collection, free text
Create collection
Body: name (required, unique among the user's collections), icon and iconColor (free text, optional).
Create collection › Request Body
nameName of the collection; required and unique per user
iconIcon of the collection, free text
iconColorIcon color of the collection, free text
Create collection › Responses
Created collection
idID of the collection
nameName of the collection, unique among the user's collections
iconIcon of the collection, free text
iconColorIcon color of the collection, free text
Move posts and sounds to another collection
Body: postIds and soundIds, the ids to move. Send both; use [] for none. The items are removed from the source collection and added to the target collection.
path Parameters
fromCollectionIdid of the source collection
toCollectionIdid of the target collection
Move posts and sounds to another collection › Request Body
postIdsids of the research posts to remove; [] for none
soundIdsids of the research sounds to remove; [] for none
Move posts and sounds to another collection › Responses
Items moved
List sounds in collection
Returns one page of the collection's sounds, in no fixed order. Request the next page while last is false.
path Parameters
collectionIdid of the collection
query Parameters
pagePage number, starts at 0. Default 0
sizeSounds per page. Default 20
sortSorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
List sounds in collection › Responses
Page of sounds
sizenumberfirstlastnumberOfElementsemptyAdd sounds to collection
Body: itemIds, the sound ids to add. Sounds already in the collection are skipped.
path Parameters
collectionIdid of the collection
Add sounds to collection › Request Body
itemIdsids of the research posts or sounds to add
Add sounds to collection › Responses
Sounds added
Remove posts and sounds from collection
Body: postIds and soundIds, the ids to remove. Send both; use [] for none. IDs not in the collection are ignored.
path Parameters
collectionIdid of the collection
Remove posts and sounds from collection › Request Body
postIdsids of the research posts to remove; [] for none
soundIdsids of the research sounds to remove; [] for none
Remove posts and sounds from collection › Responses
Items removed
List posts in collection
Returns one page of the collection's posts, most views first. Request the next page while last is false. sort is ignored.
path Parameters
collectionIdid of the collection
query Parameters
pagePage number, starts at 0. Default 0
sizePosts per page. Default 20
sortSorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
List posts in collection › Responses
Page of posts
sizenumberfirstlastnumberOfElementsemptyAdd posts to collection
Body: itemIds, the post ids to add. Posts already in the collection are skipped.
path Parameters
collectionIdid of the collection
Add posts to collection › Request Body
itemIdsids of the research posts or sounds to add
Add posts to collection › Responses
Posts added
