API referenceSegments
List segments
GET
Newest-first keyset page over (created_at, id).
bearerAuthheader
AuthorizationBearer <token>API key sent as Authorization: Bearer <key>. Looked up by SHA-256
hash (email_core::sha256_hex) against api_keys.hash; revoked
keys and keys belonging to a suspended tenant are rejected. See the
top-level Authentication section for permission levels.
limit?integerMax rows to return.
Range
1 <= value <= 100Default
25cursor?stringSegment list.
application/json- response
data?array<>next_cursor?string|nullcurl -X GET "https://example.com/v1/segments"{ "data": [ { "id": "string", "name": "string", "filter": { "match": "all", "conditions": [ { "field": "string", "op": "eq", "value": "string" } ] }, "created_at": 0, "updated_at": 0 } ], "next_cursor": "string"}