---
title: "Linear Oauth Callback"
method: POST
path: "/api/linear/oauth/callback"
---

# Linear Oauth Callback

`POST /api/linear/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/linear/oauth/callback`
- Auth: none declared

Accept the OAuth callback URL, exchange code for tokens using stored PKCE/state, and persist to DB.

## Request body

- LinearOAuthCallbackRequest
  - `callback_url` string, required

## Response `200`

Successful Response

- LinearOAuthCallbackResponse
  - `success` boolean, required

## 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)
