latestOpenAPI 3.1.02026-08-236994571.1 MB

79928a3d37d3

mcp

Store Mcp Oauth User Credential

Store the calling user's OAuth2 token for an OpenAPI MCP server

post/v1/mcp/server/{server_id}/oauth-user-credential

Path parameters

server_idstring required

Request body

access_tokenstring required
refresh_tokenstring nullable
expires_ininteger nullable
scopesstring[] nullable

Response

Successful Response

server_idstring required
has_credentialboolean required
expires_atstring nullable
is_expiredboolean
connected_atstring nullable