ApiLinkedin messaging

Send Group Message with Delivery Acknowledgment

Send a group context message and acknowledge delivery of previous messages

POST/linkedin/messaging/send-group-with-ack

Send Group Message with Delivery Acknowledgment

Send a group context message and acknowledge delivery of previous messages

Authentication requiredLinkedIn Messaging

Code Examples

curl -X POST 'https://api.connectsafely.ai/linkedin/messaging/send-group-with-ack' \
-H 'Authorization: Bearer <your_api_key>' \
-H 'Content-Type: application/json' \
-d '{"recipientProfileUrn":"urn:li:fsd_profile:ACoAABcn...","groupId":"9357376","message":"Hello! I saw your post in the group and would like to connect."}'

Parameters

No parameters.

Request Body

FieldTypeRequiredDescription
accountIdstringNoLinkedIn account ID (uses default if not provided)
recipientProfileUrnstringYesRecipient's LinkedIn profile URN (required for group messaging)
groupIdstringYesLinkedIn group ID
messagestringYesMessage content
messageUrnsarrayNoArray of message URNs to acknowledge delivery for

Example

{
  "recipientProfileUrn": "urn:li:fsd_profile:ACoAABcn...",
  "groupId": "9357376",
  "message": "Hello! I saw your post in the group and would like to connect.",
  "messageUrns": [
    "urn:li:message:123"
  ]
}

Responses

StatusDescription
200Successful response

200 Example

{
  "success": true,
  "message": "Group context message sent successfully",
  "recipientProfileUrn": "urn:li:fsd_profile:...",
  "groupId": "9357376",
  "acknowledgmentSent": true
}