APILinkedIn Messaging
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.
POST
/messaging/send-group-with-typingSend 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.
Authentication requiredMessaging
Code Examples
curl -X POST 'https://api.connectsafely.ai/linkedin/messaging/send-group-with-typing' \ -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 |
conversationUrn | string | No | Conversation URN for existing conversations |
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 typing indicator successfully |
Send message with group context
Send a LinkedIn message to someone using group membership context. Allows messaging non-connections who are members of the same LinkedIn group without using InMail credits.
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.
