## GET /v1/integrations/github/members

List the members of your GitHub organization. A personal account lists only itself. A member carries their linked Slack identity when one exists.

Required permissions: read:integrations.
API key: Supported.
CLI user token: Supported.
Session token: Requires the ellipsis:api scope, and the session's permissions.ellipsis rules must allow the operation.
Higher permission levels include lower levels: read < write < delete.

### Response

```text
{
  "members": [
    {
      "avatar_url": str,
      "id": int,
      "login": str,
      "name": str,
      "role": str,
      "slack": {
        "slack_email": str,
        "slack_user_id": str
      }
    }
  ]
}
```

### Python

```python
import os

from ellipsis import Ellipsis

client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])

result = client.integrations.github.members()
print(result)
```

### TypeScript

```typescript
import { Ellipsis } from '@ellipsis-dev/sdk';

const client = new Ellipsis({
  apiKey: process.env.ELLIPSIS_API_TOKEN!,
});

const result = await client.integrations.github.members();
console.log(result);
```

### cURL

```bash
curl "https://api.ellipsis.dev/v1/integrations/github/members" \
  -H "Authorization: Bearer $ELLIPSIS_API_TOKEN"
```

### Response schema

```json
{
  "properties": {
    "members": {
      "items": {
        "properties": {
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "type": "integer"
          },
          "login": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "anyOf": [
              {
                "enum": [
                  "admin",
                  "member"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "slack": {
            "anyOf": [
              {
                "properties": {
                  "slack_email": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "slack_user_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "slack_user_id"
                ],
                "type": "object"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "members"
  ],
  "type": "object"
}
```
