DMLY icon

DMLY

Interact with the DMLY REST API

Segment → Create

AI-generated

Summary

Create a DMLY contact segment with a required name and optional filters for conditions, tags, inactivity, and stage.

Inputs

  • Name (required) — Segment name (maximum 80 characters).
  • Conditions — Optional JSON grouped rule tree with an outer match mode ("all" or "any") and groups of rules. Each rule may include field, op, name, value, and value2.
  • Exclude Tags — Optional JSON array of tag UUIDs; matched contacts must have none of these tags.
  • Include Tags — Optional JSON array of tag UUIDs; matched contacts must have all of these tags.
  • Min Days Inactive — Optional minimum number of days without interaction for included contacts; minimum is 0.
  • Stage ID — Optional stage UUID to filter contacts by.

Output shape

A single DMLY API response for the created segment.

The source pack includes only function signatures, so it does not reveal the exact response envelope or confirm how the optional filters are serialized.

Links

Discussion