Skip to content
UGC API

Docs

Docs

Everything you need to post your first video, slideshow or image through the API.

QuickstartGet an API key, connect a TikTok or Instagram account, and publish your first video or slideshow with UGC API. Examples in curl, JavaScript and Python.AuthenticationHow to authenticate with UGC API: create ugc_live_ API keys in the dashboard, send them as Bearer tokens, rotate them safely, and handle unauthorized errors.Connect accountsConnect TikTok, Instagram, Facebook Page and YouTube accounts with connect links. Map them to your users with external_id, list them and disconnect them.MediaUpload videos and images to UGC API with POST /v1/media, or use your own public URLs. Retention rules, formats that work everywhere and common media errors.Create a postReference for creating, listing, reading and cancelling posts with UGC API: every request field, per-account results, scheduling and external IDs.Formats and optionsEvery UGC API format and option per platform: slideshow, video and image rules for TikTok, Instagram, Facebook and YouTube, drafts, music, Stories, AI labels.CampaignsPOST /v1/campaigns spreads many posts over many accounts on a per-account cadence: round-robin assignment, local posting times, staggered minutes per account.Reports: accounts, groups and campaigns over any periodReport results across TikTok, Instagram, Facebook and YouTube per account, group, platform or campaign, by day or week, with followers, CSV and scheduled reports.Fit to platform: send any file, onceUGC API converts PNG and WebP to JPEG, fixes Instagram aspect ratios, trims captions to each platform's limits and skips placements a file can't go to.Account groupsTag creator accounts (skincare-creators, client-acme) and target the tag in a post or campaign instead of account IDs, on TikTok, Instagram, Facebook, YouTube.Edit, delete and review postsChange a scheduled post's caption or time, delete a published post, share a review link for client approval and manage your media library with the UGC API.WebhooksUGC API webhooks for post.published, post.failed and account.disconnected. Set your endpoint, read payloads and verify the X-UGCAPI-Signature HMAC-SHA256.StatsGET /v1/stats returns how many UGC posts were published, failed or are scheduled, by platform and by day, plus credits used and the most common errors.MCP serverConnect Claude, ChatGPT, Cursor, VS Code, Gemini CLI or Codex to UGC API's remote MCP server and post or schedule UGC to TikTok, Instagram, Facebook and YouTube.ErrorsUGC API error format and codes: unauthorized, insufficient_credits, invalid_request, account_not_found, media_unreachable, platform_rejected, rate_limited.LimitsPosting limits that apply when publishing via API: TikTok creator caps, Instagram's 24-hour publishing limit, Facebook Reels limits and YouTube upload quota.Pricing and creditsHow UGC API credits work: packs from $10 for 1,000 posts down to 0.68¢ a post. Credits never expire, Story frames count individually, failed posts refunded.