---
title: "GET /api/accounts/{id}"
method: GET
path: "/api/accounts/{id}"
tags: ["accounts"]
---

# GET /api/accounts/{id}

`GET /api/accounts/{id}`

## Request

- The document declares no server URL.
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/fermyon/apis/fermyon-cloud-api/docs/api/accounts/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Headers

- `Api-Version` string

## Response `200`

Success

- AccountDetails
  - `plan` AccountPlanRecord
    - `accountType` 'Free' | 'Growth' | 'Enterprise'
    - `cancelAt` string, date-time, nullable
    - `cycleStartDate` string, date-time, nullable
    - `cycleEndDate` string, date-time, nullable
    - `lastModified` string, date-time, nullable
  - `isMarketingEmailOn` boolean
  - `createdAt` string, date-time, nullable

## Changes

- **2023-09-28** `da6d9622301d`: 3 info
  - added the optional property `plan/lastModified` to the response with the `200` status (media type: text/plain)
  - added the optional property `plan/lastModified` to the response with the `200` status (media type: application/json)
  - added the optional property `plan/lastModified` to the response with the `200` status (media type: text/json)
- **2023-07-21** `a75f8f8ae123`: 3 warning, 9 info
  - added the new `Enterprise` enum value to the `plan/accountType` response property for the response status `200` (media type: text/plain)
  - added the new `Enterprise` enum value to the `plan/accountType` response property for the response status `200` (media type: application/json)
  - added the new `Enterprise` enum value to the `plan/accountType` response property for the response status `200` (media type: text/json)
  - added the optional property `createdAt` to the response with the `200` status (media type: text/plain)
  - …8 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/changes/api/accounts/:id/get.md)

---

[API](https://skmtc.dev/fermyon/apis/fermyon-cloud-api.md) - [All operations](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fermyon/apis/fermyon-cloud-api/revisions/78d366daf86a?raw)
