Register domain user (on-order GUID or VIN)
Creates a new user. Validates coach against the order API. Triggers auth IdP sign-up with sendOnSignUp and requireEmailVerification: a verification email is sent automatically; the client must complete verification before email/password sign-in succeeds (typically 403 until verified). No Set-Cookie on this response. Domain users.verified is set when verification completes (afterEmailVerification). Use method: "guid" for builds in progress (ownershipStatus: on_order); use method: "vin" for delivered units (ownershipStatus: current_owner).
Request
- Base URL: https://api.leisurevans.com
- URL: https://api.leisurevans.com/users/register
- Auth: none required
Request body
Response
User registered; verification email sent. Response body is { data: { user, emailVerificationRequired: true }, requestId } with no session cookies until the user verifies and signs in via auth IdP.
Example response
{
"data": {
"user": {
"id": "9b7a3e18-9eaf-4e0c-97f7-2f5b59a8f6c0",
"email": "owner@example.com",
"firstName": "Avery",
"lastName": "Morgan",
"coachGuid": "coach-guid-example",
"ownershipStatus": "on_order",
"product": {
"model": "Unity",
"floorplan": "FX",
"year": "2026",
"vin": null
},
"profile": {
"coachNickname": "Rolling Zephyr"
}
},
"emailVerificationRequired": true
},
"requestId": "0d8b5744-7544-4bb0-8f95-65be635315d8"
}Changes
No recorded changes to this operation across all 1 revision of this API.