Track a video by URL
Start tracking any public post (any account, not only the brand's creators) by its Instagram, TikTok, YouTube or Facebook link, as on the admin Videos page. Its metrics are fetched at once and returned. Adding a post that's already tracked refreshes it instead of adding it twice. A link that isn't a post, or a post that can't be fetched, answers 400 validation_failed. 404 when the brand hasn't turned video tracking on.
bearerAuth videos:writeAuthorizationBearer <token>Personal access token. Scopes: account:read, creator:read, creator:earnings, managed:read, coach:read, brand:read, creators:read, videos:read, analytics:read, onboarding:read, onboarding:signatures, engagement:read, support:read, integrations:read, payouts:read, funds:read, billing:read, groups:write, videos:write, onboarding:write, sync:write, payouts:write, campaigns:write, brand:write, creators:write, engagement:write, support:write, accounts:write, payments:write, creator:write, creator:payouts:write, managed:write, coach:write, agency:write.
Scope: videos:write
brandId*stringA brand id from GET /me or GET /creator/brands.
1 <= lengthapplication/json- body
url*stringThe post's link.
1 <= length <= 2048Success.
application/json- response
id*stringplatform*stringplatformVideoId*stringurl*stringtitle*string|nullownerHandle*|The account that posted it.
postedAt*string|nullviews*numberlikes*numbercomments*numbershares*numberthumbnailUrl*string|nulllastSyncedAt*string|nulllastSyncFailed*booleancreatedAt*stringcurl -X POST 'https://example.com/api/v1/brands/string/tracked-videos' \ -H 'Content-Type: application/json' \ -d '{ "url": "string"}'{ "id": "string", "platform": "string", "platformVideoId": "string", "url": "string", "title": "string", "ownerHandle": "string", "postedAt": "string", "views": 0, "likes": 0, "comments": 0, "shares": 0, "thumbnailUrl": "string", "lastSyncedAt": "string", "lastSyncFailed": true, "createdAt": "string"}Change the brand's theme PATCH
Set the brand's colour theme, as Settings › Customization does: send `{ "preset": ... }` with one of bloss, evergreen, ocean, sunset, midnight, orchid, citrus, graphite. The older colour config (primaryColor, accentColor, secondaryColor as #rrggbb, and five chartColors) is still accepted. Read the current colours with brand.get (`branding`).
Stop tracking a video DELETE
Remove a tracked video and the metrics kept for it. The post itself is untouched. Can't be undone, but it can be added again with brand.tracked-videos.add. Preview with dryRun. 404 when the brand hasn't turned video tracking on.