curl --request GET \
--url http://localhost:8080/users/{user_id}/dependants \
--header 'Authorization: Bearer <token>'{
"data": [
{
"created_at": "<string>",
"date_of_birth": "2000-01-15",
"first_name": "<string>",
"gender": "male",
"id": "<string>",
"last_modified_at": "<string>",
"last_name": "<string>",
"primary_user_id": "<string>",
"relationship": "self",
"salutation": "mr",
"status": "active",
"previous_version_id": "<string>"
}
],
"limit": 123,
"offset": 123,
"total": 123
}curl --request GET \
--url http://localhost:8080/users/{user_id}/dependants \
--header 'Authorization: Bearer <token>'{
"data": [
{
"created_at": "<string>",
"date_of_birth": "2000-01-15",
"first_name": "<string>",
"gender": "male",
"id": "<string>",
"last_modified_at": "<string>",
"last_name": "<string>",
"primary_user_id": "<string>",
"relationship": "self",
"salutation": "mr",
"status": "active",
"previous_version_id": "<string>"
}
],
"limit": 123,
"offset": 123,
"total": 123
}JWT access token. Obtain from /auth/otp/verify endpoint.
User ID
Relationship of a dependant to the primary user.
self, spouse, mother, father, child, father_in_law, mother_in_law, sibling