Invitations
The identity of the resourceName is invitations
. Currently, this resource captures all invitations acted on the behalf of the regulated members. This means an invitation sent by the regulated member will show up whereas an invitation received by the regulated member will not show up unless the member accept/decline the invitation. The methods available are: CREATE
for invitations created via Invitations API, ACTION verifyAndCreate
for invitations created or received via LinkedIn UI, PARTIAL_UPDATE
, ACTION inviteeClosingInvitation
, ACTION inviterClosingInvitation
, ACTION purge
, and DELETE
.
Note
We do not currently capture address/contact book import.
Refer here for more information on invitations.
Action verifyAndCreate - Send an Invitation via LinkedIn UI
{
"owner": "urn:li:person:<inviterID>",
"resourceId": "7030825461085577216",
"activity": {
"invitationV2": {
"inviter": "urn:li:person:<inviterID>",
"invitee": "urn:li:person:<inviteeID>",
"trackingId":"<>"
}
},
"method": "ACTION",
"configVersion": 7,
"parentSiblingActivities": [],
"methodName": "verifyAndCreate",
"resourceName": "invitations",
"resourceUri": "/invitations",
"actor": "urn:li:person:<inviterID>",
"activityId": "90431a9a-2897-49cc-b0a0-b9a0292dbc04",
"processedAt": 1676279446917,
"activityStatus": "SUCCESS",
"capturedAt": 1676279416795,
"processedActivity": {
"invitationV2": {
"invitee~": {
"localizedLastName": "lastName",
"firstName": {
"localized": {
"en_US": "firstName"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"profilePicture": {...},
"lastName": {
"localized": {
"en_US": "lastName"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"vanityName": "vanityName",
"localizedHeadline": "Test Headline",
"headline": {
"localized": {
"en_US": "Test Headline"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"localizedFirstName": "firstName"
},
"inviter": "urn:li:person:<inviterID>",
"inviter~": {
"localizedLastName": "lastName2",
"firstName": {...},
"profilePicture": {...},
"lastName": {...},
"vanityName": "vanityName2",
"localizedHeadline": "Headline2",
"headline": {...},
"localizedFirstName": "firstName2"
},
"invitee": "urn:li:person:<inviteeID>"
}
},
"siblingActivities": [],
"id": 1757310665
}
create invitation - Create an Invitation via Invitations API
{
"activity": {
"invitee": "urn:li:person:ZM4CYeotJo",
"inviter": "urn:li:person:Ylpq-RobP9",
"message": {
"com.linkedin.invitations.InvitationMessage": {
"body": "Connect please!"
}
},
"trackingId": "M\u00f3]e3\u009dL\u00af\u008fuN^M\u00ee\u00eb\u00c0"
},
"activityId": "12356788990000",
"actor": "urn:li:person:Ylpq-RobP9",
"capturedAt": 1496261559612,
"configVersion": 6,
"id": 46843,
"method": "CREATE",
"owner": "urn:li:person:Ylpq-RobP9",
"processedActivity": {
"invitee": "urn:li:person:ZM4CYeotJo",
"invitee~": {
"firstName": {
"localized": {
"en_US": "Bob"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"headline": {
"localized": {
"en_US": "Software Engineer at LinkedIn"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"lastName": {
"localized": {
"en_US": "Smith"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
}
},
"inviter": "urn:li:person:Ylpq-RobP9",
"inviter~": {
"firstName": {
"localized": {
"en_US": "John"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"headline": {
"localized": {
"en_US": "Developer"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"lastName": {
"localized": {
"en_US": "Doe"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
}
}
},
"processedAt": 1496261577610,
"resourceId": "urn:li:invitation:6275775843683840000",
"resourceName": "invitations",
"resourceUri": "/invitations/urn:li:invitation:6275775843683840000"
}
action inviterClosingInvitation - withdraw an invitation
{
"activity": {
"inviteActionData": [
{
"invitationId": "urn:li:invitation:6230172048157614080"
}
],
"inviter": "urn:li:person:Ylpq-RobP9",
"inviterActionType": "WITHDRAW"
},
"activityId": "f8b05048-66e4-46bc-8653-f9fe6f9f3719",
"actor": "urn:li:person:Ylpq-RobP9",
"capturedAt": 1496417998332,
"configVersion": 5,
"id": 51411,
"method": "ACTION",
"methodName": "inviterClosingInvitation",
"owner": "urn:li:person:Ylpq-RobP9",
"processedActivity": {
"inviteActionData": [
{
"invitationId": "urn:li:invitation:6230172048157614080",
"invitationId~": {
"created": 1485388767467,
"invitee": "urn:li:person:RT7VAAk2nr",
"invitee~": {
"firstName": {
"localized": {
"en_US": "Doe"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"headline": {
"localized": {
"en_US": "developer"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"lastName": {
"localized": {
"en_US": "John"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
}
},
"lastModified": 1496417998290,
"sentAt": 1485388791605
}
}
],
"inviter": "urn:li:person:Ylpq-RobP9",
"inviterActionType": "WITHDRAW",
"inviter~": {
"firstName": {
"localized": {
"en_US": "Bob"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"headline": {
"localized": {
"en_US": "LinkedIn Engineer"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
},
"lastName": {
"localized": {
"en_US": "Smith"
},
"preferredLocale": {
"country": "US",
"language": "en"
}
}
}
},
"processedAt": 1496418019786,
"resourceId": "",
"resourceName": "invitations",
"resourceUri": "/invitations"
}