---
title: "Initiate Oauth Flow"
method: POST
path: "/api/auth/oauth/initiate"
tags: ["OAuth", "oauth"]
---

# Initiate Oauth Flow

`POST /api/auth/oauth/initiate`

## 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/initiate`
- Auth: none declared

Initiate OAuth flow for a provider

Returns authorization URL to redirect user to

## Request body

- OAuthInitiateRequest
  - `provider` string, required
  - `integration_name` string, nullable
  - `redirect_after_auth` 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)
