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: <api-key>' \
  --data '
{
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "timeout": 300,
  "target_user": {
    "type": "<string>",
    "value": "<string>"
  },
  "company": {
    "type": "<string>",
    "value": "<string>"
  },
  "only_unread": false,
  "count": 1
}
'
[
  {
    "urn": {
      "type": "<string>",
      "value": "<string>"
    },
    "created_at": 123,
    "last_activity_at": 123,
    "last_read_at": 123,
    "unread_count": 123,
    "is_read": true,
    "participants": [
      {
        "internal_id": {
          "type": "<string>",
          "value": "<string>"
        },
        "urn": {
          "type": "<string>",
          "value": "<string>"
        },
        "name": "<string>",
        "url": "<string>",
        "@type": "LinkedinManagementConversationsUser",
        "image": "<string>",
        "headline": "<string>"
      }
    ],
    "url": "<string>",
    "creator": {
      "internal_id": {
        "type": "<string>",
        "value": "<string>"
      },
      "urn": {
        "type": "<string>",
        "value": "<string>"
      },
      "name": "<string>",
      "url": "<string>",
      "@type": "LinkedinManagementConversationsUser",
      "image": "<string>",
      "headline": "<string>"
    },
    "@type": "LinkedinManagementConversation",
    "title": "<string>"
  }
]

Authorizations

access-token
string
header
required

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
LinkedinURN[Literal[<LinkedinURNPrefix.fsd_profile: 'fsd_profile'>]] · object
company
LinkedinURN[Literal[<LinkedinURNPrefix.company: 'company'>]] · object

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
LinkedinURN[Literal[<LinkedinURNPrefix.conversation: 'conversation'>]] · 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
(LinkedinManagementConversationsUser · object | LinkedinManagementConversationsCompany · object)[]
required
  • LinkedinManagementConversationsUser
  • LinkedinManagementConversationsCompany
url
string
required
creator
LinkedinManagementConversationsUser · object
required
  • LinkedinManagementConversationsUser
  • LinkedinManagementConversationsCompany
@type
string
default:LinkedinManagementConversation
title
string | null