curl --location --request GET 'https://afyahealth.doctodoor.com:5600/api/service/v1/user/profile' \
--header 'Accept: application/json' \
--header 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3YjJkZmZlNWJmMjdlMzk1NTUzMjE0MyIsImVtYWlsIjoiZGVlcC5tYXJzb25pYUBwbGVuYXJ0ZWNoLmNvbSIsInN1YiI6IjY3YjJkZmZlNWJmMjdlMzk1NTUzMjE0MyIsImlhdCI6MTc0OTY0MjAwNiwiZXhwIjoxNzU3NDE4MDA2fQ.g8snnbceKqWwfhQ7lKdzebnlVq_bcYyRlDKR3GGWk8s' \
--header 'practice-code: DEFAULT' \
--header 'Content-Type: application/json'{
"error": false,
"status_code": 200,
"message": "",
"data": {
"user": {
"roles": [
{
"practice": {
"is_active": 1,
"is_deleted": 0,
"deleted_at": null,
"name": "DEFAULT Practice",
"code": "DEFAULT",
"created_at": "2025-01-06T10:51:41.279Z",
"updated_at": "2025-01-06T10:51:41.279Z",
"id": "677bb5bd4291b96cd0623e93"
},
"deleted_at": null,
"is_deleted": 0,
"name": "Master Admin",
"slug": "master_admin",
"created_at": "2025-01-06T10:51:41.298Z",
"updated_at": "2025-01-06T10:51:41.298Z",
"id": "677bb5bd4291b96cd0623e9e"
}
],
"is_master_admin": 1,
"is_deleted": 0,
"is_active": 1,
"deleted_at": null,
"language_code": "en",
"first_name": "Deep",
"middle_name": "",
"last_name": "Marsonia",
"full_name": "Deep Marsonia",
"email": "deep.marsonia@plenartech.com",
"created_at": "2025-01-06T10:51:41.439Z",
"updated_at": "2025-01-21T09:41:54.407Z",
"family_members": [
{
"_id": "678f6be2b92fcb53c701b2b1",
"name": "test2",
"gender": "male",
"birth_date": "2000-01-01T00:00:00.000Z"
}
],
"id": "677bb5bd4291b96cd0623eea"
}
}
}