POST
/
v1
/
network
/
accept-invitation
Accept Connection Invitation
curl --request POST \
  --url https://api.linkupapi.com/v1/network/accept-invitation \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '{
  "shared_secret": "<string>",
  "entity_urn": "<string>",
  "country": "<string>",
  "login_token": "<string>"
}'
{
  "status": "success",
  "message": "Invitation accepted successfully"
}
Accept a pending connection invitation using the invitation’s shared secret and entity URN.
This endpoint costs 1 credit per request.

Header Parameters

x-api-key
string
required
Your API key

Body Parameters

shared_secret
string
required
Shared secret of the invitation
entity_urn
string
required
Entity URN of the invitation
country
string
default:"FR"
Country code for proxy selection. Available: (US,UK,FR)
login_token
string
required
LinkedIn authentication cookie obtained from the login/verify process

Response

status
string
Request status (success/error)
message
string
Detailed message about the acceptance status
{
  "status": "success",
  "message": "Invitation accepted successfully"
}

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