List items

GET /lists/{listId}

Get all items in a list

Path parameters

  • listId string Required

    The id of the list

Responses

GET /lists/{listId}
curl \
 -X GET https://api.lassomoderation.com/api/v1/lists/{listId} \
 -H "Authorization: string"
Response examples (200)
{
  "list": {
    "id": "clf3twurb0005sas3keq74fqp",
    "name": "Bad words",
    "type": "strings",
    "items": [
      "shut up",
      "f*ck"
    ],
    "createdAt": "2023-03-11T10:33:41.304Z"
  },
  "success": true
}