Upload file
Reconciliation
Upload file
Upload a document and receive a file ID for use with other endpoints.
POST
Upload file
Uploads a file to Lemma and returns a file object. You can reference the returned
id when creating resources that accept a file_id, such as the Upload EOB endpoint.
Send the request as multipart/form-data. The maximum file size is 10 MB. Accepted file types depend on the purpose — see below.
Request body
The file to upload. Maximum size is 10 MB. Accepted MIME types depend on the
purpose field.The ID of the entity this file belongs to.
The intended use of the file. Determines which file types are accepted.
| Purpose | Accepted types |
|---|---|
explanation_of_benefits | PDF (application/pdf) |
Response
Returns the created file object.Unique identifier for the file.
The ID of the entity this file belongs to.
The intended use of the file.
The original name of the uploaded file.
The MIME type of the file.