POST
/
v1
/
linkedin
/
messages
curl --request POST \
  --url https://api.papercuts.ai/v1/linkedin/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-User-Token: <api-key>' \
  --data '{
  "profileName": "<string>",
  "message": "<string>"
}'
{
  "status": "ok"
}

Authorizations

Authorization
string
header
required

Your Papercuts API Key

X-User-Token
string
header
required

User Token received while integrating end user accounts

Body

application/json
profileName
string
required

The profile name of the person to send the message. For example, for the account with the URL 'https://www.linkedin.com/in/billgates/', the profile name would be 'billgates'.

message
string
required

The content of the message

Response

200
application/json
Message sent successfully
status
enum<string>
Available options:
ok,
error