Skip to main content

Policy Members

Returns a paginated list of all members (employees and their dependents) enrolled in a specific policy. You can filter by employee ID to retrieve only one employee's coverage entries.

Endpoint

GET /v1/policy/{policy_id}/members

Path Parameters

ParameterDescription
policy_idBizzAssure internal policy ID (from List Policies)

Request

Headers

HeaderValue
AuthorizationBearer YOUR_ACCESS_TOKEN

Query Parameters

ParameterTypeRequiredDescription
employee_idstringNoFilter results to a specific employee (and their dependents on this policy)
statusstringNoFilter by member status: ACTIVE, INACTIVE, or SUSPENDED
searchstringNoSearch by employee name or email
limitnumberNoNumber of results per page (default: 10)
start_cursorstringNoCursor for forward pagination (use end_cursor from the previous response)
last_cursorstringNoCursor for backward pagination (use start_cursor from the previous response)

Example — All members of a policy

GET /v1/policy/ba_pol_01k/members?status=ACTIVE&limit=50
Authorization: Bearer YOUR_ACCESS_TOKEN

Example — Members for a specific employee

GET /v1/policy/ba_pol_01k/members?employee_id=ba_emp_01jwz3k&limit=10
Authorization: Bearer YOUR_ACCESS_TOKEN

Response

Success (200 OK)

Each row in members represents a single covered person — either an employee or one of their dependents.

{
"payload": {
"members": [
{
"id": "ba_pmem_01...",
"client_id": "ba_client_abc...",
"policy_id": "ba_pol_01k...",
"employee_id": "ba_emp_01jwz3k...",
"dependent_id": null,
"endorsement_id": "ba_end_xyz...",
"insurer_member_id": "INS-MEM-00123",
"coverage_start_date": "2024-01-01",
"coverage_end_date": "2024-12-31",
"premium_amount": 12000.0,
"sum_insured": 300000.0,
"remaining_sum_insured": 285000.0,
"status": "active",
"employee_name": "Ravi Kumar",
"employee_email": "ravi.kumar@company.com",
"employee_dob": "1990-04-15",
"employee_gender": "MALE",
"employee_department": "Engineering",
"employee_designation": "Software Engineer"
},
{
"id": "ba_pmem_02...",
"client_id": "ba_client_abc...",
"policy_id": "ba_pol_01k...",
"employee_id": "ba_emp_01jwz3k...",
"dependent_id": "ba_dep_01k...",
"coverage_start_date": "2024-01-01",
"coverage_end_date": "2024-12-31",
"status": "active",
"employee_name": "Ravi Kumar",
"employee_email": "ravi.kumar@company.com"
}
],
"total_count": 2,
"start_cursor": "eyJpZCI6...",
"end_cursor": "eyJpZCI6...",
"has_previous": false,
"has_next": false,
"message": "Policy members retrieved successfully",
"success": true
}
}

Member Object Fields

FieldTypeDescription
idstringBizzAssure internal policy-member record ID
client_idstringClient/organisation ID
policy_idstringPolicy this member belongs to
employee_idstringBizzAssure internal employee ID
dependent_idstring?BizzAssure internal dependent ID — null if the row represents the employee themselves
endorsement_idstring?Endorsement that enrolled this member, if applicable
insurer_member_idstring?Member ID assigned by the insurer (available after insurer processes the endorsement)
coverage_start_datestringStart of coverage (YYYY-MM-DD)
coverage_end_datestringEnd of coverage (YYYY-MM-DD)
premium_amountnumber?Premium allocated to this member (INR)
sum_insurednumber?Sum insured for this member (INR)
remaining_sum_insurednumber?Remaining sum insured after claims (INR)
statusstringactive, inactive, or suspended
employee_namestringEmployee's full name
employee_emailstringEmployee's email address
employee_dobstringEmployee's date of birth (YYYY-MM-DD)
employee_genderstringEmployee's gender
employee_departmentstring?Employee's department
employee_designationstring?Employee's job title

Pagination Fields

FieldTypeDescription
total_countnumberTotal number of member rows matching the filter
start_cursorstringPass as last_cursor to paginate backward
end_cursorstringPass as start_cursor to get the next page
has_previousbooleantrue if there are earlier pages
has_nextbooleantrue if there are more pages after this one

Error Responses

Not Found (404)

{
"type": "NOT_FOUND",
"title": "Policy Not Found",
"detail": "No policy found with the given ID",
"instance": "/v1/policy/ba_pol_01k/members"
}

Unauthorized (401)

{
"type": "UNAUTHORIZED",
"title": "Unauthorized",
"detail": "Missing or invalid access token",
"instance": "/v1/policy/ba_pol_01k/members"
}