Retrieve a Segment

Retrieves a V2 segment definition (conditions and condition groups) by its ID. Works for any segment, Saved Segment or otherwise.

If the response has a name and category is audience, the segment is a Saved Segment and its summary (name, contact counts, dates) is available from GET /api/3/audiences/{segmentId}.

Path Params
string
required

The segment's ID

Responses

401

Unauthorized

403

Forbidden

404

Segment Not Found

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json