Skip to main content
POST
/
files
/
getFileByFileId
Get file by id
curl --request POST \
  --url http://api.superwize.ai/api/files/getFileByFileId \
  --header 'Content-Type: application/json' \
  --data '
{
  "fileId": "file_01JHKZ06R8OP123456789"
}
'
"data:text/plain;base64,SGVsbG8sIFN1cGVyV2l6ZSE="

Body

application/json
fileId
string
required

Response

File content retrieved.

The response is of type string.