---
title: "Oauth Callback"
method: GET
path: "/api/auth/oauth/callback"
tags: ["OAuth", "oauth"]
---

# Oauth Callback

`GET /api/auth/oauth/callback`

## Request

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

OAuth callback endpoint

Handles the redirect from OAuth provider after user authorization

Note: Shopee doesn't return 'state' parameter in callback,
so we need to handle it differently

## Query parameters

- `code` string, required
- `state` string, nullable
- `shop_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/apitomcp/apis/api-to-mcp-platform.md) - [All operations](https://skmtc.dev/apitomcp/apis/api-to-mcp-platform/llms.txt) - [OpenAPI document](https://skmtc.dev/apitomcp/apis/api-to-mcp-platform/revisions/32569c7a994c?raw)
