curl --request POST \
--url https://api.example.com/v2/network \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"account_id": "<string>",
"action": "<string>",
"params": {
"count": 123,
"offset": 123,
"invitation_type": "<string>"
}
}
'{
"success": true,
"data": {
"invitations": [
{
"entity_urn": "urn:li:invitation:123456789",
"shared_secret": "abcdef12-3456-7890-abcd-ef1234567890",
"sender": {
"first_name": "Alice",
"last_name": "Johnson",
"headline": "Data Scientist",
"linkedin_url": "https://www.linkedin.com/in/alicejohnson",
"profile_picture_url": "https://media.licdn.com/dms/image/..."
},
"invitation_type": "CONNECTION",
"sent_time": "1d",
"sent_time_days": 1
}
],
"total_results": 1,
"total_available_results": 26,
"pagination": {
"offset": 0,
"count": 1,
"next_offset": 1,
"has_more": true,
"results_per_page": 10,
"pages_fetched": 1
}
},
"metadata": {
"action": "list_invitations",
"account_id": "your-account-id",
"credits_consumed": 1,
"timestamp": "2026-04-26T10:35:00Z"
}
}
Retrieve a paginated list of pending invitations received.
curl --request POST \
--url https://api.example.com/v2/network \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"account_id": "<string>",
"action": "<string>",
"params": {
"count": 123,
"offset": 123,
"invitation_type": "<string>"
}
}
'{
"success": true,
"data": {
"invitations": [
{
"entity_urn": "urn:li:invitation:123456789",
"shared_secret": "abcdef12-3456-7890-abcd-ef1234567890",
"sender": {
"first_name": "Alice",
"last_name": "Johnson",
"headline": "Data Scientist",
"linkedin_url": "https://www.linkedin.com/in/alicejohnson",
"profile_picture_url": "https://media.licdn.com/dms/image/..."
},
"invitation_type": "CONNECTION",
"sent_time": "1d",
"sent_time_days": 1
}
],
"total_results": 1,
"total_available_results": 26,
"pagination": {
"offset": 0,
"count": 1,
"next_offset": 1,
"has_more": true,
"results_per_page": 10,
"pages_fetched": 1
}
},
"metadata": {
"action": "list_invitations",
"account_id": "your-account-id",
"credits_consumed": 1,
"timestamp": "2026-04-26T10:35:00Z"
}
}
count for the page size and offset to skip ahead.
count values trigger multiple upstream calls automatically."list_invitations".Show params properties
10. Capped at 1000 per call — to retrieve more, paginate with offset.0. Use pagination.next_offset from a previous response to fetch the next page."CONNECTION"). Omit for all types.Show data properties
entity_urn, shared_secret, sender info, type, and timing.Show pagination properties
total_results).offset in the next request. null when there are no more results.true if more invitations are available beyond this batch.{
"success": true,
"data": {
"invitations": [
{
"entity_urn": "urn:li:invitation:123456789",
"shared_secret": "abcdef12-3456-7890-abcd-ef1234567890",
"sender": {
"first_name": "Alice",
"last_name": "Johnson",
"headline": "Data Scientist",
"linkedin_url": "https://www.linkedin.com/in/alicejohnson",
"profile_picture_url": "https://media.licdn.com/dms/image/..."
},
"invitation_type": "CONNECTION",
"sent_time": "1d",
"sent_time_days": 1
}
],
"total_results": 1,
"total_available_results": 26,
"pagination": {
"offset": 0,
"count": 1,
"next_offset": 1,
"has_more": true,
"results_per_page": 10,
"pages_fetched": 1
}
},
"metadata": {
"action": "list_invitations",
"account_id": "your-account-id",
"credits_consumed": 1,
"timestamp": "2026-04-26T10:35:00Z"
}
}
Was this page helpful?