/collections

Returns a list of Collection objects.

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Headers

X-Account-TokenstringRequired
Token identifying the end user.

Query parameters

collection_typeenumOptional
If provided, will only return collections of the given type.
Allowed values:
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.
expandenumOptional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
Allowed values:
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).

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 collections with this name.
page_sizeintegerOptional
Number of results to return per page. The maximum limit is 100.
parent_collection_idstringOptional
If provided, will only return collections whose parent collection matches the given id.
remote_fieldsenumOptional

Deprecated. Use show_enum_origins.

Allowed values:
remote_idstringOptional
The API provider's ID for the given object.
show_enum_originsenumOptional
A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
Allowed values:

Response

nextstring or null
previousstring or null
resultslist of objects or null
<MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA+1aW1PiSBT+K2w/WkBWHXdKqra2EBwvNURHcW6WlTp0DqGlk459AWVq/vtWEq6Kg2ArmV3foHPydfKd++n8IBQ0BkLekQrRjHZRsyggRRIKHzmpkJrgHKlmIiJFAjFzIcRpUa+3RYpEmTgWUqP/gSH31aHENqkQJ0QZYMlErM3Qd8b3OCzSGEhIUJUzvrfUTm8mRcJZ1EW/S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