Skip to content
Sign in Create account

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

  • n integer path required

Responses

200 Step progress updated.

application/json object

  • completed boolean required
  • next_step integer required
    Range: 2 to 7
  • step integer required
    Range: 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

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 The request was rate limited. API-generated responses are JSON;

Response headers

  • Retry-After string header

    Seconds to wait before retrying, when provided.

  • X-RateLimit-Scope string header

    Identifies the scope of the request limit, when provided.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string