# List Users by Organization

`GET https://api.suger.cloud/org/{orgId}/user`

List all users under the given organization. Each user includes id, firstName, lastName, email, userRole, and login/join times. Use this to find a user's ID from their email address.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `orgId` | path | string | yes | Organization ID |

## Responses

### 200 — Success

Content-Type: `application/json`

### 500 — Internal server error

Content-Type: `application/json`

## Example

_Generated from this operation's schema. Values are placeholders — substitute your own ids, and set `SUGER_TOKEN` to a bearer token from the [OAuth client-credentials exchange](https://doc.fours.com/settings/oauth-app/)._

### Request

```bash
curl -X GET 'https://api.suger.cloud/org/{orgId}/user' \
  -H "Authorization: Bearer $SUGER_TOKEN"
```

### Response — 200

```json
[
  {}
]
```

### Error — 500

```json
"string"
```

---

API reference: https://doc.fours.com/api/
