---
title: "Returns all the accounts in the node."
method: GET
path: "/v2/accounts"
tags: ["Accounts"]
---

# Returns all the accounts in the node.

`GET /v2/accounts`

## Request

- Base URL: `http://localhost:8082`
- URL: `http://localhost:8082/v2/accounts`
- Auth: none declared
- TypeScript: <https://skmtc.dev/centrifuge/apis/centrifuge-os-node-api/docs/v2/accounts/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns all the accounts in the node.

## Response `200`

OK

- CoreapiAccounts
  - `data` CoreapiAccount[]
    - `document_signing_public_key` integer[]
    - `identity` string
    - `p2p_public_signing_key` integer[]
    - `pod_operator_account_id` integer[]
    - `precommit_enabled` boolean
    - `webhook_url` string

## Other responses

- `500`: Internal Server Error

## Changes

- **2022-11-28** `9070fa05ed48`: 1 info
  - api operation id `get_accounts` removed and replaced with `get_accounts_v2`
- **2021-02-16** `40500fd98eca`: 1 info
  - api operation id `get_accounts_v2` removed and replaced with `get_accounts`

[Operation history](https://skmtc.dev/centrifuge/apis/centrifuge-os-node-api/changes/v2/accounts/get.md)

---

[API](https://skmtc.dev/centrifuge/apis/centrifuge-os-node-api.md) - [All operations](https://skmtc.dev/centrifuge/apis/centrifuge-os-node-api/llms.txt) - [OpenAPI document](https://skmtc.dev/centrifuge/apis/centrifuge-os-node-api/revisions/36808f8744e0?raw)
