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-typing

Send 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

FieldTypeRequiredDescription
accountIdstringNoLinkedIn account ID (uses default if not provided)
recipientProfileUrnstringYesRecipient's LinkedIn profile URN (required for group messaging)
groupIdstringYesLinkedIn group ID
messagestringYesMessage content
conversationUrnstringNoConversation 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

StatusDescription
200Successful response

200 Example

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