Downloads a file by ID.

Usage Example

GET /api/v1/files/12345 HTTP/1.1
Authorization: Bearer {token}

Response headers:

HTTP/1.1 200 OK
Content-Type: application/pdf
Content-Disposition: attachment; filename="report.pdf"
Content-Length: 245678

Access Control

You can download a file if:

  • You uploaded it (you are the file owner), OR
  • It's attached to a note on a contact/company you have access to

Files that don't meet these criteria return 404 (not 403) to avoid leaking file existence.

Browser Behavior

The Content-Disposition: attachment header forces browsers to download the file rather than displaying it inline.

Path Parameters
  • id
    Type: string
    required

    File ID (from upload response or note details)

Responses
  • 200

    File content with Content-Type and Content-Disposition headers

  • application/problem+json
  • application/problem+json
  • application/problem+json
  • application/problem+json
Request Example for get/api/v1/files/{id}
curl 'https://app.propstreet.com/api/v1/files/{id}' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No Body