Skip to main content
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:
  1. Fetch the user using the user list endpoint
  2. Include ?expand=memberships in the request URL
  3. The response will include the expanded memberships array

Through Companies

To get a company’s memberships:
  1. Fetch the company using the company list endpoint
  2. Include ?expand=memberships in the request URL
  3. The response will include the expanded memberships array

Response

The expanded memberships will be included in the response as an array of membership objects.