How to register a new site using API?

I would like to have CDN for multiple websites. But, I need to register the sites by calling APIs through PHP code. Please let me know the Cloudflare APIs to communicate with my Cloudflare account and to register the sites with its configuration. Thank you!

Greetings,

Thank you for asking.

May I rephrase your question from the topic title as I do not understand exactly what you want to achieve?:

  1. Register a new domain at Cloudflare Registrar using Cloudflare API?
  2. Add a new domain (zone) to your Cloudflare account using Cloudflare API and manage it via the API (using PHP code)?

https://support.cloudflare.com/hc/en-us/articles/360000841472-Adding-Multiple-Sites-to-Cloudflare-via-Automation

1 Like

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