CONNECT APP
Build with LinkupAPI for LinkedIn
Developer Tools
- API key
MCP
Give your agent LinkupAPI for LinkedIn tools
Every LinkupAPI for LinkedIn action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's LinkupAPI for LinkedIn account for each tool call — you store no tokens.
// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "linkupapi",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Connect Account:
const result = await mcp.callTool({
name: "linkupapi-connect-account",
arguments: {
loginToken: "Login Token",
email: "Email",
},
})# access_token: mint a short-lived token with the Connect SDK — see the MCP guide
headers = {
"Authorization": f"Bearer {access_token}",
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", # any stable ID for this user in your system
"x-pd-app-slug": "linkupapi",
}
async with streamablehttp_client("https://remote.mcp.pipedream.net/v3", headers=headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
# e.g. run Connect Account:
result = await session.call_tool("linkupapi-connect-account", {
"loginToken": "Login Token",
"email": "Email",
})API PROXY
Call the LinkupAPI for LinkedIn API directly
For an endpoint with no pre-built tool, the Connect proxy forwards your request to the LinkupAPI for LinkedIn API with the connected user's credentials attached. You store no tokens and write no refresh logic.
const resp = await pd.proxy.get({
externalUserId: "{external_user_id}", // any stable ID for this user in your system
accountId: "apn_xxxxxxx",
url: "https://api.linkupapi.com/v1/webhooks/accounts",
})
// Any allowed LinkupAPI for LinkedIn endpoint works here. Pipedream attaches the
// connected account's credentials to the outgoing request.# The path segment is the target URL, URL-safe base64 encoded:
# https://api.linkupapi.com/v1/webhooks/accounts
curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkubGlua3VwYXBpLmNvbS92MS93ZWJob29rcy9hY2NvdW50cw?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
-H "Authorization: Bearer {access_token}" \
-H "x-pd-environment: production"SDK
Run LinkupAPI for LinkedIn actions from your backend
Connect a user's LinkupAPI for LinkedIn account once, then run Connect Account on their behalf from your own code — TypeScript, Python, or plain HTTP.
import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const result = await pd.actions.run({
id: "linkupapi-connect-account",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
linkupapi: { authProvisionId: "apn_xxxxxxx" },
loginToken: "Login Token",
email: "Email",
},
})from pipedream import Pipedream
pd = Pipedream(
client_id="{oauth_client_id}",
client_secret="{oauth_client_secret}",
project_id="{project_id}",
project_environment="production",
)
result = pd.actions.run(
id="linkupapi-connect-account",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"linkupapi": {"authProvisionId": "apn_xxxxxxx"},
"loginToken": "Login Token",
"email": "Email",
},
)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "linkupapi-connect-account",
"configured_props": {
"linkupapi": { "authProvisionId": "apn_xxxxxxx" },
"loginToken": "Login Token",
"email": "Email"
}
}'TOOLS
LinkupAPI for LinkedIn actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Connect Account
actionAuthenticate a LinkedIn account and obtain a persistentaccount_idto reuse across all other actions. Connect with either a login token or email + password. If a checkpoint/challenge is required, follow up with Verify Code. See the documentationWritev0.0.2 -
Connect To Profile
actionSend a connection invitation to a LinkedIn profile. See the documentationWritev1.0.1 -
Create Comment
actionPost a comment on LinkedIn content. See the documentationWritev1.0.1 -
Get Account Details
actionRetrieve details (status, active flag, platform, associated LinkedIn identifier, timestamps) for a connected LinkupAPI account. See the documentationRead-onlyv0.0.1 -
Get Company Info
actionFetch details for a LinkedIn company. See the documentationRead-onlyv1.0.0 -
Get Conversation Messages
actionRetrieve messages from a LinkedIn conversation. Identify the conversation by its ID or by the recipient's profile URL. See the documentationRead-onlyv1.0.1 -
Get Invitations Status
actionList pending connection invitations received by the connected account. Note: this returns invitations received, not ones you have sent. See the documentationRead-onlyv1.0.1 -
Get Profile Info
actionFetch details for a LinkedIn profile. Identify the target by profile URL, public identifier, or profile URN. See the documentationRead-onlyv1.0.1 -
List Accounts
actionList the LinkupAPI accounts connected to your API key, each with its persistentaccount_idto use in other actions. See the documentationRead-onlyv0.0.2 -
List Inbox
actionList conversations from the LinkedIn inbox, each with itsconversation_idto use with Get Conversation Messages. See the documentationRead-onlyv0.0.2 -
Login
actionAuthenticate with LinkedIn credentials. See the documentationWritev0.0.2 -
Search Companies
actionSearch for LinkedIn companies. See the documentationRead-onlyv1.0.0 -
Search Profiles
actionSearch for LinkedIn people. See the documentationRead-onlyv1.0.0 -
Send Message
actionSend a message to a LinkedIn profile. Make sure you are already connected to the recipient. See the documentationWritev1.0.1 -
Verify Code
actionSubmit a checkpoint/challenge verification code to complete authentication for a connected account. See the documentationWritev1.0.1
EVENTS
LinkupAPI for LinkedIn triggers
Event sources your backend can deploy for users and receive through a webhook.
No LinkupAPI for LinkedIn triggers are available yet.
MULTI-APP
Use LinkupAPI for LinkedIn with other popular apps
Most products don't stop at one integration. Pair LinkupAPI for LinkedIn with the other apps your users rely on, and ship use cases that span both.
REFERENCE
App details
Reference metadata for the LinkupAPI for LinkedIn connector in the Pipedream registry.
- App slug
- linkupapi
- Authentication
- API key
- Categories
- Developer Tools
- Actions
- 15
- Triggers
- 0
- API proxy
- Available