File Inputs
Last updated
Was this helpful?
Downloads a file attachment from a form input.
Unlike other endpoints, this returns the raw file binary with the appropriate content type — not JSON.
id
integer
The ID of the file input to download
The response body is the raw file content. The Content-Type header is set to the file's MIME type and the Content-Disposition header is set to attachment.
curl -H "Authorization: Bearer YOUR_TOKEN" \
-o downloaded_file.pdf \
"https://your-org.tahua.io/api/v2/file_inputs/101"File input IDs are returned in the inputs arrays of funding application entries and milestone deliverables. When an input has a file attachment, the file property will be populated and the tahua_file_url property will contain a URL. The input id is what you pass to this endpoint.
Last updated
Was this helpful?
Was this helpful?