Webhooks API
hubapi · Company
Provides a way for apps to subscribe to certain change events in HubSpot. Once configured, apps will receive event payloads containing details about the changes at a specified target URL. There can only be one target URL for receiving event notifications per app.
Authentication
Sample Requests
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/settings"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/settings",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/settings';
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/settings"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/settings")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/settings";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/subscriptions"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/subscriptions",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/subscriptions';
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/subscriptions"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/subscriptions")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/subscriptions";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/subscriptions/{subscriptionId}"import requests
response = requests.get(
"https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/subscriptions/{subscriptionId}",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/subscriptions/{subscriptionId}';
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/subscriptions/{subscriptionId}"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/subscriptions/{subscriptionId}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/hubapi.com/webhooks/v3/webhooks/v3/{appId}/subscriptions/{subscriptionId}";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Webhooks API?
Webhooks API is a Company API. Developers commonly use company APIs for:
- enriching CRM records with company firmographics
- building lead-generation and prospecting tools
- verifying business identity and registration details
- monitoring competitors and market intelligence
- powering B2B data enrichment pipelines
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Webhooks API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?