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.
Authorizations
Pass as Bearer <API_KEY>. Get API Key from SuprSend dashboard Developers -> API Keys section.
Path Parameters
Unique string identifier of the list.
Response
200
Unique identifier of the list.
"product_updates"
Name of the list.
"Product Update"
Brief description of the list.
"Users subscribed to the newsletter"
Type of the list.
static_list, dynamic_list number of users in the list
source info on how the list is updated
"database_sync"
Indicates whether the list is read-only.
false
For dynamic_list only. Whether the segment is actively refreshing.
true
For dynamic_list only. The committed SQL query that defines the segment.
"SELECT distinct_id FROM users WHERE CAST(user_properties ->> 'lifetime_value' AS DOUBLE PRECISION) >= 2500"
Current status of the list (active or draft).
"active"
Event $USER_ENTERED_LIST - <list_id> is generated when user is added this list. Use this to trigger workflow on user entry.
Event $USER_EXITED_LIST - <list_id> is generated when user is removed from this list. Use this to trigger workflow on user exit.
Indicates whether the list has been requested for deletion.
false
Timestamp when the list was created.
"2024-02-21T19:10:01.906000Z"
Timestamp when the list was last updated.
"2025-04-04T07:25:43.186475Z"
would show the draft list created to replace list users.
For dynamic_list only. Metadata about the sync task that runs the segment query, including the currently active version and any uncommitted draft.