---
title: "Create multiple blog posts on a website with AI (batch, max 25)"
method: POST
path: "/v1/ai/workspace/website/{website_id}/blog/batch"
tags: ["Workflows"]
---

# Create multiple blog posts on a website with AI (batch, max 25)

`POST /v1/ai/workspace/website/{website_id}/blog/batch`

## Request

- Base URL: `https://api.lindo.ai`
- URL: `https://api.lindo.ai/v1/ai/workspace/website/{website_id}/blog/batch`
- Auth: HTTP bearer

Start up to 25 blog-creation workflows on a single website in one request. Each returns a `workflow_id` that can be polled via `/v1/ai/workspace/blog/status/{workflow_id}`.

## Path parameters

- `website_id` string, required: The ID of the website to create the blog posts on

## Request body

- BatchCreateBlogRequest
  - `items` BatchPageOrBlogItem[], required: Array of blog posts to create on the website. Between 1 and 25 items.
    - `language` string: Fallback output language (name or language code). An explicit language in the prompt takes precedence; otherwise defaults to the website language.
    - `prompt` string, required: AI prompt describing this page/blog
    - `schedule_at` string: Optional ISO 8601 date to schedule for later

## Response `200`

Batch processed. Check per-item `success`.

- BatchCreateResponse
  - `success` true, required: The batch request was processed. Individual items may still have failed — check per-item `success`.
  - `total` number, required: Total items in the batch
  - `succeeded` number, required: Number of items successfully accepted
  - `failed` number, required: Number of items that failed to start
  - `items` BatchCreateItemResult[], required: Per-item result, in the same order as the request
    - `success` boolean, required: Whether this item was accepted and scheduled
    - `workflow_id` string: Workflow id (present when success is true)
    - `error` string: Error message (present when success is false)

## Other responses

- `400`: Invalid request or insufficient credits
- `401`: Unauthorized
- `403`: website_id does not belong to this workspace
- `500`: Internal server error

---

[API](https://skmtc.dev/lindo/apis/lindo-unified-api.md) · [All operations](https://skmtc.dev/lindo/apis/lindo-unified-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lindo/apis/lindo-unified-api/revisions/2672f34525a4?raw)
