Create project
bdk_create_projectCreate a project after approval of the reference label and published app URL. project_name is a reference label, not the home-screen app name; that starts as the website hostname until configured. Duplicates by reference label or site host return candidates: ask the customer to choose create_new or use_existing with project_code; never reuse automatically. For an owner preview, pass from_preview_id to read editable prefill, then submit its observed_website_link. A same_site_project conflict requires explicit link_existing:true with project_code or false to create separately. Offer preview before checkout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_code | No | Explicitly selected existing candidate project. | |
| project_name | No | Approved reference label, at most 120 characters; not the app’s home-screen name. | |
| website_link | No | Full published app URL on a site the customer owns; not an editor or builder-share link. | |
| link_existing | No | Explicit same-site choice after same_site_project: true links selected project_code, false creates separately. | |
| from_preview_id | No | Owner preview. Alone reads editable prefill; submit with name, URL and observed_website_link to create or return transactionally. | |
| duplicate_choice | No | Customer choice after reviewing duplicate candidates; never infer consent. | |
| observed_website_link | No | Exact URL read from project_prefill; preserves the portal concurrency guard. |