st.acceptConnectionRequest
This action allows you to accept an incoming connection request from a person.
Constraints
⏺️ Root Start: allowed, when
personUrlparameter is provided.
⬆️ Parent Actions: st.openPersonPage.
⬇️ Child Actions: N/A.
Parameters
json
{
"actionType": "st.acceptConnectionRequest",
"label": "person1",
"personUrl": "https://www.linkedin.com/in/person1"
}label(optional) – custom label for tracking this action in workflow completion.personUrl(required for root start, forbidden for parent start) – public or hashed LinkedIn URL of the person whose connection request you want to accept.
Result options
- Successful connection request acceptance:
json
{
"actionType": "st.acceptConnectionRequest",
"label": "person1",
"success": true
}label– included only if specified in the action parameters.
- Failed connection request acceptance:
json
{
"actionType": "st.acceptConnectionRequest",
"label": "person1",
"success": false,
"error": {
"type": "noPendingRequest",
"message": "There is no incoming connection request from this person."
}
}label– included only if specified in the action parameters.error.type– enum with the following possible values:personNotFound– provided URL is not an existing LinkedIn person.selfProfileNotAllowed– action cannot be performed on your own profile.alreadyConnected– your LinkedIn account is already connected with this person.noPendingRequest– there is no incoming connection request from this person.