API for managing attached domains to turnstile?

Hi all,

Is there a way to manage the Turnstile domains attached to a site via some kind of API? I couldn’t find it in the docos anywhere.

Scenario is, we have a SaaS app and our users are able to create custom domains and point them to our service. But we want Turnstile to continue to work and therefore need to also add the domain to turnstile.

Thanks in advance!

Welcome to the Cloudflare community!

There is an API for managing turnstile widgets: Cloudflare API Documentation, including the domains field there when updating a widget.

I would keep in mind though on free you are limited to 10 widgets/10 hostnames per widget. For anything more then that you’d need Enterprise: Cloudflare Turnstile, a free CAPTCHA replacement

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.