# Read which apps may connect to an organisation

> Page: https://docs.plotwork.dev/api/get-orgs-org-policies-apps. Index of every page: https://docs.plotwork.dev/llms.txt

"Only approved apps can connect": whether it is on, the approved apps, the organisation's own apps (always allowed), and the apps seen recently.

`GET /orgs/{org}/policies/apps`

## TL;DR

| Question | Answer |
|---|---|
| What does it do? | Read which apps may connect to an organisation. |
| What does it take? | `org` in the path. |
| What does it return? | Status 200 with a body of type [`AllowedAppsPolicy`](https://docs.plotwork.dev/api/schemas.md#allowedappspolicy). |
| What can go wrong? | `401` not signed in; `403` a member or a reader (orgs.forbidden); `404` no such organisation, or the caller is not a member of it; `429` too many requests; `503` organisations are not set up on this server. Every failure uses the one error envelope. |

## What it does

"Only approved apps can connect": whether it is on, the approved apps, the organisation's own apps (always allowed), and the apps seen recently. The owner and admins.

## Path parameters

| Field | Type | Required | Description |
|---|---|---|---|
| `org` | `string` | yes | The organisation's id or its slug. |

## Responses

| Status | Meaning | Body |
|---|---|---|
| 200 | The policy. | [`AllowedAppsPolicy`](https://docs.plotwork.dev/api/schemas.md#allowedappspolicy) |
| 401 | Not signed in. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 403 | A member or a reader (orgs.forbidden). | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 404 | No such organisation, or the caller is not a member of it. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 429 | Too many requests. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 503 | Organisations are not set up on this server. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |

## Response body

A 200 answer has the type [`AllowedAppsPolicy`](https://docs.plotwork.dev/api/schemas.md#allowedappspolicy).

| Field | Type | Required | Description |
|---|---|---|---|
| `enabled` | `boolean` | yes | "Only approved apps can connect". False means any app a member approves may connect. |
| `apps` | `PolicyApp[]` | yes | The approved apps, by client id, in the order stored. |
| `apps[].id` | `string` | yes | The app's client id. |
| `apps[].name` | `string \| null` | yes | The name the app registered, a claim; null when no app has the id any more. |
| `apps[].homepage` | `string \| null` | yes |  |
| `apps[].own` | `boolean` | yes | True for the organisation's own registered app, which is always allowed. |
| `own` | `PolicyApp[]` | yes | The organisation's own registered apps, always allowed while the policy is on. |
| `own[].id` | `string` | yes | The app's client id. |
| `own[].name` | `string \| null` | yes | The name the app registered, a claim; null when no app has the id any more. |
| `own[].homepage` | `string \| null` | yes |  |
| `own[].own` | `boolean` | yes | True for the organisation's own registered app, which is always allowed. |
| `recent` | `object[]` | yes | Other apps connected to the organisation in the last 90 days, live or ended, one each, newest first. |
| `recent[].app` | `PolicyApp` | yes |  |
| `recent[].app.id` | `string` | yes | The app's client id. |
| `recent[].app.name` | `string \| null` | yes | The name the app registered, a claim; null when no app has the id any more. |
| `recent[].app.homepage` | `string \| null` | yes |  |
| `recent[].app.own` | `boolean` | yes | True for the organisation's own registered app, which is always allowed. |
| `recent[].connections` | `integer` | yes | How many of its connections to the organisation are live. |
| `recent[].lastConnectedAt` | `integer` | yes |  |

## See also

| Doc | Why |
|---|---|
| [API reference](https://docs.plotwork.dev/api/reference.md) | Every endpoint, and the error envelope |
| [Schemas](https://docs.plotwork.dev/api/schemas.md) | Every request and response type |
| [Tool reference](https://docs.plotwork.dev/mcp/tools.md) | The operations as callable tools |
