Skip to main content

Get Token Whitelist

Retrieves all whitelisted addresses for a specific token with pagination.

Request

GET /v2/admin/kyc/tokens/{tokenID}/whitelist

Parameters

NameTypeInDescription
tokenIDstringpathRequired. The ID of the token
searchstringqueryOptional. Search by address
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/tokens/67d8774e903bfcbe7eb5d93e/whitelist?page=1&per_page=10' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'

Response

{
"data": [
{
"id": "67d8774e903bfcbe7eb5d93f",
"token_id": "67d8774e903bfcbe7eb5d93e",
"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"type": "whitelist",
"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 token address objects
paginationobjectPagination information

KYC Token Address Object Fields

FieldTypeDescription
idstringUnique identifier for the address entry
token_idstringID of the token
addressstringUser wallet address
typestringAddress type (always "whitelist" for this endpoint)
created_atstringISO 8601 timestamp when the address was added
updated_atstringISO 8601 timestamp when the address was updated
deleted_atstring/nullISO 8601 timestamp when the address was removed (null if not removed)

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
404Not Found - Token ID does not exist
500Internal Server Error