curviate core message send
Send 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.
Usage
curviate core message send <chatId> [text] [flags]Examples
curviate core message send 2-YTQ3ODU3Njgt "Thanks, that makes sense."
curviate core message send 2-YTQ3ODU3Njgt --share-post 7380123456789012345 "This is the post I meant." --preview
curviate core message send 2-YTQ3ODU3Njgt --attach hello.m4aArguments
| Argument | Required | Description |
|---|---|---|
chatId | yes | Chat ID or LinkedIn messaging thread URL. A COMPANY_ chat id sends as the company page; any other chat id sends as the connected member. |
text | no | Message text. Pass - to read from stdin (e.g. via heredoc or pipe). Omit it only for a voice note: one --attach audio file alone. |
Flags
| Flag | Type | Required | Description |
|---|---|---|---|
--attach | string | no | File to attach (repeatable). Not with --share-post or --share-job. One audio file (MP3, WAV, M4A, WebM, Ogg) alone, with no text, to one person, arrives as a voice note: no duration limit is stated here, and a size the platform refuses is PAYLOAD_ |
--as-file | boolean | no | Send every --attach as a file download, audio included (send_mode file). Then the audio may carry text, and several files may go together. |
--share-post | string | no | Show a post natively in the message, beside the text (text required, no --attach). The post id from curviate core post get or a list; an activity id, URN or share URL also works. Not with --share-job. Whether a post id renders in the message is unproven until a live send. |
--share-job | string | no | Show a job posting natively in the message, beside the text (text required, no --attach). The numeric job id or a LinkedIn job URL. Not with --share-post. |
Also accepts these global flags: --api-key, --profile, --account, --team, --base-url, --timeout, --json, --preview, --verbose, --beta.
Exit codes: the exit code table. More commands: Messaging.