Skip to main content
POST
/
v1
/
ai
/
workspace
/
website
/
{website_id}
/
blog
Create blog with AI prompt
curl --request POST \
  --url https://api.lindo.ai/v1/ai/workspace/website/{website_id}/blog \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "Write a blog post about the benefits of organic coffee beans",
  "schedule_at": "2026-05-01T09:00:00Z"
}
'
{
  "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"
}

Documentation Index

Fetch the complete documentation index at: https://lindo.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Enter your API key (starts with lindo_sk_)

Path Parameters

website_id
string
required

The ID of the website to create the blog on

Example:

"website_abc123"

Body

application/json
prompt
string
required

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

Minimum string length: 10
Example:

"Write a blog post about the benefits of organic coffee beans"

schedule_at
string

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

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"