Fetch Sub-Entities Profile (Paginated)

This endpoint retrieves a paginated list of sub-entity profiles belonging to the institution associated with the auth token. It supports filtering by name, KYC status, KYC level, and active status.

GET {{host}}/api/v1/institutions/profile/sub-entity

Query Parameters

#Field NameData TypeRequiredDefaultDescription
1pageIntegerYes1Page number to retrieve (1-indexed)
2perPageIntegerYes20Number of records to return per page
3nameStringNo-Filter by sub-entity name (partial or full match)
4kycStatusStringNo-Filter by KYC verification status
5kycLevelStringNo-Filter by KYC level
6enabledBooleanNo-Filter by active status (true or false)

Sample Request

GET {{host}}/api/v1/institutions/profile/sub-entity?page=1&perPage=20&kycStatus=APPROVED&enabled=true

Response Message Field Description

#Field NameDescription
1pageThe current page number returned
2perPageNumber of records per page
3messageHuman-readable result message
4totalDataTotal number of sub-entity records across all pages
5totalFilteredCountTotal number of records matching the applied filters
6dataArray of sub-entity objects

Sample Response (Success)

{
  "page": 1,
  "perPage": 20,
  "message": "Success",
  "totalData": 45,
  "totalFilteredCount": 12,
  "data": [
    {
      "id": 78,
      "institutionId": 3,
      "institutionCode": "ACME001",
      "name": "Acme Sub-entity Alpha",
      "email": "[email protected]",
      "vaultId": "94",
      "kycStatus": "APPROVED",
      "kycLevel": "TIER_2",
      "enabled": true,
      "createdOn": "2025-12-01T09:00:00",
      "lastUpdatedOn": "2026-02-10T14:30:00"
    }
  ]
}

Sample Response (Failure)

{
  "success": false,
  "responseCode": "401",
  "responseMessage": "Unauthorized"
}

Did this page help you?