Dashboard

inboxjot segments

Manage segments and their members.

segments list

List segments.

inboxjot segments list [options]
OptionDescription
--type <KIND>Show only segments of this type. One of static, dynamic.
--query <QUERY>Show segments whose name matches this text.
-n, --limit <LIMIT>Show at most this many rows. Default: 50.
--allShow every row, one page after another.
--after <CURSOR>Show the rows after this cursor.
--before <CURSOR>Show the rows before this cursor.
inboxjot segments list --type dynamic

segments inspect

Show a segment and its rules.

inboxjot segments inspect <SEGMENT>
ArgumentDescription
SEGMENTSegment name or ID. Required.
inboxjot segments inspect "Engaged customers"

segments create

Create a segment.

inboxjot segments create [options]
OptionDescription
--name <NAME>Segment name, such as "Engaged customers".
--type <KIND>Segment type [default: dynamic with --conditions, else static]. One of static, dynamic.
--description <DESCRIPTION>Segment description.
--conditions <JSON>Rules of a dynamic segment as JSON, or @file to read them from a file.
inboxjot segments create --name "Beta testers" --type static
inboxjot segments create --name "Pro plan" --type dynamic --conditions @pro.json

segments update

Change a segment.

inboxjot segments update <SEGMENT> [options]
ArgumentDescription
SEGMENTSegment name or ID. Required.
OptionDescription
--name <NAME>New segment name.
--description <DESCRIPTION>New segment description.
--conditions <JSON>New rules as JSON, or @file to read them from a file.
--clear <FIELD>Clear a field. One of description.
inboxjot segments update seg_123 --name "Early customers"

segments delete

Delete a segment.

inboxjot segments delete <SEGMENT>
ArgumentDescription
SEGMENTSegment name or ID. Required.
inboxjot segments delete seg_123

segments members list

List the contacts in a segment.

inboxjot segments members list <SEGMENT> [options]
ArgumentDescription
SEGMENTSegment name or ID. Required.
OptionDescription
--query <QUERY>Show members whose name or email matches this text.
-n, --limit <LIMIT>Show at most this many rows. Default: 50.
--allShow every row, one page after another.
--after <CURSOR>Show the rows after this cursor.
--before <CURSOR>Show the rows before this cursor.
inboxjot segments members list "Beta testers"

segments members add

Add contacts to a static segment.

inboxjot segments members add <SEGMENT> <CONTACT>
ArgumentDescription
SEGMENTSegment name or ID. Required.
CONTACTContact ID or email, or - to read one per line from stdin. Required.
inboxjot segments members add "Beta testers" riti@example.com

segments members remove

Remove contacts from a static segment.

inboxjot segments members remove <SEGMENT> <CONTACT>
ArgumentDescription
SEGMENTSegment name or ID. Required.
CONTACTContact ID or email, or - to read one per line from stdin. Required.
inboxjot segments members remove "Beta testers" riti@example.com