Skip to main content
POST
/
ideas
/
generate-topic
Generate ideas from a topic
curl --request POST \
  --url https://app.autoposting.ai/api-proxy/ideas/generate-topic \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "topic": "<string>",
  "brandSlug": "<string>",
  "count": 5
}
'
{
  "success": true,
  "data": {
    "ideas": [
      {
        "id": "<string>",
        "title": "<string>",
        "summary": "<string>",
        "platform": "<string>",
        "sourceDocumentIds": [
          "<string>"
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
topic
string
required

Topic to generate ideas around.

brandSlug
string
required

Brand to generate ideas for.

count
integer
default:5

Number of ideas.

Response

Success.

success
boolean
required
data
object
required