Get All Contact Details Of Voice Campaigns-v2
Retrieves the current status and contact details of a voice campaign.| Method | POST |
|---|---|
| Endpoint | https://{{host}}/campaign/api/v2/public/{{streamId}}/campaign/{{campaignId}}/status?view=contacts |
| Content-Type | application/json |
| Authorization | auth: {{JWT}} See How to generate the JWT Token. |
| API Scope | Campaign Management |
Path Parameters
| Parameter | Description | Type |
|---|---|---|
host | Environment URL, for example, https://platform.kore.ai | string, required |
streamId | Bot ID or Stream ID. You can get it from the general settings page. | string, required |
campaignId | Unique identifier of the campaign to trigger. | string, required |
Query Parameter
| Parameter | Description | Type |
|---|---|---|
view | Value must be contacts to retrieve contacts only. | string, optional |
Sample Request
Headers
| Header | Description | Required/Optional |
|---|---|---|
auth | JWT token for authentication. | required |
iid | The Application Id. | required |
accountId | The Account Id. | required |
Body Parameters
| Parameter | Description | Type |
|---|---|---|
page | Page number for pagination. Must be an integer ≥ 1. Used to fetch a specific page of results. Validations: Must be a number, Must be an integer, Minimum value: 1 | number, optional |
limit | Maximum number of records per page. Must be an integer between 1 and 100. Validations: Must be a number, Must be an integer, Min: 1, Max: 100 | number, optional |
Sample Response
Response Parameters
| Parameter | Description | Type |
|---|---|---|
status | Indicates the success or failure of the request. | string |
data | Object containing paginated call attempt records. | object |
data.results | Array of call attempt results. | array |
data.results[].phoneNumber | Phone number that the system attempted to reach. | string |
data.results[].uniqueId | Unique identifier for the call attempt (if any). | string |
data.results[].dialerOutcome | Final outcome from the dialer (for example, completed, blank if in progress). | string |
data.results[].numberOfAttemptsSoFar | Number of call attempts made so far for the given number. | integer |
data.results[].botSessionId | Identifier for the bot session associated with the call. | string |
data.results[].agentDispositionCodes | List of agent-provided or system-generated disposition codes. | array |
data.results[].botOutboundStatus | Final status of the outbound interaction (for example, userHangUp, agentHangUp). | string |
data.results[].botOutboundStatusDetail | Additional detail about the outbound status. | string |
data.page | Current page number of the response. | integer |
data.limit | Maximum number of results per page. | integer |
data.totalPages | Total number of pages available. | integer |
data.totalResults | Total number of results across all pages. | integer |