---
title: "Get Linked Account"
method: GET
path: "/programs/{programCode}/accounts/{accountIdentifier}/getLinkedAccount"
tags: ["Account"]
---

# Get Linked Account

`GET /programs/{programCode}/accounts/{accountIdentifier}/getLinkedAccount`

Retrieves all linked accounts for the specified account, including account link type and status.

## Path parameters

- `programCode` string, required
- `accountIdentifier` string, required

## Headers

- `X-GD-RequestId` string, required

## Response `200`

OK

- GetLinkedAccountResponse — Represents the response containing a list of linked account relationships for an account.
  - `accountLinks` AccountLink[], nullable — The list of account links associated with the account.
    - `primaryAccountIdentifier` string, nullable — The unique identifier (UID or GUID) of the primary account in the link relationship.
    - `linkAccountIdentifier` string, nullable — The unique identifier (UID or GUID) of the linked account associated with the primary account.
    - `accountLinkType` 'Savings' | 'SecureCreditCard' | 'Custodian' | 'JointAccount' — Specifies the type of link relationship between accounts. See Gd.Bos.DataTransfer.AccountLink.AccountLinkType for possible values such as Savings, SecureCreditCard, Custodian, or JointAccount.
    - `startDate` string, date-time, nullable — The start date of the account link relationship, typically in ISO 8601 format. Indicates when the link became active.
    - `endDate` string, date-time, nullable — The end date of the account link relationship, typically in ISO 8601 format. Indicates when the link was terminated or expired.
  - `responseDetails` ResponseDetail[], nullable — Required: A list of response details providing status codes, descriptions, and additional information about the result of the operation.
    - `code` integer — The primary status or error code for the response (e.g., 200 for success, 400 for validation error).
    - `subCode` integer, nullable — An optional subcode providing more granular detail about the response or error.
    - `description` string, nullable — A human-readable description of the response, error, or status.
    - `url` string, nullable — A URL linking to documentation or a web page with more information about the response code.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/greendot/apis/baas-apis.md) · [All operations](https://skmtc.net/greendot/apis/baas-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/greendot/baas-apis/versions/666553766b78/schema)
