---
title: "Get linked GitHub account"
method: GET
path: "/api/v1/github/user"
---

# Get linked GitHub account

`GET /api/v1/github/user`

Get the authenticated user's linked GitHub account, if any

## Response `200`

- ApiGithubUserCredentialResponse
  - `results` GithubUserCredential, required — A user's personally linked GitHub account. When present, write-backs are authored as this user instead of the Lightdash GitHub App bot.
    - `createdAt` string, date-time, required
    - `githubLogin` string, required
  - `status` 'ok', required

---

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