Sazabi
APIMCP connectors

Get an MCP connector OAuth install attempt

Poll the status of an in-progress OAuth MCP connector install. Returns authorizing while the user completes the browser flow, connected on success, or error on failure.

GET https://api.sazabi.com/v1/mcp-connectors/oauth/attempts/{connectionId}

GET
/mcp-connectors/oauth/attempts/{connectionId}

Path Parameters

connectionId*string

Connection ID returned by beginMcpOAuthInstall.

Formatuuid

Query Parameters

requestId?string

Authorization attempt returned by beginOAuthInstall. When omitted, polls the latest attempt created by the current user for this connection. Never infers completion from an earlier connected state.

Formatuuid
projectId?string

Project the connection belongs to. Auto-filled from SDK context when omitted.

Formatuuid

Response Body

application/json

curl -X GET "https://example.com/mcp-connectors/oauth/attempts/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "status": "authorizing",  "connector": {    "maskedHeaders": [      {        "id": "string",        "name": "string",        "maskedValue": "string"      }    ],    "grantedScopes": [      "string"    ],    "connectionStatus": {      "state": "connected",      "reasonCode": "credentials_rejected",      "checkedAt": "2019-08-24T14:15:22Z",      "verification": "verified"    },    "recovery": {      "action": "reconnect",      "canCheck": true,      "canDisconnect": true,      "target": {        "kind": "integration",        "resourceId": "string",        "providerId": "string",        "scope": {          "kind": "user",          "id": "string"        }      }    },    "connectionId": "84b500d7-71c8-4b1f-adf4-f1eb0000973d",    "connectionKey": "string",    "providerId": "string",    "displayName": "string",    "source": "preset",    "installStatus": "configured",    "authMode": "none",    "transport": "streamable-http",    "serverUrl": "string",    "readOnly": true,    "management": {      "mode": "user",      "managedBy": {        "type": "integration",        "id": "string",        "displayName": "string",        "iconKey": "string"      },      "capabilities": {        "canRename": true,        "canEditCredentials": true,        "canSetReadOnly": true,        "canConfigureTools": true,        "canDisconnect": true      }    },    "enabledToolCount": 0,    "connectedAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}