API reference

Get the click-to-call report

Paginated, filterable list of click-to-call bridges placed on the account.

POSThttps://nextgenpanel.cloudshope.com/api/v1/clickToCallApis/getClickToCallReport

Returns click-to-call records for the account, most recent first, with both legs' status and answer time. search matches the report id (exact) or either number; filter narrows by date range, status or agent.

Same request shape as the Outbound Call report — page / pageSize / search / filter.{from_date,till_date,status,agent_id}.

Errors on this endpoint return { "success": false, "message": "…" } or { "status": …, "message": "…" }, not the standard problem shape.

Authentication

Send Authorization: Bearer <token>. Any valid API token for the account works.

Body parameters

NameTypeRequiredDescription
pageintegerNo1-based page number. Defaults to 1.
pageSizeintegerNoRows per page, capped at 100. Defaults to 10.
searchstringNoMatches report id, to_number or from_number.
filter.from_datestring · IST date/timeNoStart of the date range.
filter.till_datestring · IST date/timeNoEnd of the date range.
filter.statusstringNoComma-separated statuses to include.
filter.agent_idstringNoComma-separated agent ids to include.

Request

curl -X POST https://nextgenpanel.cloudshope.com/api/v1/clickToCallApis/getClickToCallReport \
  -H "Authorization: Bearer cs_live_9f2c…" \
  -H "Content-Type: application/json" \
  -d '{ "page": 1, "pageSize": 10 }'

Response

{
  "status": 200,
  "message": "success",
  "data": [
    {
      "id": 5521,
      "to_number": "9876543210",
      "from_number": "9800000001",
      "from_number_status": "ANSWER",
      "to_number_status": "ANSWER",
      "status": "ANSWER",
      "from_answer_time": 3,
      "to_answer_time": 9,
      "credits": 2,
      "recording": "https://media.cloudshope.com/recordings/1/…wav",
      "cli_number": "9800000001",
      "remark": null,
      "reference": "order-4021",
      "created_at": "2026-09-08T09:20:41.000Z",
      "agent_id": 210,
      "agent_name": "Ravi Menon"
    }
  ],
  "Page": 1,
  "PageSize": 10,
  "recordsFiltered": 1,
  "recordsTotal": 1
}
200 — example response

Errors

StatusTypeWhen
500internal-errorSomething went wrong building the report.
401unauthorizedThe Authorization header is missing, malformed or the token is invalid or expired.
403forbiddenThe token is valid but the account is not allowed to perform this action.