campaignstack_link_lead_profile
Attach a platform profile (LinkedIn or X) to an existing PRIVATE lead so one person is sequenceable across channels. Provide at least one of url, externalId, or handle. Fails with PROFILE_ALREADY_LINKED if the profile is attached to a different lead. API-key callers may only link profiles on private (workspace-scoped) leads. Global leads are read-only for user-supplied data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Profile URL (e.g. https://linkedin.com/in/jane or https://x.com/jane) | |
| handle | No | X handle (with or without @) | |
| leadId | Yes | Private lead id (API-key callers may only link on private leads) | |
| platform | Yes | Platform of the profile being linked | |
| externalId | No | Platform-native external id | |
| workspaceId | No | Defaults to the API key's workspace |