curviate core message new

Start a new chat with one or more members.

Usage

curviate core message new [text] --to <to> [flags]

Examples

curviate core message new --to janesmith "Hi Jane, enjoyed your post on agent evals."
curviate core message new --to janesmith --to ACoAAAexample --subject "Q4 intro" "Hi both, meet each other." --preview
curviate core message new --to janesmith --attach hello.m4a

Arguments

ArgumentRequiredDescription
textnoOpening 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

FlagTypeRequiredDescription
--tostringyesRecipient (repeatable): LinkedIn profile URL (e.g. https://www.linkedin.com/in/some-slug), bare slug (e.g. some-slug), or provider ID (e.g. ACoAAA...). URL and slug inputs resolve the provider ID automatically. One --to starts a direct chat; two or more different people start a group chat. A person named twice counts once.
--subjectstringnoOptional conversation name / subject line (at most 200 characters). The group's name when there are two or more people. Omit it for an unnamed chat; an empty value is a usage error.
--attachstringnoFile 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_TOO_LARGE. Audio to a group, in InMail or to a company page stays a file. --as-file keeps audio a file.
--as-filebooleannoSend every --attach as a file download, audio included (send_mode file). Then the audio may carry text, and several files may go together.
--share-poststringnoShow 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-jobstringnoShow 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.