---
title: "GetGithubUserStatus returns info about a Github user account based on the caller's installations.
If we don't have access to user's personal account tokens or it is expired, instructions for granting access are returned."
method: GET
path: "/v1/github/user"
---

# GetGithubUserStatus returns info about a Github user account based on the caller's installations.
If we don't have access to user's personal account tokens or it is expired, instructions for granting access are returned.

`GET /v1/github/user`

## Response `200`

A successful response.

- V1GetGithubUserStatusResponse
  - `accessToken` string
  - `account` string
  - `grantAccessUrl` string
  - `hasAccess` boolean
  - `organizationInstallationPermissions` object
  - `orgs` string[] — DEPRECATED: Use organization_installation_permissions instead.
  - `userInstallationPermission` 'GITHUB_PERMISSION_UNSPECIFIED' | 'GITHUB_PERMISSION_READ' | 'GITHUB_PERMISSION_WRITE'

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/rilldata/apis/rill-admin-api.md) · [All operations](https://skmtc.net/rilldata/apis/rill-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rilldata/rill-admin-api/revisions/289a0ca9ce49/schema)
