🚀 Simplify your work by integrating Haufe CoPilot Connect via API or MCP
Skip to Content
Files

Get file content

Returns the extracted text content of the file as plain text.

GET/v1/files/{file_id}

Authorization

api-key<token>

In: header

Path Parameters

file_id*File Id
Formatuuid

Header Parameters

user-id*User-Id

ID of the end user the file belongs to.

Match^[A-Za-z0-9._\-@:]+$
Lengthlength <= 255

Response Body

text/plain

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/files/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "user-id: string"
"string"