---
title: "List Okta accounts"
method: GET
path: "/api/v2/integrations/okta/accounts"
tags: ["Okta Integration"]
---

# List Okta accounts

`GET /api/v2/integrations/okta/accounts`

List Okta accounts.

## Response `200`

OK

- OktaAccountsResponse — The expected response schema when getting Okta accounts.
  - `data` OktaAccountResponseData[] — List of Okta accounts.
    - `attributes` OktaAccountAttributes, required — Attributes object for an Okta account.
      - `api_key` string — The API key of the Okta account.
      - `auth_method` string, required — The authorization method for an Okta account.
      - `client_id` string — The Client ID of an Okta app integration.
      - `client_secret` string — The client secret of an Okta app integration.
      - `domain` string, required — The domain of the Okta account.
      - `name` string, required — The name of the Okta account.
    - `id` string, required — The ID of the Okta account, a UUID hash of the account name.
    - `type` 'okta-accounts', required — Account type for an Okta account.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
