Skip to main content
POST
/
kbs
Create a knowledge base
curl --request POST \
  --url https://app.autoposting.ai/api-proxy/kbs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Acme Product Docs",
  "description": "Internal documentation and blog posts"
}
'
{
  "success": true,
  "data": {
    "id": "kb_01HXYZ",
    "name": "Acme Product Docs",
    "description": "Internal documentation and blog posts",
    "documentCount": 0,
    "createdAt": "2024-01-01T00:00:00Z"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

Display name for the knowledge base.

description
string

Optional description.

Response

Knowledge base created.

success
boolean
required
data
object
required