# File Uploads

File Upload objects are created by uploading a binary file (like an image or PDF document) to Shift4. Such an uploaded file can then be used in other API requests by providing its identifier.
Note that for the file upload API a different API endpoint must be used: `https://uploads.api.shift4.com`.

 - [POST /files](https://matterhorn-api.redocly.app/docs/api/shift4-gateway/file-uploads/createfileupload.md): Creates a new file upload object. A successful request returns a file upload object that represents the uploaded file.
 - [GET /files](https://matterhorn-api.redocly.app/docs/api/shift4-gateway/file-uploads/listfileuploads.md): Lists file upload objects. Results are sorted by creation date, with the most recent objects first.
 - [GET /files/{fileUploadId}](https://matterhorn-api.redocly.app/docs/api/shift4-gateway/file-uploads/getfileupload.md): Retrieves an existing file upload object.
