Get a link to connect a social account
get_connect_urlReturn a link the human can open to connect a new social account, or to reconnect one whose token expired. An agent cannot complete this itself (the network requires a browser login), but handing over the link is what unblocks the person. When the accounts belong to someone else — the client of an agency or social media manager — use for_client: true: it returns a link to send to that client, who connects their own networks into this workspace without an Ignix account (it only allows connecting, expires in 7 days, can be revoked in Accounts or with revoke_connect_link).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | Network to connect (instagram, tiktok, linkedin…). | |
| for_client | No | The accounts are the CLIENT's (an agency managing a client's brand): return a link for the client to connect their own networks into this workspace, any network, no Ignix account needed. No platform needed. | |
| client_name | No | With for_client: who the link is for (shown in Accounts to recognise it). | |
| workspaceId | No | Workspace to work on (an id from list_workspaces). Not needed when this connection is tied to one workspace, or when you pass an account: the account's workspace is used. | |
| idempotencyKey | No | Optional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice. | |
| reconnectAccountId | No | To RECONNECT an existing account, its Ignix id (instead of platform). |