---
title: "Add custom prompts to an onboarded project"
method: POST
path: "/v1/projects/{projectId}/custom-prompts"
tags: ["Prompts"]
---

# Add custom prompts to an onboarded project

`POST /v1/projects/{projectId}/custom-prompts`

## Request

- Base URL: `https://www.seoforgpt.io/api`
- URL: `https://www.seoforgpt.io/api/v1/projects/{projectId}/custom-prompts`
- Auth: HTTP bearer

Adds prompts to the latest saved visibility test. This route never creates the first project or bypasses onboarding. Set testNow=true to queue background testing of only the added prompts.

## Path parameters

- `projectId` string, uuid, required

## Request body

- object
  - `prompts` object[], required
    - `prompt` string, required
    - `category` string
  - `testNow` boolean

## Response `200`

Prompts saved

## Other responses

- `202`: Prompts saved and background testing queued
- `400`: Invalid input
- `401`: Missing or invalid bearer token
- `404`: Resource not found
- `409`: Conflict (e.g. API key limit)
- `429`: Rate limit exceeded. Responses include the current IETF `RateLimit` and `RateLimit-Policy` structured fields, compatibility `RateLimit-*` and `X-RateLimit-*` fields, and `Retry-After` on 429.
- `500`: Server error
- `default`: Any documented or unexpected 4xx or 5xx response uses the same typed error envelope.

---

[API](https://skmtc.dev/seoforgpt/apis/seoforgpt-public-api.md) · [All operations](https://skmtc.dev/seoforgpt/apis/seoforgpt-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/seoforgpt/apis/seoforgpt-public-api/revisions/d90da8f1ea73?raw)
