Skip to main content
POST
/
v1
/
ai
/
workspace
/
website
Create website with AI prompt
curl --request POST \
  --url https://api.lindo.ai/v1/ai/workspace/website \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data @- <<EOF
{
  "prompt": "Create a modern landing page for a coffee shop called 'Bean There' with a warm color scheme",
  "schedule_at": "2026-05-01T09:00:00Z"
}
EOF
{
  "success": true,
  "instance_id": "wf_abc123xyz789",
  "website_id": "website_def456",
  "page_id": "page_ghi789",
  "blog_id": "blog_jkl012",
  "status_url": "/v1/workflow/status/wf_abc123xyz789"
}

Authorizations

Authorization
string
header
required

Enter your API key (starts with lindo_sk_)

Body

application/json
prompt
string
required

AI prompt describing the website to create. Must be at least 10 characters.

Minimum string length: 10
Example:

"Create a modern landing page for a coffee shop called 'Bean There' with a warm color scheme"

schedule_at
string

Optional ISO 8601 date to schedule the workflow for future execution. Must be in the future.

Example:

"2026-05-01T09:00:00Z"

Response

Workflow started successfully

success
enum<boolean>
required

Indicates the workflow was started successfully

Available options:
true
Example:

true

instance_id
string
required

Unique identifier for the workflow instance, used for status tracking

Example:

"wf_abc123xyz789"

website_id
string

ID of the created website (for website creation workflows)

Example:

"website_def456"

page_id
string

ID of the created page (for page creation workflows)

Example:

"page_ghi789"

blog_id
string

ID of the created blog (for blog creation workflows)

Example:

"blog_jkl012"

status_url
string

URL to check the workflow status

Example:

"/v1/workflow/status/wf_abc123xyz789"