List all lists.
Default rate limit: 60 requests per minute.
GET
/lists
curl \
--request GET 'https://api.lassomoderation.com/api/v1/lists' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"success": true,
"lists": [
{
"id": "clp72q7pv06pqsaamyeqn1bb8",
"createdAt": "2023-11-20T15:40:49.940Z",
"name": "Bad words",
"type": "strings",
"items": 23
},
{
"id": "clp72pz7f06plsaamj7vv3iq9",
"createdAt": "2023-11-20T15:40:38.873Z",
"name": "Allowed domains",
"type": "urls",
"items": 10
},
{
"id": "clfha90p90000sa0lwso8ehub",
"createdAt": "2023-03-20T20:32:03.021Z",
"name": "Banned countries",
"type": "locations",
"items": 3
}
]
}
Response examples (401)
{
"success": false,
"error": "Invalid API key"
}
Response examples (429)
{
"error": "Too many requests, check headers for limits"
}