---
title: "Link Github App Session"
method: POST
path: "/api/auth/github-app/session"
---

# Link Github App Session

`POST /api/auth/github-app/session`

## Request body

- GitHubAppSessionRequestDTO
  - `providerToken` string, required
  - `providerRefreshToken` string, required
  - `email` string, nullable

## Response `200`

Successful Response

- UserDTO
  - `githubUserId` integer, required
  - `githubLogin` string, required
  - `avatarUrl` string, required
  - `cliSetupIntroSeenAt` string, nullable, required
  - `initialRegistrationSetupRequired` boolean, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/codealmanac/apis/codealmanac-api.md) · [All operations](https://skmtc.dev/codealmanac/apis/codealmanac-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/codealmanac/codealmanac-api/revisions/bc053e1aa7f6/schema)
