/files

Returns a list of File objects.

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Headers

X-Account-TokenstringRequired
Token identifying the end user.

Query parameters

created_afterdatetimeOptional
If provided, will only return objects created after this datetime.
created_beforedatetimeOptional
If provided, will only return objects created before this datetime.
cursorstringOptional
The pagination cursor value.
drive_idstringOptional

Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive.

expandenumOptional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
folder_idstringOptional
Specifying a folder id returns only the files in that folder. Specifying null returns only the files in root directory.
include_deleted_databooleanOptional
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
include_remote_databooleanOptional

Whether to include the original data Merge fetched from the third-party to produce these models.

include_shell_databooleanOptional

Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).

mime_typestringOptional

If provided, will only return files with these mime_types. Multiple values can be separated by commas.

modified_afterdatetimeOptional
If provided, only objects synced by Merge after this date time will be returned.
modified_beforedatetimeOptional
If provided, only objects synced by Merge before this date time will be returned.
namestringOptional
If provided, will only return files with this name. This performs an exact match.
order_byenumOptional

Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at.

Allowed values:
page_sizeintegerOptional
Number of results to return per page. The maximum limit is 100.
remote_created_afterdatetimeOptional
If provided, will only return files created in the third party platform after this datetime.
remote_created_beforedatetimeOptional
If provided, will only return files created in the third party platform before this datetime.
remote_idstringOptional
The API provider's ID for the given object.

Response

nextstring or null
previousstring or null
resultslist of objects or null
<MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA+2T207bQBCGX6Xay8ixG0KKsFRVCeGQqHEoGFSKkLVZT+xN9sTuOgcj3r2yY0jSckGlQC/aO+/szL+e+eZ/QARbSKReIh+NKQNjpcYJIAdxGQNDPjqhrDhiRQPMYTstmu0hB5lMKaktxCcUWGzONIyRjzwOOoF6JuiYQuxtVHlUWEg0tlQK4z1X18dlOXIQo2IKcZsQmQn7Cr1Vfh2vCn45Go9RY5GDFDbGplpmSXoB9xmY10gXf8eAg7CY1WNssbchU9crnZdiRR8xMLAQd7HFXbBAioarJ1NrlfE9LwWm3PJ5N4aZB8LD2lLCwHit5uHewWGrXqmUr3+JEva5UZvcj+TooBYlhEU4qw1CsgjC3jyYJPvB0f4iyK9aQT7Ng8n0Yy1KcG0QDlrD8KY57LYbwxcSostP3w+vO91OP6iR/LgZTG7mQUgag5BMR3mv2T8l8/7Zt0WQ3+wNulfNIDxu9U9lY3h0YQZHF3LQdl3koE2uyL992AxUy9ORi+3EHi/WbT2QFQqsaF1lI0aJa5ou5jiXAs+NSyT3OMQUe+cM27HUvCMXkbnPsIZoEuj5jwPhKpE8DZ9K8Tx55KOgHfauj7d3oT3DlOERA+RbncFv64z8W0RSIFOT8VLWEE1VKeiUXogyzarPamsUaE6NKcfgoLFkMejCUZRDZJeqsJMoxuGg7UylKcd6GZWq21cauLQQEQ3YQhxhu44Ve7F9ihS26TpE4/V3puK1gKE5oLvi7j6jGuJzrDEHC7po+u7ReQlgV0s12jXESvQJJP8qrlOxfFuQm+h2SOh9aZxKmTD40NV0BrtBslKMSsXosuTxnoaKq07KAds04yOBKduw2L/ltqGAHbJ9sttQQDnnym9vzHeT6O799vcZXaZYw7mkwu6WUqmrCt3/nP6Q093jTyoIWgzZCgAA" />