cursor | string or null Pagination Cursor |
campaignId | integer or null Campaign unique identifier |
leadId | integer or null Lead unique identifier |
createdTimestampFrom | string or null Filter for start call datetime (not earlier than) |
createdTimestampTo | string or null Filter for start call datetime (not later than) |
activityType | string or null Limit output to specified activity type |
Generic example
{- "metadata": {
- "nextUri": "/v3.0/activities?cursor=JHfgd37"
}, - "items": [
- {
- "type": "call.inbound",
- "data": {
- "durations": {
- "ivr": 5,
- "queue": 10,
- "hold": 5,
- "interaction": 30,
- "wrap": 20,
- "talk": 10
}, - "timestamps": {
- "created": "2020-07-06T13:11:06+1000",
- "joinQueue": "2020-07-06T13:11:11+1000",
- "answered": "2020-07-06T13:11:21+1000",
- "hangUp": "2020-07-06T13:35:00+1000",
- "wrapUp": "2020-07-06T13:36:21+1000"
}, - "activityId": 100,
- "parentActivityId": 99,
- "rootActivityId": 98,
- "activityStatusId": 3,
- "activityStatusName": "Answered",
- "source": "+61499999999",
- "destination": "+6129000000",
- "campaignId": 1,
- "campaignName": "Support Inbound",
- "agentInteractionId": 10,
- "agentId": 1002,
- "agentFullName": "John Doe",
- "wrapCode": 26,
- "wrapDescription": "Sale",
- "recordingStatus": "enabled",
- "recordingMetadata": {
- "mediaId": 100,
- "mediaUri": "/v3.0/media/100",
- "duration": 30,
- "deleted": false
}, - "voicemailMetadata": [
- {
- "mediaId": 101,
- "mediaUri": "/v3.0/media/101",
- "duration": 19
}, - {
- "mediaId": 102,
- "mediaUri": "/v3.0/media/102",
- "duration": 10
}
], - "survey": {
- "started": true,
- "startTimestamp": "2020-07-06T13:35:01+1000",
- "workflowId": 1,
- "workflowName": "My Workflow"
}, - "callQualityScore": 5
}
}, - {
- "type": "call.outbound",
- "data": {
- "attemptId": 999,
- "dialStatusId": 1,
- "dialStatusName": "Answered",
- "phoneIndex": 1,
- "phoneNumber": "+61499999999",
- "leadId": 9999,
- "durations": {
- "dial": 5,
- "interaction": 30
}, - "timestamps": {
- "created": "2020-07-06T15:11:06+10:00",
- "answered": "2020-07-06T15:11:21+10:00",
- "hangUp": "2020-07-06T15:35:00+10:00",
- "wrapUp": "2020-07-06T15:36:21+10:00"
}, - "activityId": 110,
- "parentActivityId": 109,
- "rootActivityId": 108,
- "activityStatusId": 3,
- "activityStatusName": "Answered",
- "source": "+6129000000",
- "destination": "+61499999999",
- "campaignId": 2,
- "campaignName": "Sales Outbound",
- "agentInteractionId": 20,
- "agentId": 1002,
- "agentFullName": "John Doe",
- "wrapCode": 28,
- "wrapDescription": "Contact",
- "recordingStatus": "enabled",
- "recordingMetadata": {
- "mediaId": 110,
- "mediaUri": "/v3.0/media/110",
- "duration": 38,
- "deleted": false
}, - "voicemailMetadata": [
- {
- "mediaId": 111,
- "mediaUri": "/v3.0/media/111",
- "duration": 29
}, - {
- "mediaId": 112,
- "mediaUri": "/v3.0/media/112",
- "duration": 36
}
], - "survey": {
- "started": true,
- "startTimestamp": "2020-07-06T15:35:01+10:00",
- "workflowId": 1,
- "workflowName": "My Workflow"
}
}
}
]
}
activityId required | integer Activity unique identifier |
Generic example
{- "type": "call.inbound",
- "data": {
- "durations": {
- "ivr": 5,
- "queue": 10,
- "hold": 5,
- "interaction": 30,
- "wrap": 20,
- "talk": 10
}, - "timestamps": {
- "created": "2020-07-06T13:11:06+1000",
- "joinQueue": "2020-07-06T13:11:11+1000",
- "answered": "2020-07-06T13:11:21+1000",
- "hangUp": "2020-07-06T13:35:00+1000",
- "wrapUp": "2020-07-06T13:36:21+1000"
}, - "activityId": 100,
- "parentActivityId": 99,
- "rootActivityId": 98,
- "activityStatusId": 3,
- "activityStatusName": "Answered",
- "source": "+61499999999",
- "destination": "+6129000000",
- "campaignId": 1,
- "campaignName": "Support Inbound",
- "agentInteractionId": 10,
- "agentId": 1002,
- "agentFullName": "John Doe",
- "wrapCode": 26,
- "wrapDescription": "Sale",
- "recordingStatus": "enabled",
- "recordingMetadata": {
- "mediaId": 100,
- "mediaUri": "/v3.0/media/100",
- "duration": 30,
- "deleted": false
}, - "voicemailMetadata": [
- {
- "mediaId": 101,
- "mediaUri": "/v3.0/media/101",
- "duration": 19
}, - {
- "mediaId": 102,
- "mediaUri": "/v3.0/media/102",
- "duration": 10
}
], - "survey": {
- "started": true,
- "startTimestamp": "2020-07-06T13:35:01+1000",
- "workflowId": 1,
- "workflowName": "My Workflow"
}, - "callQualityScore": 5
}
}
cursor | string or null Pagination cursor |
campaignId | integer or null Campaign unique identifier |
campaignType | string or null Type of campaign |
Generic example
{- "pageNo": 0,
- "inPage": 1,
- "perPage": 50,
- "data": [
- {
- "campaignId": 1,
- "campaignTitle": "The Campaign",
- "campaignDescription": "This is a test campaign",
- "campaignType": "Outbound",
- "campaignGroupName": "Group 1",
- "isRunning": false,
- "allowTransferToAnyPhone": true,
- "ipScapePayDetails": {
- "paySettingsId": 1,
- "merchantAlias": "Example merchant"
}
}
]
}
campaignId required | integer Campaign unique identifier |
Generic example
{- "campaignId": 1,
- "campaignName": "Support Outbound",
- "agents": {
- "assigned": 89,
- "available": 2,
- "busy": 55,
- "paused": 12
}, - "isActive": true,
- "createdDate": "2020-07-06T13:55:06+10:00",
- "lastUpdated": "2020-07-06T13:55:06+10:00",
- "lists": [
- {
- "id": 1,
- "name": "List One",
- "campaignId": 99,
- "campaignName": "Campaign Ninty Nine",
- "inDialler": true,
- "weight": 1,
- "timestamps": {
- "created": "2020-07-06T13:55:06+10:00"
}
}
], - "timestamp": "2021-08-01T13:55:06+10:00",
- "timezone": "Australia/Sydney"
}
campaignId required | integer Campaign unique identifier |
period | string or null Statistic Period (hour, day) hour is a default value |
Generic example
{- "campaignId": 1,
- "campaignName": "Support Inbound",
- "maxCallWaitingTime": 18,
- "averageWaitingTime": 9,
- "estimatedCallWaitingTime": 270,
- "agents": {
- "assigned": 89,
- "available": 2,
- "busy": 55,
- "paused": 12
}, - "callsWaiting": 0,
- "callsReceived": 2,
- "callsAbandonedInWorkflow": 0,
- "callsAbandonedInQueue": 0,
- "timestamp": "2020-07-06T13:55:06+10:00",
- "timezone": "Australia/Sydney"
}
mediaId required | integer Media unique identifier |
Generic example
{- "mediaId": 5364,
- "mediaUri": "/platform-api/v3.0/media/5364",
- "duration": 9,
- "deleted": true,
- "deletedTimestamp": "2023-11-14T09:37:10+11:00",
- "deletedBy": 1059,
- "deletionReason": "Removal reason"
}
Generic example
{- "leadId": 999,
- "campaignId": 2,
- "campaignName": "Sales Outbound",
- "listId": 100,
- "listName": "List One",
- "timezone": "Australia/Sydney",
- "completed": false,
- "customerKey": "10000001",
- "agentId": 1002,
- "agentFullName": "John Doe",
- "dataFields": {
- "state": "NSW",
- "age": 25,
- "name": "Jack Sparrow"
}, - "lastStatusCode": 3,
- "lastStatusDescription": "Abandoned",
- "phones": [
- {
- "phone": "+61410000000",
- "phoneIndex": 1,
- "completed": false
}
], - "outcomeType": "preview",
- "outcomesInfo": {
- "totalAttempts": 1,
- "outcomesByCode": {
- "count": 1,
- "statusCode": 3,
- "description": "Abandoned"
}
}, - "timestamps": {
- "created": "2020-07-06T13:55:06+10:00",
- "modified": "2020-07-06T15:55:06+10:00",
- "nextAttempt": "2020-07-07T13:00:00+10:00"
}
}
leadId required | integer Lead Id |
Update lead details
listId | integer or null List Id |
customerKey | string or null Customer Key |
timezone | string or null Time Zone |
phone1 | string or null Phone 1 |
phone2 | string or null Phone 2 |
phone3 | string or null Phone 3 |
isCompleted | boolean or null Whether to complete lead or no. Note: lead can only be completed. It can not be marked as non completed. |
leadData | object or null Lead Data |
statusCode | integer or null Status code |
agentId | integer or null Agent Id |
nextAttemptTimestamp | string or null Next Attempt Timestamp |
{- "listId": 0,
- "customerKey": "string",
- "timezone": "string",
- "phone1": "string",
- "phone2": "string",
- "phone3": "string",
- "isCompleted": true,
- "leadData": { },
- "statusCode": 0,
- "agentId": 0,
- "nextAttemptTimestamp": "string"
}
Bulk Lead Create
Array of objects or null (RequestCreateLead) Lead Data |
{- "leads": [
- {
- "listId": 0,
- "customerKey": "string",
- "timezone": "string",
- "phone1": "string",
- "phone2": "string",
- "phone3": "string",
- "nextAttemptTimestamp": "2019-08-24T14:15:22Z",
- "leadData": { },
- "statusCode": 0,
- "agentId": 0
}
]
}
{- "uuid": "string",
- "status": "string"
}
cursor | string Pagination Cursor |
campaignId | integer Campaign unique identifier |
Generic example
{- "metadata": {
- "nextUri": "/v3.0/leads/lists?cursor=eyJpZCI6",
- "previousUri": "/v3.0/leads/lists?cursor=iS78upQ"
}, - "items": [
- {
- "id": 1,
- "name": "List One",
- "campaignId": 99,
- "campaignName": "Campaign Ninty Nine",
- "inDialler": true,
- "weight": 1,
- "timestamps": {
- "created": "2020-07-06T13:55:06+10:00"
}
}
]
}
Create lead list
listName required | string List name |
campaignId required | integer Campaign id of list |
{- "listName": "string",
- "campaignId": 0
}
{- "listName": "string",
- "campaignId": 0,
- "listId": 0
}
Generic example
{- "id": 1,
- "name": "List One",
- "campaignId": 99,
- "campaignName": "Campaign Ninty Nine",
- "inDialler": true,
- "weight": 1,
- "timestamps": {
- "created": "2020-07-06T13:55:06+10:00"
}
}
cursor | string or null Pagination Cursor |
campaignId | integer or null Campaign unique identifier |
listId | integer or null List unique identifier |
statusCode | integer or null status code identifier |
uploadedTimestampFrom | string or null Filter for uploaded lead datetime (not earlier than) |
uploadedTimestampTo | string or null Filter for uploaded lead datetime (not later than) |
customerKey | string or null External id field |
phone1 | string or null Filter for phone1 (in E164 format) |
Generic example
{- "metadata": {
- "nextUri": "/v3.0/leads?cursor=eyJpZCI6",
- "previousUri": "/v3.0/leads?cursor=iS78upQ"
}, - "items": [
- {
- "leadId": 999,
- "campaignId": 2,
- "campaignName": "Generic Outbound",
- "listId": 100,
- "listName": "List One",
- "timezone": "Australia/Sydney",
- "completed": false,
- "customerKey": "10000001",
- "agentId": 1002,
- "agentFullName": "John Doe",
- "dataFields": {
- "state": "NSW",
- "age": 25,
- "name": "George Washington"
}, - "lastStatusCode": 3,
- "lastStatusDescription": "Abandoned",
- "phones": [
- {
- "phone": "+61410000000",
- "phoneIndex": 1,
- "completed": false
}
], - "outcomeType": "preview",
- "outcomesInfo": {
- "totalAttempts": 1,
- "outcomesByCode": {
- "count": 1,
- "statusCode": 3,
- "description": "Abandoned"
}
}, - "timestamps": {
- "created": "2020-07-06T13:55:06+10:00",
- "modified": "2020-07-06T15:55:06+10:00",
- "nextAttempt": "2020-07-07T13:00:00+10:00"
}
}
]
}
Create lead
listId required | integer List Id |
customerKey | string or null Customer Key |
timezone | string or null Time Zone |
phone1 | string or null Phone 1 |
phone2 | string or null Phone 2 |
phone3 | string or null Phone 3 |
nextAttemptTimestamp | string or null <date-time> Scheduled date and time for attempt |
leadData | object or null Lead Data |
statusCode | integer or null Status code |
agentId | integer or null Agent Id |
{- "listId": 0,
- "customerKey": "string",
- "timezone": "string",
- "phone1": "string",
- "phone2": "string",
- "phone3": "string",
- "nextAttemptTimestamp": "2019-08-24T14:15:22Z",
- "leadData": { },
- "statusCode": 0,
- "agentId": 0
}
{- "leadId": 0,
- "inDialler": true
}
phoneNumber | string or null Phone Number |
emailAddress | string or null Email Address |
{- "callData": {
- "activitiesOverwritten": 0,
- "callResultsOverwritten": 0,
- "ivrActivitiesDeleted": 0,
- "ivrLogsDeleted": 0,
- "voiceRecordingsDeleted": 0
}, - "emailData": {
- "outboundEmailsOverwritten": 0,
- "inboundEmailsOverwritten": 0,
- "emailAttachmentsDeleted": 0,
- "chatTranscriptsDeleted": 0,
- "chatAttachmentsDeleted": 0
}, - "leadData": {
- "leadsDeleted": 0,
- "leadsDeletedFromDialCurrent": 0,
- "leadDetailsDeleted": 0,
- "leadCaptureDetailsDeleted": 0
}
}
cursor | string or null Pagination Cursor |
userType | string or null The type of user (agent/user) |
accountActive | boolean or null Whether the user account is active or not |
{- "metadata": {
- "nextUri": "string",
- "previousUri": "string"
}, - "items": [
- {
- "userId": 0,
- "userTimezone": "string",
- "firstName": "string",
- "lastName": "string",
- "username": "string",
- "isLoggedIn": true,
- "userType": "string",
- "email": "string",
- "teams": "string",
- "assignedCampaigns": "string",
- "status": "string",
- "timeInStatus": "string",
- "accountIsActive": true
}
]
}
Update agent presence
agentId required | integer Agent Id |
available required | boolean Available |
{- "agentId": 0,
- "available": true
}
{- "agentId": 0,
- "available": true
}
cursor | string or null Pagination Cursor |
campaignId | integer or null Campaign unique identifier |
leadId | integer or null Lead unique identifier |
dialledTimestampFrom | string or null Filter for start call datetime (not earlier than) |
dialledTimestampTo | string or null Filter for start call datetime (not later than) |
Generic example
{- "metadata": {
- "nextUri": "/v3.0/calls/dialler?cursor=JHfgd37"
}, - "items": [
- {
- "attemptId": 999,
- "dialStatusId": 1,
- "dialStatusName": "Answered",
- "phoneIndex": 1,
- "phoneNumber": "+61499999999",
- "leadId": 9999,
- "timestamps": {
- "dialled": "2020-07-06T15:11:06+10:00",
- "answered": "2020-07-06T15:11:21+10:00",
- "hangUp": "2020-07-06T15:35:00+10:00"
}, - "type": "call.outbound",
- "campaignId": 2,
- "campaignName": "Sales Outbound",
- "activityId": 110,
- "parentActivityId": 109,
- "rootActivityId": 108
}
]
}
attemptId required | integer Attempt Unique Identifier |
Generic example
{- "attemptId": 999,
- "dialStatusId": 1,
- "dialStatusName": "Answered",
- "phoneIndex": 1,
- "phoneNumber": "+61499999999",
- "leadId": 9999,
- "timestamps": {
- "dialled": "2020-07-06T15:11:06+10:00",
- "answered": "2020-07-06T15:11:21+10:00",
- "hangUp": "2020-07-06T15:35:00+10:00"
}, - "type": "call.outbound",
- "campaignId": 2,
- "campaignName": "Sales Outbound",
- "activityId": 110,
- "parentActivityId": 109,
- "rootActivityId": 108
}
Start/stop Call Recording
agentId required | integer Agent id |
recording required | boolean Recording status pause/start |
{- "agentId": 0,
- "recording": true
}
{- "agentId": 0,
- "recording": true
}