Dynamic segments

Segments are dynamic and can also use parameters filled at push-time.

Segments are dynamic

A segment is not a fixed list of installations, it's rather a set of criteria that are evaluated whenever the segment is used. It is by essence dynamic.

Parameterized segments

But there are times when you want to vary the set of criteria when you use the segment. To this end you can use parameterized segments.

A parameterized segment uses placeholders like {{parameterName}} anywhere inside their definition. These placeholders define a parameter and gives it a name.
When using the parameterized segment to send a notification, you have to give the desired value to every parameter using the segmentParams argument.
See Parameterized segments for more information about how to use them with the REST API.