Messaging

Send and manage LinkedIn messages. A COMPANY_ chat id (from inboxes chats) sends as that company page instead of yourself; see message send --help.

Usage

curviate message [chatId] [text] [flags]

Examples

curviate message 2-YTQ3ODU3Njgt "Thanks, that makes sense."
curviate message 2-YTQ3ODU3Njgt "See the attached brief." --attach brief.pdf

Arguments

ArgumentRequiredDescription
chatIdnoChat ID to send a message to. A COMPANY_ chat id sends as the company page.
textnoMessage text. Pass - to read from stdin.

Flags

FlagTypeRequiredDescription
--attachstringnoFile to attach (repeatable).

Also accepts these global flags: --api-key, --profile, --account, --base-url, --timeout, --json, --preview, --verbose, --beta.

Before you start: an API key and a connected LinkedIn account, see the Quickstart.

Commands

CommandDescription
curviate message newStart a new chat with one or more members.
curviate message sendSend a message to an existing chat. Pass a COMPANY_ chat id (from inboxes chats) to send as that company page instead of yourself, no separate flag needed. The output shows the acting identity: a company-page send prints "Sent as <name> (company page)", a personal send prints nothing new. See also: inboxes chats (discover a COMPANY_ chat id) and the Reply as a company page guide.
curviate message getGet a message by ID.
curviate message editEdit a message (within the allowed window).
curviate message deleteDelete a message.
curviate message reactAdd an emoji reaction to a message.
curviate message attachmentDownload a message attachment.
curviate message inmailSend an InMail to a member.
curviate message inmail-balanceGet InMail credit balance.

Exit codes: the exit code table.