/roles

Returns a list of Role 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.
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.
page_sizeintegerOptional
Number of results to return per page. The maximum limit is 100.
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="H4sIAAAAAAAAA92Y/2/aOBTA/xXOPyIgK6w3Fek0UdLSViXsCt3WVVX04jyCwYmDv0CPaf/7KSFQ2FXaiTOI3o+x7E/yPn5+tvOdUNAYCfkXaRLN6AQ1SyJSIbEIkZMmuRMcSYVAyjyIcbOTP6uTClEmTYXUGF4y5KG6kjgkTeLEKCOsmoQNGYbOeozDEo2RBM1Eopz12OowH0wqhLNkgmGLUmES/UvasncVlt1/elQOZ0qTCklBKT2SwkSjO5waVL8GZ1/GMcZEA6+GoMHZgFTlkvJaWxZDiBw1hi5ocFEjzYItXjjSOlVNxxkhT2v5y2shzhxMHJCaUY7KOW2c1T+cnVYLSv72j37E/zgpj6eBCD6U/YhyH0y5O6DP3uB67o2j9177/bO3uD/1FpOFN568K/sRlLuD7mlv8NDoua2T3isd/P7vX88+n7vnN16ZLi4a3vhh7g3oSXdAJ8HiunHTofObqz+fvcVDveveN7zBxelNR5z02neq274T3VatRip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