Create a site
create_siteStep 2 of adding a site: registers the domain under the caller's account with the business description, audience, tone, competitors and business type (usually the values from analyze_new_site, edited as needed). Returns the site key and what billing needs: partner-billed and comped accounts are ready at once; a direct customer must finish checkout in the browser (the response includes the link; pass plan + billingPeriod to get a direct Stripe checkout URL). White-label partners on a partner-scoped credential can pass clientId (from create_client or list_clients) to create the site for that client instead: it belongs to the client, is billed to the partner, and plan/billingPeriod are refused. Then call complete_site_setup to pick publish mode and build the first content plan. Fails with 409 if the domain belongs to another account. Keys accepted in market: countryCode, locationName, languageCode. Keys accepted in businessProfile: businessName, address, city, state, postalCode. Destructive: the first call returns a summary and a confirmToken; call again with confirmToken to proceed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | For direct customers: create a Stripe checkout for this plan and return its URL. | |
| tone | Yes | Writing tone, e.g. "Friendly and approachable". | |
| domain | Yes | The website, e.g. example.com. | |
| market | No | Search market, e.g. {countryCode:"US", locationName:"United States", languageCode:"en"}. From analyze_new_site. | |
| clientId | No | White-label partners only: create the site for this client (client id or email from create_client / list_clients). Needs a partner-scoped credential. | |
| faviconUrl | No | Favicon from analyze_new_site. | |
| competitors | No | Competitor domains to mine for keywords. | |
| businessType | No | Keyword research mode (default general). | |
| confirmToken | No | Confirmation token from a previous call of this tool with the same arguments. Omit on the first call to get a summary and a token. | |
| billingPeriod | No | With plan (default annual). | |
| targetAudience | Yes | Customer segments the content is for. | |
| businessProfile | No | Primary physical location for local businesses (from analyze_new_site locations). | |
| productDescription | Yes | What the business does and sells. |