variant-groups

List Variant Groups

get/variant-groups

Request

  • Base URL: https://api.usepolymorph.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.usepolymorph.com/variant-groups
  • Auth: none declared

Query parameters

searchstring nullable
channel'email' | 'fcm' | 'expo' | 'control'
lifecycle_status'draft' | 'approved' | 'rejected' | 'live' | 'idle' | 'stopped'

The variant's displayed lifecycle state — the six-state Status pill.

Folds approval (pre-send: Draft/Approved/Rejected) and delivery (post-send: Live/Idle/Stopped) into one axis. The list's Status filter selects on it and the repo derives the SQL predicate; keep in lockstep with the frontend variantStatus.ts — both encode the same rule, one in SQL for filtering, one in TS for display.

region_idsstring[] nullable
family_root_variant_idsstring[] nullable
sort_by'created_at' | 'reach' | 'name' | 'conversion'
sort_order'asc' | 'desc'
sort_conversion_definition_idstring uuid nullable
sort_conversion_measure'lift' | 'value'
per_pageinteger
pagestring nullable

Headers

X-Viewer-Timezonestring nullable

Response

Successful Response

next_pagestring nullable required
previous_pagestring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.