KumkuatKumkuat
API reference › Documents

Extract text from an uploaded file without saving

POST/api/v1/documents/extract-text

POST/api/v1/documents/extract-text

Extract text from an uploaded file without saving

Send the file as multipart/form-data in a file field: PDF, DOCX, PPTX, TXT, MD, CSV, HTML, RTF, JSON or XML. Nothing is stored.

In the full reference
REQUEST
curl -X POST "https://gateway.kumkuat.ai/api/v1/documents/extract-text" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "character_count": 1,
  "content": "string",
  "filename": "string",
  "word_count": 1
}
Try it — sign in first
Runs on a sandbox key: 2000 requests a month. Your real key is for production.