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

# /webhooks/

List of Webhooks that are registered

<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" }}>
        id
      </td>

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

      <td style={{ textAlign: "left" }}>
        ID of the webhook
      </td>
    </tr>

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

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

      <td style={{ textAlign: "left" }}>
        URL to the webhook
      </td>
    </tr>

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

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

      <td style={{ textAlign: "left" }}>
        URL of the user details endpoint
      </td>
    </tr>

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

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

      <td style={{ textAlign: "left" }}>
        Date of creation of the webhook
      </td>
    </tr>

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

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

      <td style={{ textAlign: "left" }}>
        Last change time
      </td>
    </tr>

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

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

      <td style={{ textAlign: "left" }}>
        CallHub Event on which the webhook will get fired
      </td>
    </tr>

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

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

      <td style={{ textAlign: "left" }}>
        URL that will be called when the event is fired in CallHub
      </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/webhooks/": {
      "get": {
        "summary": "/webhooks/",
        "description": "",
        "operationId": "webhooks",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"count\": 20,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 701,\n            \"url\": \"https://api.callhub.io/v1/webhooks/701/\",\n            \"user\": \"https://api.callhub.io/v1/users/139616/\",\n            \"created\": \"2015-04-06T17:21:15.849779Z\",\n            \"updated\": \"2015-04-06T17:21:15.849812Z\",\n            \"event\": \"vb.transfer\",\n            \"target\": \"https://zapier.com/hooks/standard/YDeFSJf6DEADsLswYRBEEFtP/\"\n        },\n      //...more hooks...\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/webhooks/'\nr = requests.get(url, headers=headers)\nprint \"webhooks 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/webhooks/\");\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 \"Webhooks as Array:\"; var_export($decoded);\n?>"
            }
          ],
          "samples-languages": [
            "python",
            "php"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```