Samva
Samva
DashboardAPISamva DocumentationQuickstart GuideAuthentication

Api referenceKnowledgeBase

Sync All Documents

POST
/voice/knowledge-bases/{knowledgeBaseId}/sync

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Path Parameters

knowledgeBaseId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://samva.app/api/v1/voice/knowledge-bases/497f6eca-6276-4993-bfeb-53cbbbba6f08/sync" \  -H "Content-Type: application/json" \  -d '{}'
{
  "success": true,
  "count": 0
}