curl --request POST \
--url http://localhost:8080/users/{user_id}/complete_onboarding \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"address": {
"city": "Bengaluru",
"country": "IN",
"line1": "123, MG Road",
"line2": "Flat 4B, Sunrise Apartments",
"pincode": "560001",
"state": "Karnataka"
},
"dob": "2000-01-15",
"first_name": "<string>",
"gender": "male",
"last_name": "<string>",
"salutation": "mr",
"email": "<string>",
"id_proof": {
"number": "<string>",
"proof_type": "aadhaar"
}
}
'{
"access_token": "<string>",
"user": {
"phone_country_code": "<string>",
"phone_number": "<string>",
"status": "onboarding",
"user_id": "<string>",
"address": {
"city": "Bengaluru",
"country": "IN",
"line1": "123, MG Road",
"line2": "Flat 4B, Sunrise Apartments",
"pincode": "560001",
"state": "Karnataka"
},
"dob": "2000-01-15",
"email": "<string>",
"first_name": "<string>",
"gender": "male",
"last_name": "<string>"
}
}curl --request POST \
--url http://localhost:8080/users/{user_id}/complete_onboarding \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"address": {
"city": "Bengaluru",
"country": "IN",
"line1": "123, MG Road",
"line2": "Flat 4B, Sunrise Apartments",
"pincode": "560001",
"state": "Karnataka"
},
"dob": "2000-01-15",
"first_name": "<string>",
"gender": "male",
"last_name": "<string>",
"salutation": "mr",
"email": "<string>",
"id_proof": {
"number": "<string>",
"proof_type": "aadhaar"
}
}
'{
"access_token": "<string>",
"user": {
"phone_country_code": "<string>",
"phone_number": "<string>",
"status": "onboarding",
"user_id": "<string>",
"address": {
"city": "Bengaluru",
"country": "IN",
"line1": "123, MG Road",
"line2": "Flat 4B, Sunrise Apartments",
"pincode": "560001",
"state": "Karnataka"
},
"dob": "2000-01-15",
"email": "<string>",
"first_name": "<string>",
"gender": "male",
"last_name": "<string>"
}
}JWT access token. Obtain from /auth/otp/verify endpoint.
User ID
Structured address details for user profiles and insurance documents.
Show child attributes
"2000-01-15"
User gender.
male, female, other Title or honorific for a person.
mr, mrs, ms, master Show child attributes