linkedin

Send LinkedIn message

Transport: call this endpoint with HTTP POST and a JSON request body. Send a LinkedIn DM to an existing conversation or first-degree recipient. This does not auto-route to InMail for non-connections. REQUIRES confirmations.requestAction first. Public REST flow: first call confirmations.requestAction with the exact payload you intend to execute. If Autopilot returns approved=true, retry this endpoint immediately with confirmation_id. Otherwise wait for approval_url to be approved in Zevari, then retry with confirmation_id.

post/v1/linkedin/sendMessage

Request

  • Base URL: https://api.zevari.ai
  • URL: https://api.zevari.ai/v1/linkedin/sendMessage
  • Auth: HTTP bearer

Request body

chatIdstring

Chat ID for existing conversation (from get_inbox)

recipientIdstring

LinkedIn provider ID for new conversation

lead_idstring

Saved lead ID when sending a quiet-reply follow-up

expected_last_inbound_atstring

Quiet-reply guard only. Set with lead_id for re-engaging a quiet saved lead; do not set for live inbox replies without lead_id.

messagestring required

Message content

confirmation_idstring

REQUIRED. ID from confirmations.requestAction. You MUST call confirmations.requestAction FIRST with the exact payload you intend to send, return the data.approval_url to the user, and wait for them to approve. Only then call this tool with the confirmation_id. Without it, this tool returns an error.

bulk_item_idstring

Set when confirmation_id refers to a bulk_actions parent (from confirmations.requestAction). Identifies the per-item child to consume — e.g. 'itm_03'. Omit for single-action confirmations.

Response

Successful Zevari API response.

okboolean required

False when the underlying tool reports an error or a partial failure.

methodstring required

Public API method name.

dataunknown required
request_idstring required

Request correlation ID. Also returned in X-Zevari-Request-Id.

Example response

{
  "method": "campaigns.delete"
}

Changes

No recorded changes to this operation across all 1 revision of this API.