Skip to main content
POST
/
v2
/
network
Send Connection Request
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": {
    "profile_url": "<string>",
    "identifier": "<string>",
    "message": "<string>"
  }
}
'
{
  "success": true,
  "data": {
    "invitation_urn": "urn:li:invitation:123456789",
    "profile_urn": "urn:li:fsd_profile:ACoAABxxxxxxx",
    "first_name": "John",
    "last_name": "Doe",
    "headline": "Senior Software Engineer at Acme Corp",
    "public_identifier": "johndoe",
    "profile_picture_url": "https://media.licdn.com/dms/image/example.jpg"
  },
  "metadata": {
    "action": "invite",
    "account_id": "your-account-id",
    "credits_consumed": 1,
    "timestamp": "2026-03-24T12:00:00Z"
  }
}

Overview

Sends a connection request (invitation) to a user. You can identify the target by their profile URL or a unique identifier. Optionally include a personalized message with the invitation.
This endpoint consumes 1 credit per request.

Request

x-api-key
string
required
Your API key for authentication.
account_id
string
required
The unique identifier of the account to use.
action
string
required
Must be "invite".
params
object
required

Response

success
boolean
Indicates whether the request was successful.
data
object
Details of the sent invitation.
metadata
object
{
  "success": true,
  "data": {
    "invitation_urn": "urn:li:invitation:123456789",
    "profile_urn": "urn:li:fsd_profile:ACoAABxxxxxxx",
    "first_name": "John",
    "last_name": "Doe",
    "headline": "Senior Software Engineer at Acme Corp",
    "public_identifier": "johndoe",
    "profile_picture_url": "https://media.licdn.com/dms/image/example.jpg"
  },
  "metadata": {
    "action": "invite",
    "account_id": "your-account-id",
    "credits_consumed": 1,
    "timestamp": "2026-03-24T12:00:00Z"
  }
}