## GET /v1/integrations/sentry/organizations

List the Sentry organizations connected to your account.

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
{
  "organizations": [
    {
      "integration_id": str,
      "organization_slug": str
    }
  ]
}
```

### Python

```python
import os

from ellipsis import Ellipsis

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

result = client.integrations.sentry.organizations()
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.sentry.organizations();
console.log(result);
```

### cURL

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

### Response schema

```json
{
  "properties": {
    "organizations": {
      "items": {
        "properties": {
          "integration_id": {
            "type": "string"
          },
          "organization_slug": {
            "type": "string"
          }
        },
        "required": [
          "integration_id",
          "organization_slug"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "organizations"
  ],
  "type": "object"
}
```
