Skip to content

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=%7B%22profileId%22%3A4%7D
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..1000, default 100
offset int No Rows to skip
orderBy array No Sorting, for example ["id", "DESC"]
count array No Row count aggregate, ["id"]
where object No Filters, see Table filter syntax

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