GET
/
v1
/
files
/
{file_id}
/
download
curl --location --request GET https://api.writer.com/v1/files/{file_id}/download \
 --header "Authorization: Bearer <token>"
"File contents"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

file_id
string
required

The unique identifier of the file.

Response

200 - application/octet-stream
File download successful

The response is of type file.

Was this page helpful?