files
Create a file and get a presigned upload URL
Creates a file record and returns a presigned upload URL plus the form fields to include in the multipart POST.
Upload the file directly to the returned URL, then reference it by file_id from other resources. The upload URL expires 10 minutes after creation, so request it as part of the same flow that performs the upload.
Each purpose enforces its own MIME allowlist and maximum file size, validated before the presigned URL is issued — a content_type or size_bytes outside the purpose's limits is rejected with a 400.
| Purpose | Allowed content types | Max file size |
|---|---|---|
| dispute_evidence | application/pdf, image/png, image/jpeg, image/tiff | 5 MB |
post/api/v1/files/create
Request
- Base URL: https://dev-api.truemed.com
- URL: https://dev-api.truemed.com/api/v1/files/create
- Auth: API key in header x-truemed-api-key
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.