Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersβ€’3y agoβ€’
4 replies
Tobias

Cloudflare for SaaS custom domains webhooks for status updates

We are building out an integration with cloudflare for saas custom domains where our users can add their own custom domains through our interface.

We save custom data related to the domain in our database (such as which organisation it belongs to). We also store the current status of the domain from that we get from the "Custom Hostname Details" api call (https://developers.cloudflare.com/api/operations/custom-hostname-for-a-zone-custom-hostname-details).


What would be great is to have a webhook to listen to that triggers when the status of a custom hostname changes, instead of constantly polling it. Also that would help our system to be notified when a domain is changed from active to another status (if the user has changed their dns settings for the domain).

I can only find notifications for SSL cert changes for custom hostnames. Have anyone solved this issue and if so how?
CleanShot_2023-09-07_at_12.38.452x.png
Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Cloudflare for SaaS Domains
Cloudflare DevelopersCDCloudflare Developers / general-help
15mo ago
Protecting SaaS with Custom Domains via Cloudflare
Cloudflare DevelopersCDCloudflare Developers / general-help
9mo ago
SaaS with custom domains
Cloudflare DevelopersCDCloudflare Developers / general-help
4w ago
Pricing Cloudflare for Saas Custom Hostnames
Cloudflare DevelopersCDCloudflare Developers / general-help
7mo ago