---
title: "Returns one sub-account."
method: GET
path: "/settings/v1/sub-accounts/{id}"
tags: ["CustomSubAccounts"]
---

# Returns one sub-account.

`GET /settings/v1/sub-accounts/{id}`

Get a sub-account by ID.<br>You must have at least one of these scopes: 'subledger.read, setup.read, setup.manage'.

## Path parameters

- `id` string, required

## Response `200`

Success.

- CustomSubAccountModel
  - `id` string, required — The ID of the sub-account
  - `propertyId` string, required — ID of the property
  - `code` string, required — Code of the sub-account.
  - `name` string, required — Name of the sub-account
  - `type` 'Other' | 'Accommodation' | 'FoodAndBeverages', required — Service type of the sub-account

## Other responses

- `400` — Bad request.
- `401` — You are unauthorized.
- `403` — Forbidden.
- `404` — The Request-URI could not be found.
- `422` — Validation errors in the request body or query params.
- `499` — Client closed request.
- `500` — An unexpected error occurred.
- `503` — The server is currently unavailable. Please try later.

---

[API](https://skmtc.dev/apaleo/apis/apaleo-settings-api.md) · [All operations](https://skmtc.dev/apaleo/apis/apaleo-settings-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apaleo/apaleo-settings-api/revisions/da1c3b71ee9a/schema)
