Save the sign-up answers and the first task (can be changed later)
const url = 'https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/onboarding';const options = { method: 'PATCH', headers: { cookie: '__Host-repf_session=<__Host-repf_session>', 'Content-Type': 'application/json' }, body: '{"answers":{"additionalProperty":"example"},"firstTask":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/onboarding \ --header 'Content-Type: application/json' \ --cookie __Host-repf_session=<__Host-repf_session> \ --data '{ "answers": { "additionalProperty": "example" }, "firstTask": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
brd_01hx0000000000000000000000Request Bodyrequired
Section titled “Request Bodyrequired”object
Keys source_platform (sendy, mailchimp, other, none), primary_goal (first_campaign, migrate_contacts, automations, other) and priority (campaigns, automations). Merged with the existing ones.
object
One of connect_provider, verify_domain, import_contacts, first_campaign, first_flow, invite_team; null removes it.
Example generated
{ "answers": { "additionalProperty": "example" }, "firstTask": "example"}Responses
Section titled “Responses”Status updated
object
object
What the user chose as their first task: connect_provider, verify_domain, import_contacts, first_campaign, first_flow, invite_team.
Each onboarding step: done or not.
object
The four activation milestones, in order.
object
Prerequisite steps still missing before this milestone.
The getting-started checklist is hidden (bring it back with :restore).
The migration email series is paused.
The next step: the chosen first task if still pending, otherwise the first pending one in order.
Example
{ "checklist": [ { "key": "import_reviewed" } ]}Invalid data
object
object
Example
{ "error": { "code": "not_found" }}No session, expired session, or invalid, expired or revoked API key
object
object
Example
{ "error": { "code": "not_found" }}Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)
object
object
Example
{ "error": { "code": "not_found" }}Does not exist or is not visible to you
object
object
Example
{ "error": { "code": "not_found" }}Conflict
object
object
Example
{ "error": { "code": "not_found" }}Internal error
object
object
Example
{ "error": { "code": "not_found" }}