×

Returns all campaigns configured within a contact center.

GET

https://{Cms_Domain_Name}:<port>/configuration/hierarchyconfig/campaign?contactCenterId={{contactCenterId}}

Query Parameters

Name Type Description
contactCenterId numeric Filter by contact center id

Request Headers

Header Value
Content-Type application/json
Accept application/json
authorization Bearer {AuthToken}

 

GET

curl -X 'GET' \ 'https://{Cms_Domain_Name}:443/configuration/hierarchyconfig/campaign?contactCenterId={contactCenterId}' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer aggcrNXVude0d2PqfkzFqusbWlIxE7NU2MnQ............'

HTTP Response

On success, the HTTP response status code will be 200 OK 

[
{
"campaignContextId": 1,
"campaignContextName": "Mumbai Sales Dept",
"campaignContextType": "Interaction Campaign",
"contactCenterId": 1,
"processId": 1,
"description": "Campaign related to Sales Management",
"dateAdded": "2026-03-24T12:28:52.354Z",
"dateModified": "2026-03-24T12:28:52.354Z",
"ref": 0,
"version": 0
}
]
400 {

"statusCode": 404,

"status": "Not Found",

"errorCode": "CONF-1001",

"errorMessage": "Object doesn't exist"

}

401 {

"statusCode": 404,

"status": "Not Found",

"errorCode": "CONF-1001",

"errorMessage": "Object doesn't exist"

}

403 {

"statusCode": 404,

"status": "Not Found",

"errorCode": "CONF-1001",

"errorMessage": "Object doesn't exist"

}

404 {

"statusCode": 404,

"status": "Not Found",

"errorCode": "CONF-1001",

"errorMessage": "Object doesn't exist"

}

500 Internal Server Error

{

"statusCode": 404,

"status": "Not Found",

"errorCode": "CONF-1001",

"errorMessage": "Object doesn't exist"

}