AI
conversation AI, voice AI, agent studio, knowledge base & phone system APIs
Creates a new knowledge base for the specified location.
cURL
curl --request POST \ --url https://services.leadconnectorhq.com/knowledge-base \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Version: <version>' \ --data ' { "name": "Product Documentation", "locationId": "ve9EPM428h8vShlRW1KT" } '
{ "knowledgeBase": { "id": "kb_abc123def456", "locationId": "ve9EPM428h8vShlRW1KT", "name": "Product Documentation", "urlCount": 15, "faqCount": 42, "status": "active", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-07-28
Name of the knowledge base
"Product Documentation"
Location ID to associate the knowledge base with
"ve9EPM428h8vShlRW1KT"
Knowledge base created successfully
Show child attributes
Was this page helpful?