v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01302395850.8 KB
v1
integrations

Exchange OAuth code for tokens

post/api/integrations/{provider}/callback

Path parameters

providerstring required

Provider name for integrations. Can be any string value, including custom provider names.

Request body

codestring required
state_tokenstring required

Response

Successful Response

idstring required
providerstring required
type'api_key' | 'oauth2' | 'user_password' | 'host_scoped' required
titlestring nullable required
scopesstring[] nullable required
usernamestring nullable required
hoststring nullable

Host pattern for host-scoped or MCP server URL for MCP credentials

is_managedboolean