Send a message to a LinkedIn Group Member
POST /api/v1/send_message_to_group_member
This API allows the authenticated user to send a message to an existing LinkedIn message thread by providing the thread ID, their own profile ID, and the message content.
The profile_id is a unique identifier used by LinkedIn to distinguish individual user profiles. On WeLink, you can obtain the profile_id by calling the /api/v1/get_profile_details API. In the response of this API, the field profile_id is provided. This value should be used as the profile_id when making requests to other WeLink APIs that require a LinkedIn profile reference. The group_id parameter should be the group ID.
To track whether your message receives a reply, see How to Use Track Reply.
Headers
| Name | Type | Required |
|---|---|---|
x-api-key | string | Yes |
x-api-secret | string | Yes |
Request Body
Schema
accountIdstringrequiredThe unique identifier of the WeLink account.
group_idstringrequiredThe unique identifier of the LinkedIn group.
profile_idstringrequiredThe unique identifier of the LinkedIn profile.
messagestringrequiredThe content of the message to be sent.
frequencynumberFrequency of tracking reply for this message (in hours).
track_replybooleanBoolean to enable reply tracking for this message.
Sample Request
{
"accountId": "string",
"group_id": "string",
"profile_id": "string",
"message": "string",
"frequency": 0,
"track_reply": false
}