Skip to main content

List All KYC Groups

Retrieves a paginated list of all KYC groups in the system.

Request

GET /v2/admin/kyc/groups

Parameters

NameTypeInDescription
searchstringqueryOptional. Search by group name
pageintegerqueryRequired. Page number (default: 1)
per_pageintegerqueryRequired. Items per page (default: 10, max: 100)

Headers

NameDescription
AuthorizationRequired. Bearer token for authentication

Example

curl --request GET \
--url '{{baseUrl}}/v2/admin/kyc/groups?page=1&per_page=10&search=Premium' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'

Response

{
"data": [
{
"id": "67d8774e903bfcbe7eb5d93e",
"group_id": 1,
"name": "Premium Investors",
"created_at": "2025-01-15T10:30:00.000Z",
"updated_at": "2025-01-15T10:30:00.000Z",
"deleted_at": null
},
{
"id": "67d8774e903bfcbe7eb5d93f",
"group_id": 2,
"name": "Standard Users",
"created_at": "2025-01-16T11:00:00.000Z",
"updated_at": "2025-01-16T11:00:00.000Z",
"deleted_at": null
}
],
"pagination": {
"page": 1,
"per_page": 10,
"total": 2
}
}

Response Fields

FieldTypeDescription
dataarrayArray of KYC group objects
paginationobjectPagination information
pagination.pageintegerCurrent page number
pagination.per_pageintegerNumber of items per page
pagination.totalintegerTotal number of items

KYC Group Object Fields

FieldTypeDescription
idstringUnique identifier for the KYC group
group_idintegerNumeric group identifier
namestringName of the KYC group
created_atstringISO 8601 timestamp when the group was created
updated_atstringISO 8601 timestamp when the group was updated
deleted_atstring/nullISO 8601 timestamp when the group was deleted (null if not deleted)

Status Codes

Status CodeDescription
200Success
400Bad Request - Invalid parameters
401Unauthorized - Invalid or missing authentication token
500Internal Server Error