Skip to main content
POST
Send a LinkedIn InMail to a contact

Authorizations

Authorization
string
header
required

Authenticate every request with a Bearer token. Pass your Reply API key in the Authorization header:

Get your API key from the Reply dashboard: Settings → API Key.

Path Parameters

id
integer
required

Contact ID

Required range: x >= 1

Body

application/json
linkedInAccountId
integer
required

ID of the LinkedIn account to send from. Must be greater than 0.

subject
string
required

InMail subject line.

Maximum string length: 200
body
string
required

InMail body text.

Maximum string length: 1900

Response

InMail sent successfully.

Response returned after a direct LinkedIn action is dispatched.

actionType
enum<string>
required

The type of LinkedIn action performed.

Available options:
connect,
inMail,
message,
voice,
aiVoice
linkedInActivityId
integer
required

ID of the LinkedIn activity record created for this action.

sentAtUtc
string<date-time>
required

UTC timestamp when the action was dispatched.