| Method | GET |
|---|---|
| Endpoint | https://{{host}}/campaign/api/v2/public/{{streamId}}/campaign/{{campaignId}}?accountId={{accountId}} |
| 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 ID of the campaign to be updated. For example: cd-ed19e3c7-3682-5e72-a839-af9e0711xxxx | string, required |
Sample Request
Headers
| Header | Description | Required/Optional |
|---|---|---|
auth | JWT token for authentication. | required |
iid | The Application Id. | required |
accountId | The Account Id. | required |
Sample Response
Response Parameters
| Parameter | Description | Type |
|---|---|---|
status | Overall status of the API response. Example: "success" | string |
message | Response message indicating the result of the request. | string |
data | Contains the campaign details. | object |
data._id | Unique identifier of the campaign. | string |
data.name | Campaign name (title-cased). | string |
data.lname | Lowercased campaign name. | string |
data.description | Detailed description of the campaign purpose and behavior. | string |
data.dncLists | Contains the contact lists added under the Do Not Call (DNC) list. | object |
data.dncLists.id | Unique identifier of the contact list in the DNC list. | string (UUID) |
data.dncLists.name | The name of the contact list included in the DNC list. | string |
data.status | Current status of the campaign. Example: "Ready" | string |
data.priority | Priority level assigned to the campaign. | string |
data.dialingStrategy | Configuration for dialing or communication strategy. | object |
data.dialingStrategy.callerId.phoneNumber | Phone number used as the caller ID or sender ID. | string |
data.dialingStrategy.callingHours | Campaign’s operating schedule. | object |
data.dialingStrategy.callingHours.frequency | Frequency for running the campaign. Example: "WEEKLY" | string |
data.dialingStrategy.callingHours.timezone | Time zone for the calling hours. | string |
data.dialingStrategy.callingHours.days | Days and time range when the campaign is active. | array of object |
data.dialingStrategy.callingHours.days[].day | Day of the week when campaign runs. Example: "MO" | string |
data.dialingStrategy.callingHours.days[].start | Campaign start time for the day. (HH:MM AM/PM) | string |
data.dialingStrategy.callingHours.days[].end | Campaign end time for the day. (HH:MM AM/PM) | string |
data.experienceFlow | Associated experience flow ID used by the campaign. | string |
data.createdAt | Timestamp when the campaign was created. (ISO 8601) | string |
data.updatedAt | Timestamp when the campaign was last updated. (ISO 8601) | string |
data.schedule | Scheduling configuration for the campaign. | object |
data.schedule.isSchedulingEnabled | Indicates whether the campaign has a scheduled start. | boolean |
data.schedule.isRecurrenceEnabled | Indicates whether recurrence is enabled. | boolean |
data.contactLists | Names of contact lists associated with the campaign. | array of string |
data.format | Format of the campaign configuration. Example: "advanced" | string |