Send Connection Request

Use the Send Connection Message endpoint to reach out to people who aren’t yet in your network — including 2nd and 3rd+ degree connections.
You can send a connection request with or without a personalized message, all via a simple API call .

  • You must have already connected your LinkedIn account.

  • Include the X-AccountId header in the request.

  • You need to provide the profileId of the profile you want to connect with.

  • Use "message": null to send a blank connection request.

  • To send a personalized message, insert your custom text into the "message" field.

Check how to find profileId in Messaging & Chats > Retrieve LinkedIn profiles


🔗Send a LinkedIn connection request to a specified profile.

POST/api/v1/invitations

curl https://api.salesflow.io/public/api/v1/invitations \
  --request POST \
  --header 'X-AccountId: 1234567890' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "profileId": "target_profile_id",
  "message": "your_message"
}'

Response Example:

{
  "alreadySent": false,
  "invitationId": "AFFFYYZZZ84843"
}