Fetch all Sub-Entities

This endpoint retrieves a paginated list of all sub-entities (sub-institutions) belonging to the institution associated with the auth token.

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

Query Parameters

#Field NameData TypeRequiredDefaultDescription
1pageIntegerYes1Page number to retrieve (1-indexed)
2perPageIntegerYes20Number of records to return per page

Sample Request

GET {{host}}/api/v1/institutions/fetch/sub-entity?page=1&perPage=20

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 any applied filters
6dataArray of sub-entity objects
6.1data[].idUnique internal identifier of the sub-entity
6.2data[].institutionIdUnique internal ID of the parent institution
6.3data[].institutionCodeAlphanumeric code identifying the parent institution
6.4data[].nameDisplay name of the sub-entity
6.5data[].emailContact email address of the sub-entity
6.6data[].vaultIdVault identifier assigned to the sub-entity
6.7data[].kycStatusCurrent KYC verification status of the sub-entity
6.8data[].kycLevelKYC level of the sub-entity
6.9data[].enabledWhether the sub-entity is currently active
6.10data[].createdOnTimestamp of when the sub-entity was created
6.11data[].lastUpdatedOnTimestamp of the most recent update to the sub-entity record

Sample Response (Success)

{
  "page": 1,
  "perPage": 20,
  "message": "Success",
  "totalData": 45,
  "totalFilteredCount": 45,
  "data": [
    {
      "id": 12,
      "institutionId": 3,
      "institutionCode": "ACME001",
      "name": "Acme Sub-entity Alpha",
      "email": "[email protected]",
      "vaultId": "88",
      "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?