latestOpenAPI 3.1.02026-08-223321,1001.6 MB
2134ebffd1ef
integrations-v3
Consume Mcp Oauth
Finalize a pending OAuth flow into a brand-new MCP integration.
Looks up the pending row, ensures it's been authorized, then creates a new IntegrationInstance with the stored tokens. Returns 404 if the pending row isn't found in the caller's org, or 400 if it hasn't reached the completed state yet.
Permissions: integration setup user.
post/v3/integrations/mcp/oauth/consume
Query parameters
organization_idstring nullable
Request body
Response
Successful Response