Add a section to a form
Append a copy of a section (with new ids) to a form's draft, as the builder's “Copy to form…” does: send section, or savedSectionId from brand.onboarding.sections.list. The draft's revision goes up; creators see it once the flow is published. Form ids come from brand.onboarding.flow.get.
bearerAuth onboarding: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: onboarding:write
brandId*stringA brand id from GET /me or GET /creator/brands.
1 <= lengthformId*stringA form id from GET /brands/{brandId}/onboarding/flows/{flowId}.
1 <= lengthapplication/json- body
section?savedSectionId?string1 <= lengthSuccess.
application/json- response
formId*stringadded*booleancurl -X POST 'https://example.com/api/v1/brands/string/onboarding/forms/string/sections' \ -H 'Content-Type: application/json' \ -d '{}'{ "formId": "string", "added": true}Get a form's draft and versions GET
One onboarding form: its draft definition (sections and questions) with its revision, the live version creators fill in, its published versions, and what blocks publishing it. Read this before changing the form.
Replace a form's draft PATCH
Save a form's draft definition, as the form builder does. It replaces the whole draft: send every section and question, keeping the ids of questions you keep (answers are stored under them). Creators see it when the flow is published. The draft's `revision` as you last read it. If anyone has saved the draft since, nothing is saved and the call answers 409 conflict with `details.currentRevision`: read it again, reapply your change, and retry. Returns the new revision and what still blocks publishing the form.