Lettr icon

Lettr

Interact with Lettr transactional email APIs

Audience Segment → Create

AI-generated

Summary

Create an audience segment with a name, optional list restriction, and JSON conditions. Conditions within each group are combined with AND, while groups are combined with OR.

Inputs

  • Name (required) — Name of the segment.
  • List ID — Optionally restrict the segment to a list.
  • Conditions (JSON) (required) — Segment conditions in JSON. Groups are joined by OR; conditions within a group are joined by AND.

Output shape

Unclear from the provided source pack.

The source pack includes only function signatures and does not show the Create operation’s execution or response handling.

Links

Discussion