segments
List dynamic Segments
GET /v1/segments
Auth required
api.segments.view
Returns the org's dynamic Segments, newest-first. A Segment's membership
is the live truth value of its SendQL source — there is no explicit
add/remove. member_count and last_evaluated_at reflect the most
recent reconcile. The response includes the source text. Segment
management (create/edit/pause) is dashboard-only; this API is read-only.
Query parameters
limit integer optional Page size (1–200). Default 50.
cursor string optional Opaque cursor returned from the previous page.
Responses
200 Cursor-paginated list of Segments, newest-first application/json
401 Missing, malformed, or unknown API key application/problem+json
403 Key lacks the required scope or plan limit violated application/problem+json
422 Query parameter or path value failed validation application/problem+json
429 Per-org rate limit exceeded application/problem+json
500 Unexpected server-side failure. The
code is internal_error. The
request_id field can be quoted to SendOps support to investigate.
application/problem+json