Learn how to expand related objects in API responses using the expand
query parameter.
expand
query parameter. This allows you to retrieve complete objects instead of just their IDs. For example, when fetching an event, you can expand the associated user object to get the full user details instead of just the userId
.
expand
parameter to include the full object. For example, adding ?expand=user
to a request will include the complete user object in the response.
null
(not expanded). For example, adding ?expand=memberships
will include an array of all the user’s memberships.
.
). For example, ?expand=memberships.company
will expand both the memberships and their associated companies.
expand
parameter can be used on any endpoint that returns expandable fields, including: