Skip to main content
POST
Accept Connection Invitation
Accept a pending connection invitation using the invitation’s shared secret and entity URN.
This endpoint costs 1 credit per request. Ignore this if you’re on per-seat pricing: usage is unlimited.

Header Parameters

string
required
Your API key

Body Parameters

string
required
Shared secret of the invitation
string
required
Entity URN of the invitation
string
default:"FR"
Country code for proxy selection. Available: US, CA, MX, CR, BR, AR, CL, CO, FR, UK, DE, NL, ES, IT, PT, BE, CH, AT, IE, SE, DK, FI, LT, LV, EE, PL, CZ, SK, HU, RO, UA, SI, HR, RS, AL, GR, CY, TR, IL, AE, EG, ZA, IN, PK, BD, JP, SG, MY, ID, TH, PH, AU
string
required
LinkedIn authentication cookie obtained from the login/verify process

Response

string
Request status (success/error)
string
Detailed message about the acceptance status

Notes

  • Both shared_secret and entity_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