Skip to main content
POST
/
api
/
linkedin
/
management
/
chat
/
message
/linkedin/management/chat/message
curl --request POST \
  --url https://api.anysite.io/api/linkedin/management/chat/message \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "user": {
    "type": "<string>",
    "value": "<string>"
  },
  "text": "<string>",
  "timeout": 300,
  "company": {
    "type": "<string>",
    "value": "<string>"
  }
}
'
[
  {
    "urn": {
      "type": "<string>",
      "value": "<string>"
    },
    "text": "<string>",
    "sent_at": 123,
    "user": {
      "urn": {
        "type": "<string>",
        "value": "<string>"
      },
      "name": "<string>",
      "alias": "<string>",
      "url": "<string>",
      "@type": "LinkedinManagementMe",
      "headline": "<string>"
    },
    "@type": "LinkedinManagementChatMessage"
  }
]

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

user
LinkedinURN[Literal[<LinkedinURNPrefix.fsd_profile: 'fsd_profile'>]] · object
required

User URN to send a message

text
string
required
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
company
LinkedinURN[Literal[<LinkedinURNPrefix.company: 'company'>]] · object

Company URN where the account is admin

Response

Successful Response

urn
LinkedinURN[Literal[<LinkedinURNPrefix.message: 'message'>]] · object
required
text
string
required
sent_at
integer
required
user
LinkedinManagementMe · object
required
@type
string
default:LinkedinManagementChatMessage