For example:
https://gateway.ecc-prod.cc.exotel.com or https://exotel.ecc-prod.cc.exotel.com → https://cms.engg-prod.cc.exotel.com/
https://{Cms_Domain_Name}:<port>/configuration/hierarchyconfig/campaign?contactCenterId={{contactCenterId}}
These path variables are dynamic and will vary across setups. The corresponding IDs are generated and shared at the time of setup creation.
Endpoint Breakdown:
{contactCenterId}: Contact Center Id of the tenant.
/hierarchyconfig/campaign: Represents the endpoint to fetch all campaigns
{Cms_Domain_Name}:Use the application access domain by replacing any existing subdomain (such as gateway or ECC or custom domain with customer’s org name) with cms.
| Name | Type | Description |
|---|---|---|
| contactCenterId | numeric | Filter by contact center id |
| Header | Value |
|---|---|
| Content-Type | application/json |
| Accept | application/json |
| authorization | Bearer {AuthToken} |
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............'
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"
}