---
title: "Oauth Finish"
method: POST
path: "/v1/oauth/finish"
tags: ["v1", "protected", "oauth-connect"]
---

# Oauth Finish

`POST /v1/oauth/finish`

## Request

- The document declares no server URL.
- Auth: HTTP bearer

Exchange a returned code and attach the credential, for the flow's own starter.

## Request body

- OAuthFinishRequest
  - `token` string, required

## Response `200`

Successful Response

- OAuthFinishResponse
  - `location` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-20** `a42a0dd554a8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/oauth/finish/post.md)

---

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