ApiLinkedin messaging
Send Group Message with Typing Indicator
Send a group context message with typing indicator sent first (for existing conversations)
POST
/linkedin/messaging/send-group-with-typingSend Group Message with Typing Indicator
Send a group context message with typing indicator sent first (for existing conversations)
Authentication requiredLinkedIn Messaging
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: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 |
conversationUrn | string | No | Conversation URN (optional, used to send typing indicator first) |
Example
{
"recipientProfileUrn": "urn:li:fsd_profile:ACoAABcn...",
"groupId": "9357376",
"message": "Hello! I saw your post in the group and would like to connect.",
"conversationUrn": "urn:li:msg_conversation:..."
}Responses
| Status | Description |
|---|---|
| 200 | Successful response |
200 Example
{
"success": true,
"message": "Group context message sent successfully",
"recipientProfileUrn": "urn:li:fsd_profile:...",
"groupId": "9357376",
"typingIndicatorSent": true
}