---
title: "Get a single entity by entity code"
method: GET
path: "/entity/{code}"
tags: ["Entities"]
---

# Get a single entity by entity code

`GET /entity/{code}`

Retrieves data for a single Entity if the user has permission to view it.

## Path parameters

- `code` string, required — Entity code

## Response `200`

Entity information

- Entity — Entity schema.
  - `accountManager` EntityAccountManager — EntityAccountManager schema.
    - `email` string, required — Account Manager Email
    - `name` string, required — Account Manager Name
    - `phone` string, nullable — Account phone number
  - `address` string, nullable — Entity Address
  - `bankAccounts` EntityBankAccount[], required — List of bank accounts for the entity
    - `currency` string, required — Bank Account currency
    - `lastDigits` string, required — last 4 digits of the account number
    - `uid` string, required — Bank Account uid
  - `code` string, required — Entity Code
  - `countryCode` string, nullable — Country code
  - `currency` string, required — Default Currency
  - `name` string, required — Entity Name
  - `onboarding` boolean, required — True if entity is in the process of onboarding
  - `status` string, required — Entity Status
  - `type` string, required — Description of the Entity Type

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/treasuryspring/apis/treasuryspring-public-api.md) · [All operations](https://skmtc.net/treasuryspring/apis/treasuryspring-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/treasuryspring/treasuryspring-public-api/versions/d587dda25444/schema)
