Profile
Complete User Profile After Firebase Registration
Completes user profile after Firebase registration and migrates temporary session data.
**Flow**:
1. User registers via Firebase Auth (createUserWithEmailAndPassword)
2. Frontend calls this endpoint with Firebase token + additional data
3. System creates enriched profile in Firestore
4. Migrates temporary session data (if exists)
5. Records tracking events
**Required Headers**:
- Authorization: Bearer {firebase_jwt_token}
**Data Collected**:
- How they found the platform (try_now, google_search, referral, etc.)
- Professional information (company, role)
- Marketing consents
- Referral code (if applicable)
post/complete-registration
Request
- Base URLhttps://api.jubjubapp.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Headers
authorizationstring
Firebase JWT token (Bearer token)
Request body
Example request
{
"user_source": "try_now"
}Response
Profile completed and session migrated successfully
Example response
{
"success": true,
"profile_id": "prof_abc123",
"message": "Profile completed successfully!"
}Changes
No recorded changes to this operation across all 1 revision of this API.