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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
string
required

The ID of the conversation to retrieve

appUserId
string
required

The ID of the user to take the action for

appUserPoolId
string | null

The ID of the user pool that contains the user ID

Response

200 - application/json

Response for getting a LinkedIn conversation

conversation
object
required

Represents a LinkedIn chat conversation