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

# Linear Oauth Callback

`POST /api/linear/oauth/callback`

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.net/deeptrace/apis/fastapi.md) · [All operations](https://skmtc.net/deeptrace/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrace/fastapi/versions/1af581120ec0/schema)
