CreatorHero
CreatorHero API

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

GET
https://backend.creatorhero.com
/dashboard/api/v1/tiktok-research/collections/{collectionId}

Get collection › path Parameters

collectionId
​integer · int64 · required

id of the collection

Get collection › Responses

Collection

Collection of the user for saving TikTok research posts and sounds
id
​integer · int64

ID of the collection

name
​string

Name of the collection, unique among the user's collections

icon
​string

Icon of the collection, free text

iconColor
​string

Icon color of the collection, free text


Update collection

PUT
https://backend.creatorhero.com
/dashboard/api/v1/tiktok-research/collections/{collectionId}

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.

Update collection › path Parameters

collectionId
​integer · int64 · required

id of the collection

Update collection › Request Body

Collection to create or update
name
​string

Name of the collection; required and unique per user

icon
​string

Icon of the collection, free text

iconColor
​string

Icon color of the collection, free text

Update collection › Responses

Updated collection

Collection of the user for saving TikTok research posts and sounds
id
​integer · int64

ID of the collection

name
​string

Name of the collection, unique among the user's collections

icon
​string

Icon of the collection, free text

iconColor
​string

Icon color of the collection, free text


Delete collection

DELETE
https://backend.creatorhero.com
/dashboard/api/v1/tiktok-research/collections/{collectionId}

Deletes the collection. The posts and sounds in it stay available in TikTok Research.

Delete collection › path Parameters

collectionId
​integer · int64 · required

id of the collection

Delete collection › Responses

Collection deleted

No data returned

List collections

GET
https://backend.creatorhero.com
/dashboard/api/v1/tiktok-research/collections

Returns all collections of the calling user. Empty list when there are none.

List collections › Responses

Collections

Collection of the user for saving TikTok research posts and sounds
id
​integer · int64

ID of the collection

name
​string

Name of the collection, unique among the user's collections

icon
​string

Icon of the collection, free text

iconColor
​string

Icon color of the collection, free text


Create collection

POST
https://backend.creatorhero.com
/dashboard/api/v1/tiktok-research/collections

Body: name (required, unique among the user's collections), icon and iconColor (free text, optional).

Create collection › Request Body

Collection to create or update
name
​string

Name of the collection; required and unique per user

icon
​string

Icon of the collection, free text

iconColor
​string

Icon color of the collection, free text

Create collection › Responses

Created collection

Collection of the user for saving TikTok research posts and sounds
id
​integer · int64

ID of the collection

name
​string

Name of the collection, unique among the user's collections

icon
​string

Icon of the collection, free text

iconColor
​string

Icon color of the collection, free text


Move posts and sounds to another collection

POST
https://backend.creatorhero.com
/dashboard/api/v1/tiktok-research/collections/{fromCollectionId}/move/{toCollectionId}

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.

Move posts and sounds to another collection › path Parameters

fromCollectionId
​integer · int64 · required

id of the source collection

toCollectionId
​integer · int64 · required

id of the target collection

Move posts and sounds to another collection › Request Body

Posts and sounds to remove from a collection
postIds
​integer[] · unique

ids of the research posts to remove; [] for none

soundIds
​integer[] · unique

ids of the research sounds to remove; [] for none

Move posts and sounds to another collection › Responses

Items moved

No data returned

List sounds in collection

GET
https://backend.creatorhero.com
/dashboard/api/v1/tiktok-research/collections/{collectionId}/sounds

Returns one page of the collection's sounds, in no fixed order. Request the next page while last is false.

List sounds in collection › path Parameters

collectionId
​integer · int64 · required

id of the collection

List sounds in collection › query Parameters

page
​integer · min: 0

Page number, starts at 0. Default 0

Default: 0
size
​integer · min: 1

Sounds per page. Default 20

Default: 20
sort
​string[]

Sorting 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

size
​integer · int32
​SoundDto[]
number
​integer · int32
first
​boolean
last
​boolean
numberOfElements
​integer · int32
​SortObject
​PageableObject
empty
​boolean

Add sounds to collection

POST
https://backend.creatorhero.com
/dashboard/api/v1/tiktok-research/collections/{collectionId}/sounds

Body: itemIds, the sound ids to add. Sounds already in the collection are skipped.

Add sounds to collection › path Parameters

collectionId
​integer · int64 · required

id of the collection

Add sounds to collection › Request Body

Posts or sounds to add to a collection
itemIds
​integer[] · unique

ids of the research posts or sounds to add

Add sounds to collection › Responses

Sounds added

No data returned

Remove posts and sounds from collection

POST
https://backend.creatorhero.com
/dashboard/api/v1/tiktok-research/collections/{collectionId}/remove

Body: postIds and soundIds, the ids to remove. Send both; use [] for none. IDs not in the collection are ignored.

Remove posts and sounds from collection › path Parameters

collectionId
​integer · int64 · required

id of the collection

Remove posts and sounds from collection › Request Body

Posts and sounds to remove from a collection
postIds
​integer[] · unique

ids of the research posts to remove; [] for none

soundIds
​integer[] · unique

ids of the research sounds to remove; [] for none

Remove posts and sounds from collection › Responses

Items removed

No data returned

List posts in collection

GET
https://backend.creatorhero.com
/dashboard/api/v1/tiktok-research/collections/{collectionId}/posts

Returns one page of the collection's posts, most views first. Request the next page while last is false. sort is ignored.

List posts in collection › path Parameters

collectionId
​integer · int64 · required

id of the collection

List posts in collection › query Parameters

page
​integer · min: 0

Page number, starts at 0. Default 0

Default: 0
size
​integer · min: 1

Posts per page. Default 20

Default: 20
sort
​string[]

Sorting 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

size
​integer · int32
​PostDto[]
number
​integer · int32
first
​boolean
last
​boolean
numberOfElements
​integer · int32
​SortObject
​PageableObject
empty
​boolean

Add posts to collection

POST
https://backend.creatorhero.com
/dashboard/api/v1/tiktok-research/collections/{collectionId}/posts

Body: itemIds, the post ids to add. Posts already in the collection are skipped.

Add posts to collection › path Parameters

collectionId
​integer · int64 · required

id of the collection

Add posts to collection › Request Body

Posts or sounds to add to a collection
itemIds
​integer[] · unique

ids of the research posts or sounds to add

Add posts to collection › Responses

Posts added

No data returned