# list_site_member_access

Source: https://modulify.ai/docs/api/sites/list-site-member-access

Lists every member of the site's workspace with the role they hold on that one site.

- Title: List what each member can do on a site
- Scope: `sites:read`
- Access: Read only
- Endpoint: `POST /v1/list_site_member_access`

This is the **Member access** section of the site's **Settings** tab. Each row carries `UserId`, `Name`, `Email`, `WorkspaceRole`, `ProjectRole` (the site role they hold now), `DefaultRole` (the site role their workspace role starts them on), `IsOwner` and `IsSelf`. Pending invitations are not listed.

A site role only ever narrows what the workspace role allows: `editor` is everything a member can do on a site, `content-editor` the preview, the **CMS** and comments, `viewer` the preview and comments, and `no-access` hides the site from them. The workspace owner always has full access. Any member of the workspace can read the list. See [Roles on a single site](https://modulify.ai/docs/reference/members-and-roles#roles-on-a-single-site).

Pass a `UserId` from here to `set_site_member_access` to change one.

## Request

Call it with a `POST` to `https://api.modulify.ai/v1/list_site_member_access`, sending the inputs below as a JSON object. The token needs the `sites:read` scope.

It only reads and changes nothing, so retrying it is safe.

```bash
curl -X POST https://api.modulify.ai/v1/list_site_member_access \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"projectId":"PROJECT_ID"}'
```

Over MCP, the same method is the [list_site_member_access tool](https://modulify.ai/docs/mcp/sites/list-site-member-access).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | string | Yes | The site id. |

## Response

Every call answers with the [JSON envelope](https://modulify.ai/docs/api/requests-and-responses#the-response) of `success`, `message`, `data`, `code` and `version`. `data` holds the result described above, and on a method that returns a total, `count` carries it. The [response headers](https://modulify.ai/docs/api/requests-and-responses#headers-on-every-method-call) carry the call's `X-Request-Id` and what is left of your per-minute budget in `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`. [Errors](https://modulify.ai/docs/api/errors) explains every status code a call can answer with.