Finish account setup
POST
Finishes account setup with your workspace name, billing currency and optional referral code.
Access: User session: owner of the signup workspace. API keys aren't supported.
- A referral captured during signup is kept. Add a manual code before your first purchase.
- Repeated requests return the saved setup result. They do not rename the workspace or change preferences.
- If this account does not need onboarding, use workspace and account settings instead (
409). - IDR must be enabled. Setup does not add credit or create a VPS.
- Browser requests need the Layerbeat origin and
X-CSRF-Token.
header
AuthorizationBearer <token>Send Authorization: Bearer <token>. A token is an API key (lb_live_…, scoped, for programs) or a session (lb_sess_…, from signup or login, for people). See Authentication above.
X-Org-ID?stringSessions only: act on this organization (you must be a member). Default: your first organization.
application/json- body
org_name*stringInitial workspace name, trimmed; maximum 100 UTF-8 bytes.
Length
1 <= length <= 100billing_currency*stringValue in
"USD""IDR"referral_code?stringOptional eight-character code; historical referral links remain accepted.
Length
length <= 30Setup completed or original completion replayed
application/json- response
required*booleanorganization*|nullreferral_code*string|nullcurl -X POST 'https://layerbeat.com/v1/me/onboarding' \ -H 'Content-Type: application/json' \ -d '{ "org_name": "My studio", "billing_currency": "USD", "referral_code": "K7M4Q9TR"}'{ "required": false, "organization": { "id": "org_5hxk2m7p4wq3z6tfjn8r9bcdva", "name": "My studio" }, "referral_code": "K7M4Q9TR"}