Skip to main content
POST
/
kbs
/
{kbId}
/
generate-ideas
Generate content ideas from KB
curl --request POST \
  --url https://app.autoposting.ai/api-proxy/kbs/{kbId}/generate-ideas \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "brandSlug": "acme-corp",
  "count": 5,
  "platforms": [
    "linkedin"
  ]
}
'
{
  "success": true,
  "data": {
    "ideas": [
      {
        "id": "idea_01HXYZ",
        "title": "The real cost of bad onboarding",
        "summary": "A LinkedIn post exploring churn data from your docs...",
        "platform": "linkedin",
        "sourceDocumentIds": [
          "doc_01HXYZ"
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Path Parameters

kbId
string
required

Knowledge base ID.

Body

application/json
brandSlug
string
required

Brand to generate ideas for.

count
integer
default:5

Number of ideas to generate.

platforms
string[]

Target platforms to tailor ideas for.

Response

Success.

success
boolean
required
data
object
required