---
title: "Gets a token requested by an external app"
method: GET
path: "/v1/apps/external/auth/{secret}/"
---

# Gets a token requested by an external app

`GET /v1/apps/external/auth/{secret}/`

## Request

- Base URL: `https://app.iconik.io/API/auth`
- URL: `https://app.iconik.io/API/auth/v1/apps/external/auth/{secret}/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-auth/docs/v1/apps/external/auth/:secret/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `secret` string, required

## Response `200`

Returns auth info

- ExternalAuthSchema
  - `app_id` string
  - `date_created` string, date-time
  - `redirect_info` RedirectInfoType
    - `headers` object, nullable
    - `url` string, url, nullable
  - `token` string

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-auth.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-auth/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-auth/revisions/5dde985bb742?raw)
