Facebook Pixel
ApiUncategorized

Send a connection request

Send a connection request to a LinkedIn member to become 1st-degree connections. Optionally include a personalized message (300 character limit). Connection requests with custom messages have higher acceptance rates. Provide either profileId or profileUrn.

POST/connect

Send a connection request

Send a connection request to a LinkedIn member to become 1st-degree connections. Optionally include a personalized message (300 character limit). Connection requests with custom messages have higher acceptance rates. Provide either profileId or profileUrn.

Authentication requiredActions

Code Examples

curl -X POST '/linkedin/connect' \
-H 'Authorization: Bearer <your_api_key>' \
-H 'Content-Type: application/json' \
-d '{"accountId":"string","profileId":"string","profileUrn":"string","customMessage":"string"}'

Parameters

No parameters.

Request Body

FieldTypeRequiredDescription
accountIdstringNoLinkedIn account ID to use. If not provided, uses the default account.
profileIdstringNoTarget LinkedIn profile public ID (e.g., "john-doe-123")
profileUrnstringNoTarget LinkedIn profile URN (e.g., "urn:li:fsd_profile:ABC123")
customMessagestringNoPersonalized connection message (max 300 characters). Leave empty for default request.

Example

{
  "accountId": "string",
  "profileId": "string",
  "profileUrn": "string",
  "customMessage": "string"
}

Responses

StatusDescription
200Connection request sent successfully