Site Creation

Create a site

Queues a complete V2 WordPress website build. One accepted build uses one site credit. Call GET /api/templates first and submit an available templateId and optional themeId.

post/api/provision

Request

  • Base URL: https://www.1clickwebsite.ai
  • URL: https://www.1clickwebsite.ai/api/provision
  • Auth: HTTP bearer

Request body

templateIdstring required

Template ID returned by GET /api/templates.

themeIdstring

Optional theme ID returned by GET /api/templates.

builderVersion'v2'
businessNamestring required
primaryLanguage'en' | 'es' | 'fr' | 'de' | 'it' | 'ro' | 'tr'
industrystring
emailstring email
phonestring
addressstring

Legacy combined public address. Supported for compatibility; structured fields are preferred.

addressLine1string

Public street address. Omit when hasPublicBusinessAddress is false.

addressLine2string

Optional suite, unit, building, or floor.

addressCitystring

City or locality. May be supplied without a street address for service-area or online businesses.

addressRegionstring

State, province, or region.

addressPostalCodestring

Postal code. Omit when hasPublicBusinessAddress is false.

countryCodestring

Two-letter ISO country code.

hasPublicBusinessAddressboolean

When false, the street address and postal code are discarded and do not appear on the generated site. City, region, and country may still anchor service-area content.

googlePlaceIdstring
businessWebsitestring uri
aboutBusinessstring
businessHoursMode'weekly' | 'open_24_hours' | 'do_not_display'

Display behavior for the main business hours. If omitted, a supplied businessHours value implies weekly; otherwise hours are hidden.

businessHoursstring

Weekly schedule as a JSON-encoded string or supported plain text. Used only with businessHoursMode=weekly.

customerModel'visit_business' | 'travel_to_customers' | 'hybrid' | 'remote_online'

How customers interact with the business. visit_business and hybrid require hasPublicBusinessAddress=true.

servicesstring[]
serviceAreasstring[]
logoUrlstring uri
skipImagesboolean
createServicePagesboolean
createServiceAreaPagesboolean
createLocationPagesboolean
primaryColorstring
secondaryColorstring
backgroundTheme'light' | 'dark'
headingFontstring
bodyFontstring

Response

Build accepted and queued

slugstring required
siteIdstring uuid required
previewUrlstring uri nullable
statusUrlstring required

Changes

No recorded changes to this operation across all 1 revision of this API.