Write

Respond To LinkedIn Invitation

Accept or decline an incoming connection invitation using its invitation_urn from list_invitations with direction incoming. There is no daily limit on responses, and some invitations also require the shared_secret returned alongside the URN. The tool returns an error if the URN is invalid or the invitation has already been actioned.

respond_to_invitationPOST/api/v1/network/invitations/respond
crispy — bash

Example prompt: Accept the incoming connection request from the marketing director and decline the recruiter spam

{
  "status": "accepted",
  "invitation_urn": "urn:li:invitation:7412938501234"
}
Permission scope
core
Access
Write
Category
Connections

What you can build

Accept relevant inbound requests in bulk to grow your network efficiently
Decline off-target or spammy invitations to keep your network clean
Triage incoming requests programmatically right after an inbox review
Action accepted connections immediately to kick off a welcome message

Parameters

Inputs accepted by respond_to_invitation.

NameTypeDescription
invitation_urnstringInvitation URN from list_invitations result (e.g. 'urn:li:invitation:...').
action"accept" | "decline"Action to take: 'accept' or 'decline'.
shared_secretstringShared secret from list_invitations result (required by some invitations).

The complete LinkedIn API. Ready when you are.

Connect your first LinkedIn profile in under 5 minutes. Every tool, every seat, no feature gates. Safe limits, warm-up, and full permission control built in.