Back to All

Upload a local file as a new attachment via api request

Using the Fieldwire UI, the "+ New File" button enables me to upload a file from disk, which appears to then be hosted from Fieldwire's own S3 bucket

However, the API endpoint -
https://app.fieldwire.com/api/v3/projects/{project_id}/attachments

Does not appear to enable posting a file via multipart upload or other means, and instead only has:
file_url - string - required
URL of the potential processed file

When using this method, it appears Fieldwire does not actually download the file from file_url, but instead acts as a middleman and serves the file from the passed file_url

Is there a way using the API to upload a file to Fieldwire's S3 bucket? (in the same way the Fieldwire UI does?)