get https://a.klaviyo.com/api/v2/lists
Returns a listing of all of the lists in an account.
Response
Returns a listing of all of the lists in an account.
xxxxxxxxxx
curl --request GET \
--url 'https://a.klaviyo.com/api/v2/lists?api_key=PRIVATE_API_KEY' \
--header 'accept: application/json'
xxxxxxxxxx
10[
{
"list_id": "LIST_ID_1",
"list_name": "MyFirstList"
},
{
"list_id": "LIST_ID_2",
"list_name": "MySecondList"
}
]