# Get the organization's outbound allowlist extension: whether a platform administrator granted it, its host patterns, and the deployment's egress policy mode.

Source: <https://everruns.com/docs/api/operations/get_org_egress_allowlist/>

GET

/v1/orgs/{org}/egress-allowlist

Select code samplecURL (shell:curl)

```js
const url = 'https://app.everruns.com/api/v1/orgs/example/egress-allowlist';
const options = {method: 'GET'};


try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```sh
curl --request GET \
  --url https://app.everruns.com/api/v1/orgs/example/egress-allowlist
```

* Production APIapp.everruns.com/api/v1/orgs/{org}/egress-allowlist

## Parameters

### Path Parameters

**org**

required

string

Prefixed public identifier

## Responses

### 200

Success

Media typeapplication/json

An organization’s egress allowlist extension.

object

**can\_edit**

required

Whether the caller may edit the patterns (an organization admin; the edit also needs `granted`).

boolean

**can\_grant**

required

Whether the caller may grant or revoke (a platform administrator).

boolean

**granted**

required

Whether a platform administrator allowed this organization to extend the deployment’s outbound allowlist. Patterns are enforced only while this is true.

boolean

**max\_patterns**

required

Most patterns one organization may add.

integer

**mode**

required

The deployment’s egress policy: `open`, `curated-writes`, or `curated-all`. Extensions only matter in a curated mode.

string

**open**

required

Whether a platform administrator granted this organization open egress: its agents reach any public host the deny list allows, for reads and writes, whatever the deployment’s curated policy.

boolean

**patterns**

required

Host patterns this organization adds to the allowlist: `example.com`, `*.example.com`, or an `https://example.com/path/` prefix.

Array\<string>

##### Example

```json
{
  "mode": "curated-writes"
}
```

### 404

Organization not found