Influencers

Store videos for an influencer

Fetches videos for a TikTok, YouTube, or Instagram influencer, stores them in the database and generates embeddings

post/api/influencer/store-videos

Request

  • Base URL: https://api.kolect.com
  • URL: https://api.kolect.com/api/influencer/store-videos
  • Auth: HTTP bearer

Request body

unique_idstring required

Platform-specific unique ID of the influencer (user_id/userdata.id for Instagram, channel ID for YouTube, unique_id for TikTok)

idstring required

Database ID of the influencer in the kols table

channel'tiktok' | 'youtube' | 'instagram' required

Platform channel type (tiktok, youtube, or instagram)

max_videosinteger

Maximum number of videos to process

include_image_analysisboolean

Whether to include image analysis in embedding generation

include_persona_analysisboolean

Whether to include persona analysis in embedding generation

Response

Videos stored successfully

videos_storedinteger
new_videos_addedinteger
duplicatesinteger
influencerobject

The influencer data

processed_timenumber
api_callsinteger
channelstring
from_cacheboolean

Example response

{
  "videos_stored": 30,
  "new_videos_added": 30,
  "processed_time": 2.5,
  "api_calls": 1,
  "channel": "tiktok"
}

Changes

No recorded changes to this operation across all 1 revision of this API.