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-ackSend 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
| Field | Type | Required | Description |
|---|---|---|---|
accountId | string | No | LinkedIn account ID (uses default if not provided) |
recipientProfileUrn | string | Yes | Recipient's LinkedIn profile URN (required for group messaging) |
groupId | string | Yes | LinkedIn group ID |
message | string | Yes | Message content |
messageUrns | array | No | Array 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
| Status | Description |
|---|---|
| 200 | Successful response |
200 Example
{
"success": true,
"message": "Group context message sent successfully",
"recipientProfileUrn": "urn:li:fsd_profile:...",
"groupId": "9357376",
"acknowledgmentSent": true
}