Mark an onboarding step complete
POST /api/onboarding/step/{n}/complete
Marks a step from 1 through 7 complete when it is the current step or the next step. Invalid numbers and attempts to skip ahead return 422.
Authenticate with a portal session token.
Parameters
ninteger path required
Responses
200 Step progress updated.
application/json object
completedboolean requirednext_stepinteger requiredRange: 2 to 7stepinteger requiredRange: 1 to 7
Generated sample
{
"completed": true,
"next_step": 2,
"step": 1
}401 Missing or invalid bearer token.
application/json object
Any keys are accepted.
403 The caller does not meet the route requirements: accepted Terms of Service and Privacy Policy.
application/json object
Any keys are accepted.
422 Invalid step or attempt to skip ahead.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 The request was rate limited. API-generated responses are JSON;
Response headers
Retry-Afterstring headerSeconds to wait before retrying, when provided.
X-RateLimit-Scopestring headerIdentifies the scope of the request limit, when provided.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string