---
title: "Get Account based on AccountId"
method: GET
path: "/accounts/{accountId}"
tags: ["Account"]
---

# Get Account based on AccountId

`GET /accounts/{accountId}`

Retrieves the top-level profile configuration, subscription plan,  and administrative metadata for a specific PBT account. The response  includes core details such as registration credentials, geographic settings,  account status flags, and default automated responses.

## Path parameters

- `accountId` string, required

## Response `200`

Success

- RegisterAccountExternalApiResponse
  - `data` RegisterAccount
    - `id` string, nullable
    - `planId` string, nullable
    - `registerUser` RegisterUser
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `phone` string, tel, required
      - `email` string, email, required
      - `password` string, password, required
      - `imageURL` string, uri, nullable
    - `registerCompany` RegisterCompany
      - `name` string, nullable
      - `irsNo` string, nullable
      - `taxExemption` boolean
      - `shortName` string, nullable
      - `email` string, nullable
      - `address` Address
        - `address1` string, nullable
        - `state` string, nullable
        - `postalCode` string, nullable
        - `countryCode` string, nullable
      - `phone` string, nullable
      - `webAddress` string, nullable
    - `countryCode` string, nullable
    - `status` string, nullable
    - `accountStatus` string, nullable
    - `autoResponseMessage` string, nullable
  - `appCode` integer
  - `message` string, nullable
  - `isError` boolean
  - `error` string, nullable

## Other responses

- `400` — Bad Request

---

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