LinkedIn
List Messages
Actions (Beta) ๐งช
Integrations
LinkedIn
List Messages
Get the message history and metadata of a specific LinkedIn conversation
GET
/
actions
/
linkedin
/
listMessages
curl --request GET \
--url https://svc.sandbox.anon.com/actions/linkedin/listMessages \
--header 'Authorization: Bearer <token>'
{
"conversation": {
"messages": [
{
"id": "<string>",
"text": "<string>",
"edited": true,
"deleted": true,
"delivered": true,
"timestamp": "<string>",
"senderProfileId": "<string>",
"senderProfileName": "<string>"
}
],
"id": "<string>",
"type": "SINGLE",
"profileId": "<string>",
"timestamp": "<string>",
"unreadCount": 123,
"archived": true,
"mutedUntil": 123,
"readOnly": "0",
"subject": "<string>",
"folder": [
"INBOX"
],
"organizationId": "<string>",
"mailboxId": "<string>",
"contentType": "inmail",
"profiles": [
{
"id": "<string>",
"name": "<string>",
"profileUrl": "<string>",
"isSelf": true
}
],
"seen": true,
"seenBy": {}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
The ID of the conversation to retrieve
The ID of the user to take the action for
The ID of the user pool that contains the user ID
Response
200 - application/json
Response for getting a LinkedIn conversation
Represents a LinkedIn chat conversation
Represents a message in a conversation
Type of the conversation
Available options:
SINGLE
, GROUP
Read-only status of the conversation
Available options:
0
, 1
, 2
Represents the muted status of a conversation
Type of folder containing the conversation
Available options:
INBOX
, INBOX_LINKEDIN_CLASSIC
, INBOX_LINKEDIN_RECRUITER
, INBOX_LINKEDIN_SALES_NAVIGATOR
, INBOX_LINKEDIN_ORGANIZATION
Type of content in the conversation
Available options:
inmail
, sponsored
, linkedin_offer
Was this page helpful?
curl --request GET \
--url https://svc.sandbox.anon.com/actions/linkedin/listMessages \
--header 'Authorization: Bearer <token>'
{
"conversation": {
"messages": [
{
"id": "<string>",
"text": "<string>",
"edited": true,
"deleted": true,
"delivered": true,
"timestamp": "<string>",
"senderProfileId": "<string>",
"senderProfileName": "<string>"
}
],
"id": "<string>",
"type": "SINGLE",
"profileId": "<string>",
"timestamp": "<string>",
"unreadCount": 123,
"archived": true,
"mutedUntil": 123,
"readOnly": "0",
"subject": "<string>",
"folder": [
"INBOX"
],
"organizationId": "<string>",
"mailboxId": "<string>",
"contentType": "inmail",
"profiles": [
{
"id": "<string>",
"name": "<string>",
"profileUrl": "<string>",
"isSelf": true
}
],
"seen": true,
"seenBy": {}
}
}