There's an API for creating routes https://developers.cloudflare.com/api/operations/worker-routes-cr
There's an API for creating routes https://developers.cloudflare.com/api/operations/worker-routes-create-route?schema_url=https%3A%2F%2Fraw.githubusercontent.com%2Fcloudflare%2Fapi-schemas%2Fmain%2Fopenapi.yaml, and one for Worker Custom Domains: https://developers.cloudflare.com/api/operations/worker-domain-attach-to-domain yea
Interact with Cloudflare's products and services via the Cloudflare API
Interact with Cloudflare's products and services via the Cloudflare API



