---
title: "Get external auth by ID"
method: GET
path: "/api/v2/external-auth/{externalauth}"
tags: ["Git"]
---

# Get external auth by ID

`GET /api/v2/external-auth/{externalauth}`

## Path parameters

- `externalauth` string, string, required

## Response `200`

OK

- CodersdkExternalAuth
  - `app_install_url` string — AppInstallURL is the URL to install the app.
  - `app_installable` boolean — AppInstallable is true if the request for app installs was successful.
  - `authenticated` boolean
  - `device` boolean
  - `display_name` string
  - `installations` CodersdkExternalAuthAppInstallation[] — AppInstallations are the installations that the user has access to.
    - `account` CodersdkExternalAuthUser
      - `avatar_url` string
      - `id` integer
      - `login` string
      - `name` string
      - `profile_url` string
    - `configure_url` string
    - `id` integer
  - `supports_revocation` boolean
  - `user` CodersdkExternalAuthUser
    - `avatar_url` string
    - `id` integer
    - `login` string
    - `name` string
    - `profile_url` string

---

[API](https://skmtc.net/coder/apis/coder-api.md) · [All operations](https://skmtc.net/coder/apis/coder-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coder/coder-api/versions/56b6e9f08540/schema)
