Samva
Samva
DashboardAPISamva DocumentationQuickstart GuideAuthentication

Api referenceKnowledgeBase

Sync Document

POST
/voice/knowledge-bases/documents/{documentId}/sync

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Path Parameters

documentId*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/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/sync" \  -H "Content-Type: application/json" \  -d '{}'
{
  "success": true,
  "message": "string"
}