---
title: "Oauth Callback"
method: POST
path: "/api/gitlab/oauth/callback"
tags: ["gitlab-code"]
---

# Oauth Callback

`POST /api/gitlab/oauth/callback`

## Request

- Base URL: `https://api.deeptrace.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deeptrace.com/api/gitlab/oauth/callback`
- Auth: none declared

## Request body

- GitLabOAuthCallbackRequest: Request body for completing the GitLab OAuth callback.
  - `callback_url` string, required

## Response `200`

Successful Response

- GitLabOAuthCallbackResponse: Response returned after GitLab OAuth succeeds.
  - `success` boolean, required
  - `message` string, required
  - `project_paths` string[]

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deeptrace/apis/deeptrace-api.md) - [All operations](https://skmtc.dev/deeptrace/apis/deeptrace-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deeptrace/apis/deeptrace-api/revisions/855e59bb07f0?raw)
