Network
Accept Connection Invitation
Accept a pending LinkedIn connection invitation
POST
Accept a pending connection invitation using the invitation’s shared secret and entity URN.
This endpoint costs 1 credit per request.
Header Parameters
Your API key
Body Parameters
Shared secret of the invitation
Entity URN of the invitation
Country code for proxy selection. Available: (US,UK,FR)
LinkedIn authentication cookie obtained from the login/verify process
Response
Request status (success/error)
Detailed message about the acceptance status
Notes
- Both
shared_secret
andentity_urn
can be obtained from the/v1/network/invitations
endpoint - The invitation must still be pending and not expired
- Each invitation can only be accepted once
- The API will return an error if:
- The invitation has already been accepted
- The invitation has expired
- The shared secret or entity URN is invalid
- The user doesn’t have permission to accept the invitation