Upload a video to cross-post
Upload the video for a cross-post (MP4 or MOV), in one of two ways. With url (a public https link that reports its size): Bloss copies the video from the link and answers mode: "done" with the uploadId to pass to creator.brand.cross-posts.create. With fileName instead: Bloss answers mode: "presigned" with an uploadUrl; PUT the file's bytes there with exactly the headers given (the Content-Type is signed into the link) within 30 minutes, then call creator.brand.cross-post.uploads.finalize with the uploadToken to get the uploadId. Uploading publishes nothing.
bearerAuth creator: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: creator:write
brandId*stringA brand id from GET /me or GET /creator/brands.
1 <= lengthapplication/json- body
url?stringA public https link to the video. Bloss downloads it. Send this or fileName.
urilength <= 2000fileName?stringThe video's file name (my-video.mp4), for the two-step upload. With url, an optional name to use when the link has none.
1 <= length <= 200contentType?stringvideo/mp4 or video/quicktime, when the file name or link doesn't tell. Anything else is sent as MP4.
length <= 100Success.
application/json- response
mode*stringpresigned: PUT the file to uploadUrl, then finalize. done: the video is uploaded; use uploadId.
"presigned""done"uploadUrl?stringpresigned: where to PUT the file's bytes. Valid for about 30 minutes.
method?stringheaders?presigned: send exactly these headers with the PUT.
uploadToken?stringpresigned: pass to creator.brand.cross-post.uploads.finalize after the PUT.
expiresInMinutes?numbermimeType*stringThe type the video is uploaded as.
"video/mp4""video/quicktime"uploadId?stringdone: pass to creator.brand.cross-posts.create.
videoLength?|done: the video's length in seconds, when known.
curl -X POST 'https://example.com/api/v1/creator/brands/string/cross-post-uploads' \ -H 'Content-Type: application/json' \ -d '{}'{ "mode": "presigned", "uploadUrl": "string", "method": "PUT", "headers": { "property1": "string", "property2": "string" }, "uploadToken": "string", "expiresInMinutes": 0, "mimeType": "video/mp4", "uploadId": "string", "videoLength": 0}Your cross-posting in a brand GET
Your recent cross-posts in this brand (status, caption, platforms, schedule, any error), newest first, and which accounts were connected for cross-posting when last checked. The connection list is the last saved check, not a live one: a live check can set up your cross-posting account, and this API never changes anything. Open Cross-post in the app to refresh it.
Finish a two-step video upload POST
After PUTting the video to the `uploadUrl` from creator.brand.cross-post.uploads.create, register it and get the `uploadId` to pass to creator.brand.cross-posts.create. A token whose PUT didn't arrive (or has expired) answers 500 internal_error with `details.reason` upload_finalize_failed.