Get List configuration
API to fetch list metadata like list type, count, source, and status. Doesn't include users in the list. For Segment Lists (list_type: dynamic_list), the response also includes the committed query and the sync_task block with the live version.
Path parameters
Unique string identifier of the list.
Response
200
Example response
{
"list_id": "product_updates",
"list_name": "Product Update",
"list_description": "Users subscribed to the newsletter",
"source": "database_sync",
"is_enabled": true,
"query": "SELECT distinct_id FROM users WHERE CAST(user_properties ->> 'lifetime_value' AS DOUBLE PRECISION) >= 2500",
"status": "active",
"created_at": "2024-02-21T19:10:01.906000Z",
"updated_at": "2025-04-04T07:25:43.186475Z"
}Changes
Changed in 3 of the 7 revisions of this API.136
- ▲
added the pattern
^[a-z0-9_-]+$to thepathrequest parameterlist_idrequest-parameter-pattern-added
- ▲
- ●
removed the optional property
sync_task/active_version/query_textfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
sync_task/draft_version/query_textfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
sync_task/active_version/queryto the response with the200statusresponse-optional-property-added
- ○
added the optional property
sync_task/draft_version/queryto the response with the200statusresponse-optional-property-added
- ●
- ●
added the new
dynamic_listenum value to thelist_typeresponse property for the response status200response-property-enum-value-added
- ○
added the optional property
is_enabledto the response with the200statusresponse-optional-property-added
- ○
added the optional property
queryto the response with the200statusresponse-optional-property-added
- ○
added the optional property
sync_taskto the response with the200statusresponse-optional-property-added
- ○
removed the
query_basedenum value from thelist_typeresponse property for the response status200response-property-enum-value-removed
- ●