All Collections
Using The Expand Parameter
Using The Expand Parameter

Description and Application of Expand Parameter

Yash Gogri avatar
Written by Yash Gogri
Updated over a week ago

What is the expand parameter?

The expand parameter allows you to return multiple types of objects in a single GET request. Any relational object can be expanded, and multiple objects can be expanded in a single request. For example:

  • GET /employees can expand out company, groups, employments, locations, managers, team, and pay_group

  • GET /candidates can expand out applications and attachments

  • GET /tickets can expand out assignees, creator, project, collections, account, contact, parent_ticket, and attachments

Which Merge endpoints support the expand parameter?

In the API Reference section of the Merge Docs, you can review our endpoints by API category. Click on the object and operation of interest, and look for "expand", listed under the "Query & Path Parameters" section.

How do I use "expand" in an API request?

The expand parameter is a query parameter, and follows standard REST formatting. Separate multiple expansions with a comma (ie. expand=team,employments).

An example cURL:

curl --location '' \
--header 'X-Account-Token: {{account-token}}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{production-key}}' \

Did this answer your question?