---
title: "List the Visoft clinics"
description: "The clinics the caller's organization may save a Visoft connection for, with the SIIPS address each one signs in to, in ascending id order. Another organization's clinic is never listed; an organization Arbol has not enabled yet gets none.\n\n- **Scopes:** any one of `visoft:connections:read`, `visoft:connections:write`\n- **Credentials:** an API key, a client-credentials token or a person's access token\n- **Effect:** read-only; safe to retry\n- **Limits:** response up to 1 MB\n- **CLI:** `arbol visoft clinics list` · **MCP tool:** `visoft_clinics_list`"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.getarbol.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Visoft API › Clinics

`GET /v1/visoft/clinics`

The clinics the caller's organization may save a Visoft connection for, with the SIIPS address each one signs in to, in ascending id order. Another organization's clinic is never listed; an organization Arbol has not enabled yet gets none.

- **Scopes:** any one of `visoft:connections:read`, `visoft:connections:write`
- **Credentials:** an API key, a client-credentials token or a person's access token
- **Effect:** read-only; safe to retry
- **Limits:** response up to 1 MB
- **CLI:** `arbol visoft clinics list` · **MCP tool:** `visoft_clinics_list`

## Authentication

Requires one of the following:

- `arbolHuman`, oauth2, scopes: `visoft:connections:read`
- `arbolHuman`, oauth2, scopes: `visoft:connections:write`
- `arbolMachine`, oauth2, scopes: `visoft:connections:read`
- `arbolMachine`, oauth2, scopes: `visoft:connections:write`
- `arbolApiKey`, http, header `Authorization`

## Query parameters

- `cursor` (`visoft.clinics.list.query.cursor`; string, optional) — Opaque cursor returned by pageInfo; omit it to request the first page.
- `direction` (`visoft.clinics.list.query.direction`; string, optional) — Direction to traverse the stable keyset ordering from the supplied cursor.
  - one of `"forward"`, `"backward"`; default `"forward"`
- `limit` (`visoft.clinics.list.query.limit`; integer, optional) — Maximum items returned in one page. Defaults to 25; larger reads require another cursor.
  - min 1; max 100; default `25`

## Code samples

### cURL

```bash
curl https://api.getarbol.com/v1/visoft/clinics \
  --header "Authorization: Bearer $ARBOL_API_KEY"
```

### TypeScript

```typescript
import { createClient } from "@arbol-ai/sdk";

const arbol = createClient({
  baseUrl: "https://api.getarbol.com",
  token: process.env.ARBOL_API_KEY!,
});

const { data } = await arbol.visoft.clinics.list();
```

### Rust

```rust
use arbol_sdk::{types, Client, Credential};

let arbol = Client::new(Credential::ApiKey(std::env::var("ARBOL_API_KEY")?))?;

let data = arbol
    .visoft()
    .clinics()
    .list(&types::VisoftClinicsListInput::default())
    .await?;
```

### CLI

```bash
arbol visoft clinics list
```

### MCP

```json
{
  "name": "visoft_clinics_list",
  "arguments": {}
}
```

## Responses

### 200

Successful operation.

#### Example

```json
{
  "success": true,
  "data": {
    "data": [
      {
        "id": "string",
        "name": "string",
        "clinicalSystem": "http://example.com",
        "timezone": "string",
        "agencies": [
          {
            "code": "string",
            "label": "string"
          }
        ],
        "defaultAgencyCode": "string"
      }
    ],
    "object": "list",
    "pageInfo": {
      "hasNextPage": true,
      "hasPreviousPage": true,
      "nextCursor": "string",
      "previousCursor": "string"
    }
  },
  "error": null,
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`visoft.clinics.list.response.200.success`; boolean, required)
  - one of `true`
- `data` (`visoft.clinics.list.response.200.data`; object, required)
  - `data` (`visoft.clinics.list.response.200.data.data`; array<object>, required) — Items admitted by this resource contract within the verified organization.
    - `id` (`visoft.clinics.list.response.200.data.data.id`; string, required) — The clinic, as a connection names it (`clinicId`).
    - `name` (`visoft.clinics.list.response.200.data.data.name`; string, required) — The clinic's name.
    - `clinicalSystem` (`visoft.clinics.list.response.200.data.data.clinicalSystem`; string, required) — The clinic's SIIPS address.
      - format `uri`
    - `timezone` (`visoft.clinics.list.response.200.data.data.timezone`; string, required) — The clinic's IANA timezone: SIIPS writes every agenda in its wall time, and every startsAt the clinical operations answer carries its offset.
    - `agencies` (`visoft.clinics.list.response.200.data.data.agencies`; array<object>, required) — The clinic's cost centres, in the order SIIPS lists them: contracts, services, agendas and cancellations belong to one of them.
      - `code` (`visoft.clinics.list.response.200.data.data.agencies.code`; string, required) — The cost centre's SIIPS code.
        - pattern `^\d{3}$`
      - `label` (`visoft.clinics.list.response.200.data.data.agencies.label`; string, required) — The cost centre's name.
    - `defaultAgencyCode` (`visoft.clinics.list.response.200.data.data.defaultAgencyCode`; string | null, required) — The cost centre a clinical call that names no agencyCode runs at; null when every call must name one.
      - pattern `^\d{3}$`
  - `object` (`visoft.clinics.list.response.200.data.object`; string, required) — Discriminator for a resource list response.
  - `pageInfo` (`visoft.clinics.list.response.200.data.pageInfo`; object, required) — Opaque navigation cursors for this page’s stable keyset order.
    - `hasNextPage` (`visoft.clinics.list.response.200.data.pageInfo.hasNextPage`; boolean, required) — Whether a later page exists in the current ordering.
    - `hasPreviousPage` (`visoft.clinics.list.response.200.data.pageInfo.hasPreviousPage`; boolean, required) — Whether an earlier page exists in the current ordering.
    - `nextCursor` (`visoft.clinics.list.response.200.data.pageInfo.nextCursor`; string | null, required) — Opaque cursor for the next page, or null when there is none.
    - `previousCursor` (`visoft.clinics.list.response.200.data.pageInfo.previousCursor`; string | null, required) — Opaque cursor for the previous page, or null when there is none.
- `error` (`visoft.clinics.list.response.200.error`; unknown, required)
- `metadata` (`visoft.clinics.list.response.200.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`visoft.clinics.list.response.200.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 400

`INVALID_INPUT`: The request does not match the published schema.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "INVALID_INPUT",
    "message": "string",
    "retryable": false,
    "data": {
      "issues": [
        {
          "path": "string",
          "message": "string"
        }
      ]
    }
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`visoft.clinics.list.response.400.success`; boolean, required)
  - one of `false`
- `data` (`visoft.clinics.list.response.400.data`; unknown, required)
- `error` (`visoft.clinics.list.response.400.error`; object, required) — The request does not match the published schema.
  - `code` (`visoft.clinics.list.response.400.error.code`; string, required) — The failure code, stable across releases.
    - one of `"INVALID_INPUT"`
  - `message` (`visoft.clinics.list.response.400.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`visoft.clinics.list.response.400.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `false`
  - `data` (`visoft.clinics.list.response.400.error.data`; object, required)
    - `issues` (`visoft.clinics.list.response.400.error.data.issues`; array<object>, optional)
      - `path` (`visoft.clinics.list.response.400.error.data.issues.path`; string, required) — RFC 6901 JSON Pointer to the refused field; empty for the whole input.
        - maxLength 256
      - `message` (`visoft.clinics.list.response.400.error.data.issues.message`; string, required)
        - maxLength 256
- `metadata` (`visoft.clinics.list.response.400.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`visoft.clinics.list.response.400.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 401

`UNAUTHORIZED`: A valid access token is required.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "UNAUTHORIZED",
    "message": "string",
    "retryable": false,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`visoft.clinics.list.response.401.success`; boolean, required)
  - one of `false`
- `data` (`visoft.clinics.list.response.401.data`; unknown, required)
- `error` (`visoft.clinics.list.response.401.error`; object, required) — A valid access token is required.
  - `code` (`visoft.clinics.list.response.401.error.code`; string, required) — The failure code, stable across releases.
    - one of `"UNAUTHORIZED"`
  - `message` (`visoft.clinics.list.response.401.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`visoft.clinics.list.response.401.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `false`
  - `data` (`visoft.clinics.list.response.401.error.data`; object, required) — No fields.
- `metadata` (`visoft.clinics.list.response.401.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`visoft.clinics.list.response.401.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 403

`FORBIDDEN`: The token does not authorize this operation.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "FORBIDDEN",
    "message": "string",
    "retryable": false,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`visoft.clinics.list.response.403.success`; boolean, required)
  - one of `false`
- `data` (`visoft.clinics.list.response.403.data`; unknown, required)
- `error` (`visoft.clinics.list.response.403.error`; object, required) — The token does not authorize this operation.
  - `code` (`visoft.clinics.list.response.403.error.code`; string, required) — The failure code, stable across releases.
    - one of `"FORBIDDEN"`
  - `message` (`visoft.clinics.list.response.403.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`visoft.clinics.list.response.403.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `false`
  - `data` (`visoft.clinics.list.response.403.error.data`; object, required) — No fields.
- `metadata` (`visoft.clinics.list.response.403.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`visoft.clinics.list.response.403.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 429

`RATE_LIMITED`: The request rate limit was exceeded. Try again later.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "RATE_LIMITED",
    "message": "string",
    "retryable": true,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`visoft.clinics.list.response.429.success`; boolean, required)
  - one of `false`
- `data` (`visoft.clinics.list.response.429.data`; unknown, required)
- `error` (`visoft.clinics.list.response.429.error`; object, required) — The request rate limit was exceeded. Try again later.
  - `code` (`visoft.clinics.list.response.429.error.code`; string, required) — The failure code, stable across releases.
    - one of `"RATE_LIMITED"`
  - `message` (`visoft.clinics.list.response.429.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`visoft.clinics.list.response.429.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `true`
  - `data` (`visoft.clinics.list.response.429.error.data`; object, required) — No fields.
- `metadata` (`visoft.clinics.list.response.429.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`visoft.clinics.list.response.429.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 500

`INTERNAL_ERROR`: The service could not complete the operation.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "INTERNAL_ERROR",
    "message": "string",
    "retryable": false,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`visoft.clinics.list.response.500.success`; boolean, required)
  - one of `false`
- `data` (`visoft.clinics.list.response.500.data`; unknown, required)
- `error` (`visoft.clinics.list.response.500.error`; object, required) — The service could not complete the operation.
  - `code` (`visoft.clinics.list.response.500.error.code`; string, required) — The failure code, stable across releases.
    - one of `"INTERNAL_ERROR"`
  - `message` (`visoft.clinics.list.response.500.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`visoft.clinics.list.response.500.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `false`
  - `data` (`visoft.clinics.list.response.500.error.data`; object, required) — No fields.
- `metadata` (`visoft.clinics.list.response.500.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`visoft.clinics.list.response.500.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 502

`OUTCOME_UNKNOWN`: The operation may have been applied; check its result before repeating it.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "OUTCOME_UNKNOWN",
    "message": "string",
    "retryable": false,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`visoft.clinics.list.response.502.success`; boolean, required)
  - one of `false`
- `data` (`visoft.clinics.list.response.502.data`; unknown, required)
- `error` (`visoft.clinics.list.response.502.error`; object, required) — The operation may have been applied; check its result before repeating it.
  - `code` (`visoft.clinics.list.response.502.error.code`; string, required) — The failure code, stable across releases.
    - one of `"OUTCOME_UNKNOWN"`
  - `message` (`visoft.clinics.list.response.502.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`visoft.clinics.list.response.502.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `false`
  - `data` (`visoft.clinics.list.response.502.error.data`; object, required) — No fields.
- `metadata` (`visoft.clinics.list.response.502.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`visoft.clinics.list.response.502.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 503

`UPSTREAM_UNAVAILABLE`: The upstream service could not complete the request.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "UPSTREAM_UNAVAILABLE",
    "message": "string",
    "retryable": true,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`visoft.clinics.list.response.503.success`; boolean, required)
  - one of `false`
- `data` (`visoft.clinics.list.response.503.data`; unknown, required)
- `error` (`visoft.clinics.list.response.503.error`; object, required) — The upstream service could not complete the request.
  - `code` (`visoft.clinics.list.response.503.error.code`; string, required) — The failure code, stable across releases.
    - one of `"UPSTREAM_UNAVAILABLE"`
  - `message` (`visoft.clinics.list.response.503.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`visoft.clinics.list.response.503.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `true`
  - `data` (`visoft.clinics.list.response.503.error.data`; object, required) — No fields.
- `metadata` (`visoft.clinics.list.response.503.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`visoft.clinics.list.response.503.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.

### 504

`UPSTREAM_TIMEOUT`: The upstream service did not respond before its deadline.

#### Example

```json
{
  "success": false,
  "data": null,
  "error": {
    "code": "UPSTREAM_TIMEOUT",
    "message": "string",
    "retryable": true,
    "data": {}
  },
  "metadata": {
    "requestId": "string"
  }
}
```

- `success` (`visoft.clinics.list.response.504.success`; boolean, required)
  - one of `false`
- `data` (`visoft.clinics.list.response.504.data`; unknown, required)
- `error` (`visoft.clinics.list.response.504.error`; object, required) — The upstream service did not respond before its deadline.
  - `code` (`visoft.clinics.list.response.504.error.code`; string, required) — The failure code, stable across releases.
    - one of `"UPSTREAM_TIMEOUT"`
  - `message` (`visoft.clinics.list.response.504.error.message`; string, required) — What went wrong, for people; it never contains input values.
  - `retryable` (`visoft.clinics.list.response.504.error.retryable`; boolean, required) — Whether repeating the same request may succeed.
    - one of `true`
  - `data` (`visoft.clinics.list.response.504.error.data`; object, required) — No fields.
- `metadata` (`visoft.clinics.list.response.504.metadata`; object, required) — What every answer carries besides its data or error.
  - `requestId` (`visoft.clinics.list.response.504.metadata.requestId`; string, required) — Request correlation identifier, also sent as X-Request-Id.


Source: https://docs.getarbol.com/api/visoft/clinics/list/index.md
