Skip to main content

Get KYC Groups

Retrieves a list of all KYC groups with pagination.

Request

GET /v2/admin/kyc/groups

Parameters

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

Headers

NameDescription
AuthorizationRequired. Bearer token for authentication

Example

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

Response

{
"data": [
{
"id": "67d8774e903bfcbe7eb5d93e",
"group_id": 1,
"name": "Verified Users",
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z",
"deleted_at": null
}
],
"pagination": {
"page": 1,
"per_page": 10,
"total": 25
}
}

Response Fields

FieldTypeDescription
dataarrayArray of KYC group objects
paginationobjectPagination information

KYC Group Object Fields

FieldTypeDescription
idstringUnique identifier for the KYC group
group_idintegerGroup ID number
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)

Pagination Object Fields

FieldTypeDescription
pageintegerCurrent page number
per_pageintegerNumber of items per page
totalintegerTotal number of items

Status Codes

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