Company Memberships
List memberships
Retrieve company memberships by expanding the memberships field of a user or company object. Direct listing of memberships is not supported.
GET
Company memberships are accessed through their parent objects (users or companies) using the expansion feature. This design ensures proper data relationships and access control.
Retrieving Memberships
Through Users
To get a user’s memberships:
- Fetch the user using the user list endpoint
- Include
?expand=memberships
in the request URL - The response will include the expanded memberships array
Through Companies
To get a company’s memberships:
- Fetch the company using the company list endpoint
- Include
?expand=memberships
in the request URL - The response will include the expanded memberships array
Response
The expanded memberships will be included in the response as an array of membership objects.