File Content

Returns the binary content of the file attachment

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Downloads the file's content as raw bytes. The response's Content-Type comes from the file's extension, and Content-Disposition gives its name:

curl "https://api.marketcircle.net/v1/files/5000/content" \
  -H "Authorization: Bearer <access token>" \
  -o proposal.pdf

If the content hasn't been uploaded yet (is_uploaded is false), the response is 404 with {"error":"not_uploaded"}.

Path Params
int32
required

The file ID

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/octet-stream
application/json