APILinkedIn Messaging
Send group message with delivery acknowledgment
Send a LinkedIn message using group context while acknowledging delivery of previous messages. Useful for group-based conversations where you want to track message delivery.
POST
/messaging/send-group-with-ackSend group message with delivery acknowledgment
Send a LinkedIn message using group context while acknowledging delivery of previous messages. Useful for group-based conversations where you want to track message delivery.
Authentication requiredMessaging
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:ACoAABcdefgh","groupId":"12345678","message":"Hello! I would like to connect with you."}'Parameters
No parameters.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
accountId | string | No | LinkedIn account ID to use. If not provided, uses the default account. |
recipientProfileUrn | string | Yes | Recipient LinkedIn profile URN |
groupId | string | Yes | LinkedIn group ID |
message | string | Yes | Message content to send |
messageUrns | array | No | Message URNs to acknowledge |
Example
{
"recipientProfileUrn": "urn:li:fsd_profile:ACoAABcdefgh",
"groupId": "12345678",
"message": "Hello! I would like to connect with you."
}Responses
| Status | Description |
|---|---|
| 200 | Group message sent with acknowledgment successfully |
Send group message with typing indicator
Send a LinkedIn message using group context after showing a typing indicator. Combines group messaging capability with natural typing simulation.
Mark conversation as seen
Mark a LinkedIn conversation as seen/read. This updates the read status for the sender and removes the unread indicator. Useful for managing inbox state programmatically.
