---
title: "POST /internal/sdk/authorize-github"
method: POST
path: "/internal/sdk/authorize-github"
---

# POST /internal/sdk/authorize-github

`POST /internal/sdk/authorize-github`

Internally get GitHub token for a linked SDK target repository

## Request body

- object
  - `uid` string, required
  - `teamUid` string, required
  - `language` 'typescript' | 'python' | 'cli' | 'csharp' | 'java' | 'ruby' | 'php' | 'go' | 'rust' | 'kotlin' | 'swift' | 'cpp' | 'dart', required

## Response `200`

Default Response

- object
  - `accessToken` string, required

## Other responses

- `400` — Bad request
- `401` — No auth
- `403` — Forbidden
- `404` — Not found
- `422` — Invalid payload
- `500` — Uncaught error

---

[API](https://skmtc.dev/scalar/apis/core.md) · [All operations](https://skmtc.dev/scalar/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scalar/core/revisions/8586b0646aa3/schema)
