Innocalls
Call CampaignSingle Call

List Single Calls

Retrieve individual call details and status

List Single Call

Details

Description

The "List" endpoint provides details for individual calls within a campaign.

HTTP Method GET
Endpoint URL

https://platform.innocalls.com/v1/api-gateway/call-campaign/single-call/list

Authorization

To access the API endpoints, you need to authenticate using API keys and API secrets. The API supports Basic Authentication for authorization. You need to include your API ID as the username and your API secret as the password in the HTTP header when making requests. Replace API_ID with your API ID and API_SECRET with your API secret, separated by a colon (:). The value after Basic is the Base64 encoding of your API key and API secret concatenated with a colon.

Rate Limit 3 requests per second

Request Parameters

ParameterDescriptionLocationConstrainsDefault Values
limitLimit of fetched rowsQueryOptional
Max: 100
10
page Page of rows to fetchQueryOptional
Min: 1
1
timezone Timezone for date conversionHeaderOptional Asia/Riyadh

Request Example


curl 'https://platform.innocalls.com/api/v1/api-gateway/call-campaign/single-call/list?page=1&limit=10' \
--header 'Content-Type: application/json' \
--header 'timezone: Asia/Riyadh' \
--header 'Authorization: Basic <base64-encoded string  apiId:apiSecret>'

Success Response Example

{
  "data": {
    "rows": [
      {
        "id": "65f03f3a19efa9d638053753",
        "status": "No Answer",
        "phone": "2012xxxxxxxx",
        "callerId": "2012xxxxxxxx",
        "callCampaignCallScenario": "call campaign name",
        "createdAt": "12-03-2022 02:40 PM",
        "cdrs": [
          {
            "id": "65f03f4c19efa9d638053783",
            "status": "failed",
            "trial": 1,
            "duration": 0,
            "callDate": "12-03-2022 02:40 PM",
            "callStatus": "No Answer"
          }
        ]
      }
    ],
    "totalItems": 1,
    "totalPages": 1
  }
}

Description

This JSON response confirms a successful retrieval of a list containing detailed information about each individual call within the call campaign. It offers comprehensive insights into every aspect of the calls conducted.

  • totalItems: Total number of single calls.
  • totalPages: Total pages of single call details.
  • rows: An array containing details of each individual call.
    • id: Unique identifier for the call.
    • status: Final Status of the call.
    • phone: Phone number dialed
    • callerId: Caller ID used for the call.
    • callCampaignCallScenario: Name of the call campaign.
    • createdAt: Represents the date and time when the call was created, formatted as "DD-MM-YYYY HH:MM AM/PM".
    • cdrs: An array containing details of each call trial.
      • id:Unique identifier for the call detail record.
      • status: Status of the call detail record.
      • trial: Number of trial attempts for the call.
      • duration: Duration of the call in seconds.
      • callDate: Represents the date and time when the call occurred, formatted as "DD-MM-YYYY HH:MM AM/PM".
      • callStatus : Status of the trial call.

Possible Errors

Error CodeDescription
401 UnauthorizedInvalid Credential
403 ForbiddenNot Enough Permissions to access the resource
429 Too Many RequestsThis occurs when requests exceed the rate limit
400 BadRequest

This error occurs due to malformed or invalid request parameters

On this page