---
updatedAt: 2026-09-09T22:08:03.000Z
agentTools:
  projectIndex: https://developer.callhub.io/llms.txt
---

# /callcenter_campaigns/

List of all your Call Center Campaigns. Each campaign has the following keys

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Key
      </th>

      <th style={{ textAlign: "left" }}>
        Value
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        url
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        URL of the call center campaign
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        owner
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        CallHub User Name
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        name
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        Name of the campaign
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        status
      </td>

      <td style={{ textAlign: "left" }}>
        Integer
      </td>

      <td style={{ textAlign: "left" }}>
        Status of the campaign. It corresponds to the following status:

        1 - START

        2 - PAUSE

        3- ABORT

        4- END
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        phonebook
      </td>

      <td style={{ textAlign: "left" }}>
        Array
      </td>

      <td style={{ textAlign: "left" }}>
        Array of URLs of the phone books associated with this campaign
      </td>
    </tr>
  </tbody>
</Table>

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "2.1"
  },
  "servers": [
    {
      "url": "https://api.callhub.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "x-default": "",
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-bearer-format": "token"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/callcenter_campaigns/": {
      "get": {
        "summary": "/callcenter_campaigns/",
        "description": "",
        "operationId": "callcenter-campaigns",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"count\": 8,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"url\": \"https://api.callhub.io/v1/callcenter_campaigns/2754/\",\n            \"owner\": \"readme\",\n            \"name\": \"Second Campaign\",\n            \"status\": 4,\n            \"phonebook\": [\"https://api.callhub.io/v1/phonebooks/1332/\",\"https://api.callhub.io/v1/phonebooks/1224/\"]\n        },\n\t\t\t\t//..more campaigns...\n    ]\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "python",
              "code": "# You'll need to install requests\nimport requests\n# api_key can be found at https://callhub.io/user_detail_change/?action=tabs-1\nheaders = {'Authorization': 'Token %s' % api_key}\nurl = 'https://api.callhub.io/v1/callcenter_campaigns/'\nr = requests.get(url, headers=headers)\nprint \"Callcenter Campaigns in JSON\", r.json()"
            },
            {
              "language": "php",
              "code": "<?php\n    // create a new cURL resource\n    $ch = curl_init();\n\t\t# api_key can be found at https://callhub.io/user_detail_change/?action=tabs-1\n    $headers = array();\n    $headers[] = \"Authorization: token {$api_key}\";\n    $headers[] = \"Content-Type: application/json\";\n   \n    // set URL and other appropriate options\n    curl_setopt($ch, CURLOPT_URL, \"https://api.callhub.io/v1/callcenter_campaigns/\");\n    curl_setopt( $ch, CURLOPT_HTTPHEADER, $headers);\n    curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true);\n    \n    $curl_response = curl_exec($ch); // Send request\n  \tcurl_close($ch); // close cURL resource \n    \n\t\t$decoded = json_decode($curl_response,true);\n    print \"Callcenter Campaigns as Array:\"; var_export($decoded);\n?>"
            }
          ],
          "samples-languages": [
            "python",
            "php"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```