---
title: "Get Details"
method: GET
path: "/sub-accounts/{subAccountId}"
tags: ["Sub Accounts"]
---

# Get Details

`GET /sub-accounts/{subAccountId}`

## Request

- Base URL: `https://api.thanks.io/api/v2`
- URL: `https://api.thanks.io/api/v2/sub-accounts/{subAccountId}`
- Auth: HTTP bearer

Gets a sub-account by ID. Returns a single sub-account object.  branding_fields is an object that contains branding information for the sub-account - it can only be set via the thanks.io dashboard

## Response `200`

Successful Response

- SubAccount
  - `id` integer
  - `user_id` integer
  - `title` string
  - `return_name` string
  - `return_address` string
  - `return_address2` string
  - `return_city` string
  - `return_state` string
  - `return_postal_code` string

## Other responses

- `403`: Access token is missing or invalid
- `404`: Resource not found

## Changes

- **2025-09-09** `d0471df3ff62`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/thanks-io/apis/thanks-io-api/changes/sub-accounts/:subAccountId/get.md)

---

[API](https://skmtc.dev/thanks-io/apis/thanks-io-api.md) · [All operations](https://skmtc.dev/thanks-io/apis/thanks-io-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thanks-io/apis/thanks-io-api/revisions/c403fbf3dc0f?raw)
