LinkedIn Accounts / TypeScript SDK

Send connection request

Send a LinkedIn connection request to a profile.

pipeline.sendConnectionRequestDeterministic operation

Parameters

workspaceIdOptional · string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
accountIdRequired · string
See the input schema for this field.
profileUrlRequired · string
See the input schema for this field.
messageOptional · string
See the input schema for this field.
Request example
await pipeline.sendConnectionRequest({
  "accountId": "00000000-0000-4000-8000-000000000000",
  "profileUrl": "https://example.com"
})
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "minLength": 1,
      "description": "Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client."
    },
    "accountId": {
      "type": "string"
    },
    "profileUrl": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "accountId",
    "profileUrl"
  ]
}
See this operation inCLI MCP REST API
TypeScript SDK | Pipeline v2 preview