Browse the help center

Get site shares for user

Returns all site shares with access level info (Can Edit, Can View, Is Owner) for the specified user or the currently logged-in user if no userId is provided.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/siteShares.do

Returns all site shares with access level info (Can Edit, Can View, Is Owner) for the specified user or the currently logged-in user if no userId is provided. When basicInfo is true, additional site details such as active status, creation date, contact name/email, description, and advertising category IDs are included in the response for all or selected entities. The response is a JSON array of share objects, each containing the site ID, name, share type, and optionally a basicInfo map. Deleted sites are left out. Requires SHARED or ALL level permission on INVENTORY with VIEW access; viewing shares of other users requires ALL permission.

Query Params

userId integer

Unique identifier of the user whose site shares should be retrieved. If omitted, returns shares for the currently authenticated user

5001

basicInfo boolean

When true, includes additional site details (active status, creation date, contact name/email, description, category IDs) in the response for each share entry

true

basicInfoIds array<string>

Comma-separated list of site IDs for which to include basic information. If omitted or empty while basicInfo is true, basic info is included for all sites

4001

Responses

200

Site shares retrieved successfully

400

Bad request — invalid or missing parameters

401

Authentication error

403

Insufficient permissions

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.