Upload a file for an onboarding question
Uploads the file answer to a file question (a form field of type "file_upload") in an open step of your onboarding run (see creator.onboarding.run.get for the fields, which types they accept and their size limit). Two ways to send the file. (a) Two steps: send contentType and sizeBytes (the exact byte count), PUT the raw bytes to the returned uploadUrl with the returned headers before expiresInSeconds runs out, then call the finalize operation named below. (b) One call: send url, a public https link to the file; Bloss downloads it (the link must report its size) and answers with the finished file (status: "ready"), so no PUT and no finalize are needed. Use (b) when the file is already online, (a) for a file you hold. Finalize: creator.onboarding.uploads.finalize. Either way you get a file object: put it, as is, under the field's id in the step's answers (creator.onboarding.step.answers.save or creator.onboarding.step.submit). A question that isn't open is 409 conflict; a type or size the field doesn't take is validation_failed; a run takes at most 50 files and 1 GB in all (validation_failed, code "quota").
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
runId*stringYour onboarding run's id, from creator.onboarding.start.
1 <= lengthapplication/json- body
fieldId*stringThe file question's field id, from the step's form.
1 <= length <= 64url?stringMode (b): a public https link to the file. Bloss downloads and finishes it in this call.
urilength <= 2000contentType?stringThe file's type (image/jpeg, application/pdf, video/mp4…). Required in mode (a); in mode (b), only when the link reports the wrong type.
1 <= length <= 100sizeBytes?integerMode (a): the file's exact size in bytes. The upload URL is signed for this size.
0 < value <= 9007199254740991name?stringThe file name the brand sees. Defaults to the link's file name.
length <= 500Success.
application/json- response
status*string"awaiting_upload" (mode a: PUT the bytes, then finalize) or "ready" (mode b: the file is done).
"awaiting_upload""ready"fileId*stringuploadToken?stringMode (a): send it to creator.onboarding.uploads.finalize. It expires after an hour.
uploadUrl?stringMode (a): PUT the file's bytes here.
method?stringheaders?Mode (a): send these headers with the PUT (its Content-Type).
expiresInSeconds?numberMode (a): how long the upload URL works.
file?The answer for the field, when status is "ready".
curl -X POST 'https://example.com/api/v1/creator/onboarding/runs/string/uploads' \ -H 'Content-Type: application/json' \ -d '{ "fieldId": "string"}'{ "status": "awaiting_upload", "fileId": "string", "uploadToken": "string", "uploadUrl": "string", "method": "PUT", "headers": { "property1": "string", "property2": "string" }, "expiresInSeconds": 0, "file": { "fileId": "string", "name": "string", "size": 0, "contentType": "string" }}Submit a form step POST
Submit a form step's answers. Every visible field is checked (social accounts against the platforms); fixes needed answer 400 validation_failed with `details.errors` (field id → message). Otherwise the run moves on, and on the last step you join the brand or wait for approval, which `outcome` says. A file question's answer is the `file` object from creator.onboarding.uploads.create (or .finalize), as is. Agreement steps are signed on the website only.
Finish an onboarding file upload POST
Finishes a two-step upload from creator.onboarding.uploads.create after you PUT the bytes. Bloss checks the stored file's real size and type against what you declared, and answers `file`: put that object, as is, under the field's id in the step's answers (creator.onboarding.step.answers.save or creator.onboarding.step.submit). Calling it again answers the same file. Bytes that never arrived, or a file that doesn't match what was declared, is 409 conflict (start again); an expired or wrong `uploadToken` is 409 conflict too.