---
title: "Get Sub-Account"
method: GET
path: "/poweredby/account/{accountIdOrExternalId}"
tags: ["Account"]
---

# Get Sub-Account

`GET /poweredby/account/{accountIdOrExternalId}`

Get Sub-Account returns a single sub-account within the parent account. You can look up the sub-account by either its internal Connect AI account Id or its external Id.

## Path parameters

- `accountIdOrExternalId` string, required

## Response `200`

OK

- AccountInfo
  - `id` string, required — The internal Connect AI account Id.
  - `externalId` string, required — The Connect AI Embed external account identifier.
  - `accountName` string, nullable — The display name of the account.
  - `created` string, date-time, required — The time this account was created.

---

[API](https://skmtc.dev/cdata/apis/cdata-connect-ai-rest-api-embedded.md) · [All operations](https://skmtc.dev/cdata/apis/cdata-connect-ai-rest-api-embedded/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cdata/cdata-connect-ai-rest-api-embedded/revisions/c13133ad66c0/schema)
