---
title: "Load Segment"
method: GET
path: "/segments/{name}"
tags: ["Segments"]
---

# Load Segment

`GET /segments/{name}`

Returns details for the specified segment. Required Access Level: ViewContacts

## Path parameters

- `name` string, string, required — string

## Response `200`

OK

- Segment — Dynamic collection of Contacts, managed by SQL-like rule.
  - `Name` string, string — Segment name
  - `Rule` string, string — SQL-like rule to determine which Contacts belong to this Segment.

---

[API](https://skmtc.net/elasticemail/apis/megamail-api.md) · [All operations](https://skmtc.net/elasticemail/apis/megamail-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elasticemail/megamail-api/versions/1a0ebb83f676/schema)
