Skip to main content
POST
/
api
/
linkedin
/
management
/
conversations
/linkedin/management/conversations
curl --request POST \
  --url https://api.anysite.io/api/linkedin/management/conversations \
  --header 'Content-Type: application/json' \
  --header 'access-token: <access-token>' \
  --data '{
  "timeout": 300,
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "target_user": {
    "type": "<string>",
    "value": "<string>"
  },
  "company": {
    "type": "<string>",
    "value": "<string>"
  },
  "only_unread": false,
  "count": 1
}'
[
  {
    "@type": "LinkedinManagementConversation",
    "urn": {
      "type": "<string>",
      "value": "<string>"
    },
    "created_at": 123,
    "last_activity_at": 123,
    "last_read_at": 123,
    "unread_count": 123,
    "is_read": true,
    "title": "<string>",
    "participants": [
      {
        "@type": "LinkedinManagementConversationsUser",
        "internal_id": {
          "type": "<string>",
          "value": "<string>"
        },
        "urn": {
          "type": "<string>",
          "value": "<string>"
        },
        "name": "<string>",
        "url": "<string>",
        "image": "<string>",
        "headline": "<string>"
      }
    ],
    "url": "<string>",
    "creator": {
      "@type": "<string>",
      "internal_id": {
        "type": "<string>",
        "value": "<string>"
      },
      "urn": {
        "type": "<string>",
        "value": "<string>"
      },
      "name": "<string>",
      "url": "<string>",
      "image": "<string>",
      "headline": "<string>"
    }
  }
]

Headers

access-token
string
required

Body

application/json
account_id
string<uuid>
required

Can be obtained on the accounts page: https://app.horizondatawave.ai/accounts

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
target_user
object | null
company
object | null

Company URN where the account is admin

only_unread
boolean
default:false
count
integer | null

Max result count

Required range: x > 0

Response

Successful Response

urn
object
required
created_at
integer
required
last_activity_at
integer
required
last_read_at
integer
required
unread_count
integer
required
is_read
boolean
required
participants
Participants · array
required
  • LinkedinManagementConversationsUser
  • LinkedinManagementConversationsCompany
url
string
required
creator
object
required
  • LinkedinManagementConversationsUser
  • LinkedinManagementConversationsCompany
@type
string
default:LinkedinManagementConversation
title
string | null
I