Click2CallGetAgents¶
GET click2call/agents/list
Returns the manager-to-line links of the brand. Use it to see which managers can call
through INDIVIDUAL profiles and which ones would be rejected for having no line.
Access Control¶
Allowed role: admin, within the brand of the caller.
Request¶
GET request
GET https://{broker_domain}/click2call/agents/list?limit=50&where=%5B%5B%22profileId%22%2C%22%3D%22%2C4%5D%5D
Authorization: <JWT_TOKEN>
{
"command": "Click2CallGetAgents",
"extID": "1",
"data": {
"limit": 50,
"where": [
[
"profileId",
"=",
4
]
]
}
}
const res = await platform.Click2CallGetAgents({
limit: 50,
where: [
[
"profileId",
"=",
4
]
]
});
Request Data¶
| Field | Type | Required | Description |
|---|---|---|---|
limit |
int | No | Page size, 1..100, default 20 |
offset |
int | No | Rows to skip |
orderBy |
array | No | Sorting, for example ["id", "DESC"] |
count |
array | No | Row count aggregate, ["id"] |
where |
array | No | Conditions [field, operator, value], for example [["status", "=", "ENABLED"]]; other filter keys and the field rules are in List queries |
Response Data¶
{
"rows": [
{
"id": 12,
"brand": "default",
"managerId": 10,
"profileId": 4,
"externalIdentifier": "1042",
"status": "ENABLED",
"createdAt": "2026-08-24 13:10:02",
"updatedAt": null
}
]
}
Errors¶
| Code | Error | Description |
|---|---|---|
401 |
PERMISSION_DENIED |
Not an admin session |