Open MCP Portaldocs
ReferenceConnections

What a consent link is for, so the web app can confirm before leaving for the provider

GET/v1/connect/requests/{requestId}

Signed in, and only the person the link was made for; anyone else gets 404 connect_request_not_found, the same as an unknown ID. 410 connect_request_expired once it expired (10 minutes) or was used.

Path Parameters

requestId*string

The opaque ID from a consent link (the request query parameter of /connect/{provider})

Match^[A-Za-z0-9_-]{43}$

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/connect/requests/string"
{  "data": {    "id": "string",    "provider": {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "slug": "string",      "name": "string",      "preset": "github",      "logoUrl": "string",      "kind": "oauth2",      "server": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "slug": "string",        "name": "string",        "teamSlug": "string"      }    },    "reason": "not_connected",    "requiredScopes": [      "string"    ],    "requestScopes": [      "string"    ],    "grantedScopes": [      "string"    ],    "accountLabel": "string",    "gateway": {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "slug": "string",      "name": "string",      "exists": true    },    "capability": {      "kind": "tool",      "exposedName": "github-tools__create_issue",      "title": "string"    },    "authorizationServerHost": "github.com",    "createdAt": "2019-08-24T14:15:22Z",    "expiresAt": "2019-08-24T14:15:22Z"  }}