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
/connectSend 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
| Field | Type | Required | Description |
|---|---|---|---|
accountId | string | No | LinkedIn account ID to use. If not provided, uses the default account. |
profileId | string | No | Target LinkedIn profile public ID (e.g., "john-doe-123") |
profileUrn | string | No | Target LinkedIn profile URN (e.g., "urn:li:fsd_profile:ABC123") |
customMessage | string | No | Personalized connection message (max 300 characters). Leave empty for default request. |
Example
{
"accountId": "string",
"profileId": "string",
"profileUrn": "string",
"customMessage": "string"
}Responses
| Status | Description |
|---|---|
| 200 | Connection request sent successfully |
