---
title: "Submit Oauth Session Endpoint"
method: POST
path: "/v3/mcp/credential-sessions/{session_id}/oauth-callback"
tags: ["v3", "MCP"]
---

# Submit Oauth Session Endpoint

`POST /v3/mcp/credential-sessions/{session_id}/oauth-callback`

Submit OAuth completion from the hosted OAuth page.

Called by the frontend after the OAuth flow completes.
No API key required; the session_id acts as a bearer token.

## Path parameters

- `session_id` string, required

## Request body

- OAuthSubmitRequest — Request body for submitting OAuth completion via the hosted page.
  - `integration_id` string, nullable
  - `success` boolean
  - `error` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/definite/apis/defapi.md) · [All operations](https://skmtc.dev/definite/apis/defapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/definite/defapi/revisions/5ea378187147/schema)
