Skip to main content
POST
/
generate
/
content
Generate content
curl --request POST \
  --url https://ai.wisepilot.app/api/v1/generate/content \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "asset_type": "<string>",
  "title": "<string>",
  "website_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "context": "<string>",
  "target_icp_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "model": "<string>"
}
'
{
  "success": true,
  "data": {
    "success": true,
    "content": "<unknown>",
    "profileId": "<string>",
    "error": "<string>",
    "evalResult": {
      "score": 123,
      "passed": true
    }
  }
}

Authorizations

Authorization
string
header
required

API key prefixed with cr_ (e.g. cr_a1b2c3...)

Body

application/json
asset_type
string
required

e.g. blog_post, landing_page, email

title
string
required
website_id
string<uuid>

Auto-resolved if key has single website scope

context
string

Additional instructions for generation

target_icp_id
string<uuid>
model
string

AI model override

Response

Generated content

success
boolean
required
data
object