---
title: "Connected accounts of one workspace"
method: GET
path: "/v1/admin/tenants/{tenant_id}/integration-accounts"
tags: ["admin"]
---

# Connected accounts of one workspace

`GET /v1/admin/tenants/{tenant_id}/integration-accounts`

## Request

- Base URL: `https://api.patricia.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.patricia.app/v1/admin/tenants/{tenant_id}/integration-accounts`
- Auth: HTTP bearer

The connected accounts of one workspace, oldest first, including accounts that need reconnecting or were disconnected. Each account has its provider, app, label, status, whether the whole team or only the person who connected it can use it, who connected it, whether Patricia manages it, and when it last synced. `status_code` is `active`, `error` (needs reconnecting), `revoked` (disconnected), `revoking` or `revoke_failed`. No credential is returned. The read is recorded against your staff account.

## Path parameters

- `tenant_id` string, uuid, required: The workspace id.

## Response `200`

Successful Response

- IntegrationAccounts
  - `items` IntegrationAccountItem[], required
    - `id` string, uuid, required
    - `provider` string, required
    - `app_slug` string, nullable, required
    - `app_name` string, nullable, required
    - `label` string, nullable, required
    - `status_code` string, required
    - `visibility_code` string, required
    - `connected_by` AdminActorRef, required
      - `id` string, uuid, required
      - `display_name` string, required
      - `unavailable` boolean
    - `managed` boolean, required
    - `last_synced_at` string, date-time, nullable, required
    - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/patricia/apis/patricia-api.md) · [All operations](https://skmtc.dev/patricia/apis/patricia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/patricia/apis/patricia-api/revisions/0dfb44495ea1?raw)
