Messaging

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

Usage

curviate core message [chatId] [text] [flags]

Examples

curviate core message 2-YTQ3ODU3Njgt "Thanks, that makes sense."
curviate core 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 core message newStart a new chat with one or more members.
curviate core message sendSend a message to an existing chat. Pass a COMPANY_ chat id (from curviate core 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: curviate core inboxes chats (discover a COMPANY_ chat id) and the Reply as a company page guide.
curviate core message getGet a message by ID.
curviate core message editEdit a message (within the allowed window).
curviate core message deleteDelete a message.
curviate core message reactAdd an emoji reaction to a message.
curviate core message attachmentDownload a message attachment.
curviate core message inmailSend an InMail to a member.
curviate core message inmail-balanceGet InMail credit balance.

Exit codes: the exit code table.