st.retrievePendingRequests
This action allows you to retrieve pending connection requests sent from your account.
In the SDK this is the retrievePendingRequests method. It takes the parameters below except label and then, which exist only in workflow JSON, and returns the result below in data.
In the CLI this is linkedin connection pending – the command is below, under Parameters.
Constraints
⏺️ Root Start: allowed.
⬆️ Parent Actions: N/A.
⬇️ Child Actions: N/A.
Parameters
{
"actionType": "st.retrievePendingRequests",
"label": "listPending1"
}In AI assistants, the MCP server runs this action as the retrieve_pending_requests tool.
In the CLI this is linkedin connection pending:
bash
linkedin connection pending --jsonlabel(optional) – custom label for tracking this action in workflow completion.
Result options
This action always completes successfully. Even if you have no pending connection requests, it returns an empty array.
json
{
"actionType": "st.retrievePendingRequests",
"label": "listPending1",
"success": true,
"data": [
{
"name": "John Doe",
"urn": "urn:li:member:123456789",
"publicUrl": "https://www.linkedin.com/in/johndoe",
"headline": "Founder & CEO at Example Company",
"sentTime": "2 weeks ago"
},
{
"name": "Jane Smith",
"urn": "urn:li:member:234567890",
"publicUrl": "https://www.linkedin.com/in/janesmith",
"headline": "CTO at Tech Solutions",
"sentTime": "1 month ago"
},
{
"name": "Carlos Santos",
"urn": null,
"publicUrl": "https://www.linkedin.com/in/carlossantos",
"headline": "Product Manager at Startup Hub",
"sentTime": "3 months ago"
}
]
}label– included only if specified in the action parameters.data– array of pending connection requests.name– full name of the person.urn– URN of the person, ornullif LinkedIn does not expose it.publicUrl– public LinkedIn URL of the person.headline– headline of the person.sentTime– time since the connection request was sent (e.g., "1 month ago").