CognitiveX Docs
API

GET /api/mcp/oauth/social/{provider}/callback

Mcp Oauth Social Callback

GET /api/mcp/oauth/social/{provider}/callback

Mcp Oauth Social Callback

Authentication: Authorization: Bearer <key> or X-API-Key: <key>. Create keys at developers.cognitivx.io/keys.

Parameters

NameInTypeRequiredDescription
providerpathstringYes-
codequerystringNo-
statequerystringNo-
errorquerystringNo-

Example request

curl -X GET https://api.cognitivx.io/api/mcp/oauth/social/{provider}/callback \
  -H "Authorization: Bearer icog_..."

Example response

200 application/json

null

Responses

StatusDescription
200Success. Returns the response body shown below.
422Request validation failed. detail lists each offending field.