---
title: "List Duo Accounts"
method: GET
path: "/duo/accounts"
tags: ["Duo"]
---

# List Duo Accounts

`GET /duo/accounts`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/duo/accounts`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/duo/accounts/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint returns all the Duo accounts for your organization. Note: There can currently only be one Duo account for your organization.

#### Sample Request
```
curl https://console.jumpcloud.com/api/v2/duo/accounts \
  -H 'accept: application/json' \
  -H 'content-type: application/json' \
  -H 'x-api-key: {API_KEY}'
```

## Headers

- `x-org-id` string

## Response `200`

- DuoAccount[]
  - `id` string, required: object ID
  - `name` string: Duo application name.
  - `readOnly` boolean: When true, the credential is governed by the primary organization and cannot be modified.

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
