List lists

GET /lists

List all lists

Responses

GET /lists
curl \
 -X GET https://api.lassomoderation.com/api/v1/lists \
 -H "Authorization: string"
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
    }
  ]
}