White-label Agency

Create an agency site request

Creates an agency-owned site request. With auto approval enabled, the build is queued immediately; otherwise it waits for approval.

post/api/agency/v1/site-requests

Request

  • Base URL: https://www.1clickwebsite.ai
  • URL: https://www.1clickwebsite.ai/api/agency/v1/site-requests
  • 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 required
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
autoApproveboolean

Response

Agency request created

object required

Changes

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