Webhook HTTPS & TLS Requirements Explained
See why Stripe, GitHub, and Slack reject raw IPs and 302 redirects, and how edge proxy fixes it.
Exact DNS wire fields: HOST identifies the label, TYPE picks the record format, TTL sets cache duration, TARGET holds the answer.
1. Engineering Breakdown
Webhook senders check three rules: a valid CA cert matching SNI, port 443 HTTPS, and a direct 2xx response. They do not follow POST redirects. agentdomains proxy meets all three rules at once.
Common Pitfalls
- Always verify HMAC signatures (
Stripe-Signature,X-Hub-Signature-256) using the raw unparsed request body.
2. Interactive DNS Record Syntax Validator
Edit the record type, host label, or value below to validate syntax and build your CLI command.
3. Exact CLI, curl & MCP JSON-RPC Payloads
Pick your preferred interface below and copy the working payload.
agentdomains proxy webhooks hooks-worker.fly.dev
curl -X PUT https://api.agentdomains.co/v1/subdomains/webhooks/proxy \
-H "Authorization: Bearer $AGENTDOMAINS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"origin":"hooks-worker.fly.dev"}'
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "set_proxy",
"arguments": {
"label": "webhooks",
"origin": "hooks-worker.fly.dev"
}
}
}
Frequently asked questions
What is Webhook TLS Validation?
See why Stripe, GitHub, and Slack reject raw IPs and 302 redirects, and how edge proxy fixes it.
How do I automate Webhook HTTPS & TLS Requirements with AgentDomains?
Use the Go CLI snippet above, send a REST curl call, or invoke set_proxy on https://mcp.agentdomains.co.
Related DNS & SSL Guides
OAuth 2.0 Redirect URI HTTPS Rules
See why OAuth providers require exact HTTPS callback URLs and how a fixed makes.fyi host prevents errors.
CORS Behind a Reverse Proxy
Configure Access-Control-Allow-Origin and OPTIONS preflight handling cleanly when your API sits behind an edge reverse proxy.
WebSockets & SSE Through Reverse Proxies
Keep long-lived wss:// WebSocket connections and AI token Server-Sent Events (SSE) streaming cleanly over HTTPS.
HSTS and Subdomain Security
Learn how HSTS enforces HTTPS and why you should skip includeSubDomains until every sub-label has TLS.
Claim your agent domain now
Start with 10 free HTTPS domains under agentdomains.co or makes.fyi for 30 days. Upgrade to Pro for $10/year to keep up to 100 names with visitor stats.