---
title: "Generate Keyword Plan With Input"
method: POST
path: "/api/v1/websites/{website_id}/generate-keyword-plan-with-input"
---

# Generate Keyword Plan With Input

`POST /api/v1/websites/{website_id}/generate-keyword-plan-with-input`

## Request

- Base URL: `https://api.seoproai.co`
- URL: `https://api.seoproai.co/api/v1/websites/{website_id}/generate-keyword-plan-with-input`
- 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 30-day keyword plan with user-provided topics and custom instructions.

## Path parameters

- `website_id` integer, required

## Headers

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

## Request body

- ContentPlanRequest
  - `user_topics_instructions` string, nullable
  - `primary_keywords` string, nullable
  - `secondary_keywords` string, nullable
  - `replace_existing_topics` boolean

## 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)
