Click2CallGetBlacklist¶
GET click2call/blacklist/list
Returns the do-not-call entries of the brand: number, where the block came from, why, and when it expires.
Expired entries stay in the table as history — they no longer block, and filtering by
expiresAt separates the two.
Access Control¶
Allowed roles: admin, leader.
Request¶
GET request
GET https://{broker_domain}/click2call/blacklist/list?limit=100&orderBy=%5B%22id%22%2C%22DESC%22%5D&count=%5B%22id%22%5D
Authorization: <JWT_TOKEN>
{
"command": "Click2CallGetBlacklist",
"extID": "1",
"data": {
"limit": 100,
"orderBy": [
"id",
"DESC"
],
"count": [
"id"
]
}
}
const res = await platform.Click2CallGetBlacklist({
limit: 100,
orderBy: [
"id",
"DESC"
],
count: [
"id"
]
});
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": 31,
"brand": "default",
"phone": "380950000000",
"countryCode": "380",
"countryIso": "UA",
"source": "CUSTOMER_REQUEST",
"reason": "Customer asked not to be contacted",
"expiresAt": null,
"createdAt": "2026-08-24 13:44:02",
"createdBy": 10
}
],
"count": [ { "id": 1 } ]
}
Errors¶
| Code | Error | Description |
|---|---|---|
401 |
PERMISSION_DENIED |
Session may not read the blacklist |