Create site
Changed onCreates an additional AI site under the current account. Refuses if the proposed subdomain is taken.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
Build brief describing the storefront to generate — brand, what you're selling, and the look and feel. Kicks off an AI build. Required unless repository is given.
Optional "owner/repo" of an existing GitHub repository (reached through a connected GitHub App installation) to start the site from instead of generating a fresh one. When set, prompt is optional and only tells the agent what to adapt.
Turns on website chat, the front desk on every page, where any visitor can ask questions, book, and leave their details. Shown only while access_mode is public; each visitor reply uses the account's credits.
Set of key-value pairs you can attach to the object — store your own system's IDs or grouping labels. Keys max 40 chars (up to 50 keys), values stored as strings max 500 chars. On update, keys merge individually; set a key to null or "" to remove it. Echoed back on reads and in webhook payloads.
Response
AI site created. When created with a prompt, an engineering build is started automatically — build_task_id references it; track progress via GET /tasks/{id}. Do not start another build for the site.
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
2 more changes in this revision
- warning