Skip to main content
Commands for the messages in a conversation. They sit under neetochat conversations messages, since a message always belongs to a conversation. For fields and response details, see the Messages API reference. For the conversation itself, see Conversations. Samples on this page use --json, which is the format you get when output is piped as well. On a terminal without that flag the same data prints as a table. See Output formats.

List messages

Messages in a conversation, oldest first. Internal notes and messages created by NeetoChat are included.
Required arguments:

Show a message

One message in a conversation, when you already have its id and want the full record.
Required arguments: This command takes no flags of its own.
A message created by NeetoChat itself, such as a status change, has a sender with every field null.

Add a message to a conversation

Sends a message or an internal note. The sender is resolved from --sender-email: an active team member’s address sends a reply from that team member, and any other address sends it as a message from the contact, creating a new contact when none exists with that email.
Required arguments:
--kind note adds an internal note that only team members can see; --mention can then be repeated to mention team members by email, and is rejected on a user_message. --external-id makes the request safe to retry: a message with the same id already in the workspace is returned unchanged instead of creating a second one.
With --quiet the command prints only the new record’s identifier, which is convenient in a script.