Documentation Index
Fetch the complete documentation index at: https://docs.contactswing.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Enter your ContactSwing JWT Bearer token.
Path Parameters
Unique knowledge base identifier from ContactSwing dashboard.
Request Body
multipart/form-data
Updated knowledge base name
URLs of documents to index
FAQ question-answer pairs
Additional uploaded files
Response
200 OK - Knowledge base updated successfully
“Request processed successfully”
Example Request
curl -X PUT 'https://prod-contactswing-fastapi-962560522883.us-central1.run.app/v2/_knowledgebase/YOUR_KB_ID' \
-H 'Authorization: Bearer YOUR_JWT_TOKEN' \
-F 'name=Updated KB Name' \
-F 'files=@document.pdf' \
-F 'urls[]="https://example.com/docs.pdf"' \
-F 'faqs[]="Q: What is this?|A: Answer here"'