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

# /users/

Calling /users will return your user information along with its related objects

Each user will have 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" }}>
        The user URL
      </td>
    </tr>

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

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

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

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

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

      <td style={{ textAlign: "left" }}>
        Email address of the CallHub account
      </td>
    </tr>

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

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

      <td style={{ textAlign: "left" }}>
        Array of urls to the business phones in the account
      </td>
    </tr>

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

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

      <td style={{ textAlign: "left" }}>
        Array of urls to the phonebooks in the account
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        voice\_broadcasts
      </td>

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

      <td style={{ textAlign: "left" }}>
        Array of voice campaigns in the account
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        sms\_campaigns
      </td>

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

      <td style={{ textAlign: "left" }}>
        Array of SMS campaigns in the account
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        callcenter\_campaigns
      </td>

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

      <td style={{ textAlign: "left" }}>
        Array of Call Center campaigns in the account
      </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/users/": {
      "get": {
        "summary": "/users/",
        "description": "Calling /users will return your user information along with its related objects",
        "operationId": "users",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"count\": 1,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"url\": \"https://api.callhub.io/v1/users/6783/\",\n            \"username\": \"readme\",\n            \"email\": \"hello@callhub.io\",\n            \"bphones\": [\n                \"https://api.callhub.io/v1/bphone/49765/\"\n            ],\n            \"phonebooks\": [\n                \"https://api.callhub.io/v1/phonebooks/78220/\",\n                \"https://api.callhub.io/v1/phonebooks/72819/\"\n            ],\n            \"voice_broadcasts\": [\n                \"https://api.callhub.io/v1/voice_broadcasts/22604/\"\n            ],\n            \"sms_campaigns\": [\n                \"https://api.callhub.io/v1/sms_campaigns/51262/\",\n                \"https://api.callhub.io/v1/sms_campaigns/17466/\",\n                \"https://api.callhub.io/v1/sms_campaigns/12873/\",\n                \"https://api.callhub.io/v1/sms_campaigns/113459/\",\n                \"https://api.callhub.io/v1/sms_campaigns/10564/\",\n                \"https://api.callhub.io/v1/sms_campaigns/184564/\"\n            ],\n            \"callcenter_campaigns\": [\n                \"https://api.callhub.io/v1/callcenter_campaigns/2441/\",\n                \"https://api.callhub.io/v1/callcenter_campaigns/1024/\",\n                \"https://api.callhub.io/v1/callcenter_campaigns/9450/\",\n                \"https://api.callhub.io/v1/callcenter_campaigns/14562/\",\n                \"https://api.callhub.io/v1/callcenter_campaigns/1700/\",\n                \"https://api.callhub.io/v1/callcenter_campaigns/6324/\",\n                \"https://api.callhub.io/v1/callcenter_campaigns/6124/\",\n                \"https://api.callhub.io/v1/callcenter_campaigns/8149/\"\n            ]\n        }\n    ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "count": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "next": {},
                    "previous": {},
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "example": "https://api.callhub.io/v1/users/6783/"
                          },
                          "username": {
                            "type": "string",
                            "example": "readme"
                          },
                          "email": {
                            "type": "string",
                            "example": "hello@callhub.io"
                          },
                          "bphones": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "example": "https://api.callhub.io/v1/bphone/49765/"
                            }
                          },
                          "phonebooks": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "example": "https://api.callhub.io/v1/phonebooks/78220/"
                            }
                          },
                          "voice_broadcasts": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "example": "https://api.callhub.io/v1/voice_broadcasts/22604/"
                            }
                          },
                          "sms_campaigns": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "example": "https://api.callhub.io/v1/sms_campaigns/51262/"
                            }
                          },
                          "callcenter_campaigns": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "example": "https://api.callhub.io/v1/callcenter_campaigns/2441/"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "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/users/'\nr = requests.get(url, headers=headers)\nprint \"Users 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/users/\");\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 \"Users as Array:\"; var_export($decoded);\n?>"
            }
          ],
          "samples-languages": [
            "python",
            "php"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```