Skip to content

Save the sign-up answers and the first task (can be changed later)

PATCH
/v1/brands/{brand}/onboarding
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" }'
brand
required
string
/^brd_[a-z0-9]{26}$/

Example

brd_01hx0000000000000000000000
Media typeapplication/json
object
answers

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
key
additional properties
nullable
firstTask

One of connect_provider, verify_domain, import_contacts, first_campaign, first_flow, invite_team; null removes it.

string
nullable

Example generated

{
"answers": {
"additionalProperty": "example"
},
"firstTask": "example"
}

Status updated

Media typeapplication/json
object
answers
required
object
source_platform
string
primary_goal
string
priority
string
firstTask
required

What the user chose as their first task: connect_provider, verify_domain, import_contacts, first_campaign, first_flow, invite_team.

string
nullable
steps
required

Each onboarding step: done or not.

object
key
additional properties
boolean
checklist
required

The four activation milestones, in order.

Array<object>
object
key
required
string
Allowed values: import_reviewed campaign_test_processed automation_tested first_value
reachedAt
required
string
nullable
blockedBy
required

Prerequisite steps still missing before this milestone.

Array<string>
dismissed
required

The getting-started checklist is hidden (bring it back with :restore).

boolean
migrationPaused
required

The migration email series is paused.

boolean
nextStep
required

The next step: the chosen first task if still pending, otherwise the first pending one in order.

string
nullable

Example

{
"checklist": [
{
"key": "import_reviewed"
}
]
}

Invalid data

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

No session, expired session, or invalid, expired or revoked API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Does not exist or is not visible to you

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Conflict

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}