---
title: "POST /getGitHubAccessToken"
method: POST
path: "/getGitHubAccessToken"
tags: ["WorkspaceGitRepoManagement"]
---

# POST /getGitHubAccessToken

`POST /getGitHubAccessToken`

Get the GitHub access token.

## Query parameters

- `api-version` string, required

## Headers

- `x-ms-client-request-id` string

## Request body

- GitHubAccessTokenRequest
  - `gitHubClientId` string, required — The GitHub Client Id.
  - `gitHubAccessCode` string, required — The GitHub Access code.
  - `gitHubAccessTokenBaseUrl` string, required — The GitHub access token base URL.

## Response `200`

Success

- GitHubAccessTokenResponse
  - `gitHubAccessToken` string

---

[API](https://skmtc.dev/azuresynapse/apis/artifactsclient-2.md) · [All operations](https://skmtc.dev/azuresynapse/apis/artifactsclient-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azuresynapse/artifactsclient-2/revisions/7aef7ef44166/schema)
