Messaging / CLI

Send message

Send a LinkedIn message in a conversation. Reuse the same idempotencyKey for retries within 24 hours. Verify delivery after uncertain results before creating a new key.

pipeline send-messageDeterministic operation

Parameters

workspaceIdOptional · string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
conversationIdRequired · string
See the input schema for this field.
linkedinAccountIdRequired · string
See the input schema for this field.
messageRequired · string
See the input schema for this field.
idempotencyKeyRequired · string
See the input schema for this field.
Request example
pipeline send-message \
  --conversation-id "00000000-0000-4000-8000-000000000000" \
  --linkedin-account-id "00000000-0000-4000-8000-000000000000" \
  --message "example" \
  --idempotency-key "example1"
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "minLength": 1,
      "description": "Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client."
    },
    "conversationId": {
      "type": "string"
    },
    "linkedinAccountId": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "idempotencyKey": {
      "type": "string",
      "minLength": 8,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9._-]+$"
    }
  },
  "required": [
    "conversationId",
    "linkedinAccountId",
    "message",
    "idempotencyKey"
  ]
}
See this operation inMCP REST API TypeScript SDK
CLI guide | Pipeline v2 preview