---
title: "Exchange Oauth Identity"
method: POST
path: "/api/v1/auth/oauth/exchange"
tags: ["OAuth"]
---

# Exchange Oauth Identity

`POST /api/v1/auth/oauth/exchange`

## Request

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

由受信任的 MCP 服务将已验证的用户身份换成 HiPo OAuth token。

## Headers

- `x-mcp-internal-secret` string, nullable

## Request body

- OAuthExchangeRequest
  - `user_id` string, uuid, required
  - `client_id` string, required
  - `role` string, required
  - `scopes` string[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/hipowork/apis/hipo-work-ai-recruitment-platform.md) · [All operations](https://skmtc.dev/hipowork/apis/hipo-work-ai-recruitment-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/hipowork/apis/hipo-work-ai-recruitment-platform/revisions/de21a6c57062?raw)
