---
title: "Generate Blog"
method: POST
path: "/api/v1/blogs/generate"
---

# Generate Blog

`POST /api/v1/blogs/generate`

## Request

- Base URL: `https://api.seoproai.co`
- URL: `https://api.seoproai.co/api/v1/blogs/generate`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://dajosjnaalanhqksxrpe.supabase.co/auth/v1/authorize`, token URL `https://dajosjnaalanhqksxrpe.supabase.co/auth/v1/token`)

Generate a blog post based on keywords and website ID.

Requires authentication (dashboard session or developer API key); the
website must belong to the caller's organization and the account must
have remaining monthly blog quota.

## Headers

- `X-User-Id` string, nullable
- `X-Organization-Id` string, nullable
- `Authorization` string, nullable

## Request body

- BlogGenerateRequest
  - `website_id` integer, required
  - `keywords` string[], required
  - `language_code` string
  - `keyword_id` integer, nullable
  - `search_intent` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/seoproai/apis/seopro-ai.md) · [All operations](https://skmtc.dev/seoproai/apis/seopro-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/seoproai/apis/seopro-ai/revisions/5b4b6391ddc9?raw)
