List segments
Segments API
List Segments
Retrieve all audience segments for your project using the Formo API. Returns segment names, filter criteria, and creation timestamps.
GET
List segments
Authorizations
Workspace API key (e.g. formo_xxx). Create one in the Formo dashboard under Team Settings > API Keys.
Query Parameters
1-indexed page number. Defaults to 1.
Required range:
x >= 1Page size. Defaults to 100, capped at 200.
Required range:
1 <= x <= 200Response
200 - application/json
Paginated list of segments
Pagination cursor returned alongside data on every paginated list endpoint. Use these to walk pages: has_more is true while page * size < total. Combine with the matching Page and Size query parameters to request the next page.