Sendio.Segments (sendio v1.1.0)

Manage segments in Sendio.

Summary

Functions

Link to this function

create(client \\ Sendio.client(), opts)

Creates a new segment.

Options

  • :name - The name of the segment (required)
Link to this function

get(client \\ Sendio.client(), segment_id)

Gets a segment by ID.

Link to this function

list(client_or_opts \\ [])

Lists all segments.

Options

  • :limit - Maximum number of segments to return (1-100)
  • :after - Cursor for pagination (segment ID to start after)
  • :before - Cursor for pagination (segment ID to start before)
Link to this function

list(client, opts)

Link to this function

remove(client \\ Sendio.client(), segment_id)

Removes a segment.