auth
Complete user profile
Complete or update user profile information. Requires authentication.
post/api/auth/complete-profile
Request body
Example request
{
"city": "Rome",
"commercial_communications_consent": true,
"country_of_residence": "Italy",
"date_of_birth": "1990-01-01",
"first_name": "John",
"gender": "male",
"gp_email": "mario.rossi@example.com",
"gp_first_name": "Mario",
"gp_last_name": "Rossi",
"gp_phone": "+39 333 1234567",
"home_address": "Via Example 123",
"how_did_you_hear_about_us": "Social media",
"last_name": "Doe",
"phone": "+39 123 456 7890",
"place_of_birth": "Rome",
"postal_code": "00100",
"province": "RM",
"registration_reason": "WANT_TO_START_JOURNEY",
"tax_code": "RSSMRA90A01H501X",
"tax_code_type": "italian",
"third_party_contact_email": "giulia.bianchi@example.com",
"third_party_contact_enabled": true,
"third_party_contact_first_name": "Giulia",
"third_party_contact_last_name": "Bianchi",
"third_party_contact_phone": "+39 333 7654321",
"third_party_contact_relationship": "Madre"
}Response
Successful Response
Example response
{
"message": "Profilo aggiornato con successo",
"user": {
"email": "user@example.com",
"first_name": "John",
"id": "123e4567-e89b-12d3-a456-426614174000",
"last_name": "Doe",
"phone": "+39 123 456 7890",
"place_of_birth": "Rome",
"roles": [
"patient"
]
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.