We are currently in beta. If you have any feedback, please email us at tech@unyte.africa or learn more about our product at https://unyte.africa
curl --request GET \
--url https://dev.superpool.unyte.africa/api/v1/customers/{id}/policies/ \
--header 'X-API-Key: <api-key>'
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100",
"results": [
{
"data": [
{
"policy_id": "24708b5a-10de-4364-8ea4-0249d9118a84",
"policy_type": "Travel",
"status": "active",
"start_date": "2025-01-23",
"end_date": "2026-01-23",
"premium_amount": "4724.93"
},
{
"policy_id": "136defb6-76b3-4974-845e-26c382fd266b",
"policy_type": "Auto",
"status": "active",
"start_date": "2025-01-23",
"end_date": "2026-01-23",
"premium_amount": "1000.00"
},
{
"policy_id": "ddd644cc-e418-43e6-9b53-7a717a23b24c",
"policy_type": "Gadget",
"status": "active",
"start_date": "2025-01-23",
"end_date": "2026-01-23",
"premium_amount": "100000.00"
},
{
"policy_id": "d4db8ec7-67fc-44d2-8b32-a67649b9373d",
"policy_type": "Gadget",
"status": "active",
"start_date": "2025-01-23",
"end_date": "2026-01-23",
"premium_amount": "100000.00"
},
{
"policy_id": "e137b581-01f9-45f6-be62-e576ab466f41",
"policy_type": "Travel",
"status": "active",
"start_date": "2025-01-23",
"end_date": "2026-01-23",
"premium_amount": "4724.93"
}
]
}
]
}
This endpoint returns a list of all active policies associated with the customer. Filters are available to query by active, inactive, or expired policies.
curl --request GET \
--url https://dev.superpool.unyte.africa/api/v1/customers/{id}/policies/ \
--header 'X-API-Key: <api-key>'
{
"count": 123,
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100",
"results": [
{
"data": [
{
"policy_id": "24708b5a-10de-4364-8ea4-0249d9118a84",
"policy_type": "Travel",
"status": "active",
"start_date": "2025-01-23",
"end_date": "2026-01-23",
"premium_amount": "4724.93"
},
{
"policy_id": "136defb6-76b3-4974-845e-26c382fd266b",
"policy_type": "Auto",
"status": "active",
"start_date": "2025-01-23",
"end_date": "2026-01-23",
"premium_amount": "1000.00"
},
{
"policy_id": "ddd644cc-e418-43e6-9b53-7a717a23b24c",
"policy_type": "Gadget",
"status": "active",
"start_date": "2025-01-23",
"end_date": "2026-01-23",
"premium_amount": "100000.00"
},
{
"policy_id": "d4db8ec7-67fc-44d2-8b32-a67649b9373d",
"policy_type": "Gadget",
"status": "active",
"start_date": "2025-01-23",
"end_date": "2026-01-23",
"premium_amount": "100000.00"
},
{
"policy_id": "e137b581-01f9-45f6-be62-e576ab466f41",
"policy_type": "Travel",
"status": "active",
"start_date": "2025-01-23",
"end_date": "2026-01-23",
"premium_amount": "4724.93"
}
]
}
]
}
View customer's active policies
The response is of type object
.