Auth
Open registration without access code
Pass ?paywallFlow=v2 from app builds that ship the new store-paywall trial flow. Older app builds that omit it keep getting the automatic no-card open trial unchanged.
post/api/auth/register-open
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/auth/register-open
- Authnone declared
Query parameters
paywallFlowstring required
Request body
Example request
{
"email": "user@example.com",
"password": "Password1",
"firstName": "Jane",
"lastName": "Doe",
"phone": "+15551234567",
"country": "US",
"termsAccepted": true,
"privacyAccepted": true,
"aiDisclosureAccepted": true,
"ageConfirmed": true,
"healthDataConsentAccepted": true
}Response
unknown required
Example response
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"user": {
"id": 8,
"email": "open@example.com",
"role": "lead"
}
}Changes
No recorded changes to this operation across all 34 revisions of this API.