module=chat, each agent includes their Chat role, divisions and inboxes; otherwise their CRM access.curl --location '/api/agents/v2' \
--header 'api_key: <api-key>'{
"success": true,
"data": [
{
"id": "1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
"name": "Admin Toko",
"email": "admin@example.com",
"is_verified": true,
"chat": {
"role": "super_agent",
"is_active": true,
"divisions": [],
"inboxes": []
}
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 1,
"total_pages": 1
}
}