Headers

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • success boolean
    • lists array[object]
      Hide lists attributes Show lists attributes object
GET /lists
curl \
 --request GET 'https://api.lassomoderation.com/api/v1/lists' \
 --header "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
    }
  ]
}