Get List configuration
Changed onAPI 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.
get/v1/subscriber_list/{list_id}/
Request
- Base URLhttps://hub.suprsend.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
list_idstring required
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
- warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- warning
- breaking
added the pattern
^[a-z0-9_-]+$to thepathrequest parameterlist_id
- breaking