GET /api/agents/v2 to search, sort, or filter by Chat or CRM access.curl --location '/api/agents' \
--header 'api_key: <api-key>'{
"success": true,
"data": [
{
"id": "1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
"name": "Admin Toko",
"email": "admin@example.com",
"role": "super_agent",
"is_online": true,
"created_at": "2026-01-15T10:20:11.482",
"division": [
{
"id": "2a3b4c5d-6e7f-4a8b-9c0d-1e2f3a4b5c6d",
"name": "Sales"
}
]
}
],
"metadata": {
"pagination": {
"current_page": 1,
"total_page": 1,
"total_items": 1
}
}
}