GET /documents/{id}/files/{file_id}

Get file by document id and file id

Returns a document specified by its ID along with its HTML body.

Path Parameters

Name Description Type Required Default
id String
file_id String

Query Parameters

Name Description Type Required Default
limit The max number of the items to retrieve Integer
offset The number of the starting item Integer
cursor The ID of the item under which the cursor is String
format Response format - json/xml String
token Token String

Responses

Status Code Description Type
200 The document binary file as application/octet-stream String
400 Incorrect input parameters ErrorResponse
401 Authorization error ErrorResponse
403 Incorrect user permissions ErrorResponse
404 Requested entity not found ErrorResponse
429 Too many requests were sent or limit exceeded ErrorResponse
500 Internal Server Error ErrorResponse
API Query Builder
Query
Query Result