Skip to main content
POST
/
linkedin
/
accept-connection
Accept a connection invitation
curl --request POST \
  --url https://api.harvest-api.com/linkedin/accept-connection \
  --header 'X-API-Key: <api-key>'
{
  "element": {
    "createdAt": 123,
    "connectedMember": "<string>",
    "entityUrn": "<string>",
    "*connectedMemberResolutionResult": "<string>"
  },
  "status": "<string>",
  "error": "<string>"
}
This endpoint works only with custom accounts. Please check the Using Custom Accounts guide for more details on how to set up and use custom accounts.

Authorizations

X-API-Key
string
header
required

Query Parameters

invitationId
string
required

The ID of the invitation to accept.

sharedSecret
string
required

The shared secret associated with the invitation.

LinkedIn cookies. Please check https://docs.harvest-api.com/guides/custom-accounts for more details on how to get and use the cookies.

proxy
string

Proxy to use for this request. More details - https://docs.harvest-api.com/guides/custom-accounts

userAgent
string

User-Agent to use for this request. More details - https://docs.harvest-api.com/guides/custom-accounts

Response

Invitation accepted successfully

element
object
status
string
error
string