HomeGuidesAPI Reference
API Reference

Start Onboarding

Creates a new onboarding session for your client. You can optionally prefill client data by submitting a payload in the request body. The response includes a session token that you can append to the onboarding URL: https://actions.spektr.com/form?token={token} to direct your client to the onboarding flow. If using a custom domain, replace actions.spektr.com with your domain.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The ID of the onboarding process template

string
required

The ID of your workspace

Query Params
string

Your custom reference ID to track this onboarding session or it can be included in the data payload

Body Params
data
object

Client information to prefill in the onboarding forms (optional)

Headers
string

Optional unique key (1–255 chars) to ensure the request is processed only once. If a duplicate key is sent with the same request parameters, the original response is replayed. Replayed responses include the idempotent-replayed: true header.

string

Set to 'true' to have the server wait until the onboarding session is ready to accept a submission before responding, so the returned token can be submitted immediately without client-side polling. Defaults to false.

Responses

409

A request with this idempotency-key is currently being processed

422

idempotency-key has already been used with different request parameters

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json