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

# /agents/

Get all the verified agents in your account

View all agents

# 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/agents/": {
      "get": {
        "summary": "/agents/",
        "description": "Get all the verified agents in your account",
        "operationId": "agents",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"count\": 2,\n  \"next\": null,\n  \"previous\": null,\n  \"results\": [\n    {\n      \"id\": 1,\n      \"username\": \"abc\",\n      \"email\": \"abc@callhub.io\",\n      \"owner\": [\n        {\n          \"username\": \"manager\",\n          \"url\": \"https://api.callhub.io/v1/users/2/\"\n        }\n      ]\n    },\n    {\n      \"id\": 2,\n      \"username\": \"xyz\",\n      \"email\": \"xyz@callhub.io\",\n      \"owner\": [\n        {\n          \"username\": \"manager\",\n          \"url\": \"https://api.callhub.io/v1/users/2/\"\n        }\n      ]\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "count": {
                      "type": "integer",
                      "example": 2,
                      "default": 0
                    },
                    "next": {},
                    "previous": {},
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 1,
                            "default": 0
                          },
                          "username": {
                            "type": "string",
                            "example": "abc"
                          },
                          "email": {
                            "type": "string",
                            "example": "abc@callhub.io"
                          },
                          "owner": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "username": {
                                  "type": "string",
                                  "example": "manager"
                                },
                                "url": {
                                  "type": "string",
                                  "example": "https://api.callhub.io/v1/users/2/"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "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/agents/'\nr = requests.get(url, headers=headers)\nprint \"Agents 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/agents/\");\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 \"Agents as Array:\"; var_export($decoded);\n?>"
            }
          ],
          "samples-languages": [
            "python",
            "php"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```