Get Connect Link
get_connect_linkReturns the in-app URL to connect a provider (the same ids list_connections uses, or a channel such as linkedin). The link is for this workspace only and never includes tokens or secrets. Connecting accounts and pasting API keys still happens in the Mark app. After the user clicks the link, call sync_connections. For a social channel, list_channels then shows whether the account is connected. Related: list_channels, list_connections, get_setup_status, sync_connections.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"provider": "<provider>"
},
"name": "get_connect_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | connectionId from list_connections, or a channel such as linkedin. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| appUrl | Yes | ||
| uiOnly | Yes | ||
| provider | Yes | ||
| connectionId | Yes |