Network
Get Invitations
Retrieve your LinkedIn invitations with pagination support
POST
Get a list of your LinkedIn invitations (sent or received) with detailed information about each invitation.
Credit cost varies based on usage mode:
- Pagination mode: 1 credit per page
- Total results mode: 1 credit per 10 invitations (rounded up)
Header Parameters
Your API key
Body Parameters
LinkedIn authentication cookie obtained from the login/verify process
Country code for proxy selection. Available: (US,UK,FR)
Starting page number for pagination mode
Ending page number for pagination mode
Number of invitations to retrieve (used when not in pagination mode)
Type of invitations to retrieve (optional)
Response
Request status (success/error)
Notes
- The endpoint supports two modes of operation:
- Pagination mode: Specify both
start_page
andend_page
to fetch specific pages - Total results mode: Use
total_results
to specify the number of invitations to fetch
- Pagination mode: Specify both
- When using pagination,
end_page
must be greater than or equal tostart_page
- The
message
field may be null if no message was included with the invitation - The
sent_time
is returned in a human-readable format (e.g., “1 week ago”, “2 months ago”) - Profile pictures URLs are temporary and will expire