---
title: "Get a TT token"
method: GET
path: "/gdc/account/token"
tags: ["token"]
---

# Get a TT token

`GET /gdc/account/token`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/account/token`
- Auth: none declared. Required headers: `Cookie`, `X-GDC-AuthSST`

## Headers

- `Cookie` string, required
- `X-GDC-AuthSST` string, required

## Response `200`

TT returned

- union
  - UserToken
    - `userToken` object, required
      - `token` string, required
  - object: If you passed the SST as HTTP cookie and did not pass any SST in the header.

## Other responses

- `401`: The API call failed. This happened because the SST is not valid, got expired, or was not set. Obtain an SST, and re-issue the call. For more information about obtaning the SST, see [Log in](#tag/login).

---

[API](https://skmtc.dev/gooddata/apis/gooddata-api-documentation.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/revisions/e5dc0ee6ab00?raw)
