Skip to main content
POST
Reconnect MCP OAuth Connection

Endpoint

POST /v3/tools/credentials/{credential_id}/reconnect

Description

Restart OAuth authorization-code sign-in on an existing connection. Open the returned auth_url in a browser, then refresh the connection status.

Authentication

API key (x-api-key) in the header.

Request

Response

Returns credential_id, status: "pending", and auth_url.

Authorizations

x-api-key
string
header
required

Path Parameters

credential_id
string
required

ID of the named connection.

Body

application/json
redirect_url
string

Optional allowed destination after sign-in.

Response

Successful response

credential_id
string

ID of the named connection.

status
enum<string>
Available options:
success,
pending,
failed
auth_url
string

Browser sign-in URL.