Website generation API
Your server sends the description — the studio returns a ZIP.
You create a key in the cabinet after sign-in. Your backend calls POST /api/v1/sites: put ordinary text in description, the same as you would tell the assistant. Site type and format are fields next to it. The response is an id and a status. Poll GET until ready, or pass webhook_url. You download the same ZIP: HTML, PHP or WordPress. A reseller creates clients, issues keys, transfers credits. Same generator.
The same generator
The same types: Premium, News, Ecommerce. The same HTML, PHP, WordPress. The same parallel limit of 20. Your panel shows buttons and statuses. The studio builds a unique multi-page site and stores the ZIP on the job.
Which methods
POST /api/v1/sites — create a job. GET by id — status and progress. GET download — the ZIP when ready. Retry — if the generator failed the build. You can pass webhook_url: a POST arrives on ready, failed or cancelled. Live methods are in the docs after sign-in.
Key, credits, sample
The full key is shown once at creation. You can revoke an old one in the cabinet. Credits charge per build, as from the studio. Status polling does not charge credits.
How to wire it
The client clicks “create site” in your panel. The backend POSTs, stores the id, waits for ready via GET or webhook, downloads the ZIP or hands it to the client. Mini App is sign-in and cabinet on a phone. Jobs from your server go through the API.
Who this API suits
Your own order panel. A reseller with clients and credits. A CRM wired to the studio: the client clicks “create site” — your server places the job. The key is issued after sign-in. Keep it on the server.
FAQ
Where do I get the key?
In the cabinet after sign-in. The full key is shown once at creation.
Which method creates a site?
POST /api/v1/sites: description, site type, format. Then status and download.
What is different for a reseller?
Clients, teams, credit transfers. Generation is the same as from the studio.
Does Mini App call the API?
The API is called from your server. Mini App is for viewing jobs on a phone.
WordPress via API?
Yes. Format is set in the request body, as in the studio.
Is there a webhook on ready?
Yes, the webhook_url field on create. Otherwise you poll status.