List items

GET /lists/{listId}

Get all items in a list

Headers

Path parameters

  • listId string Required

    The id of the list

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • success boolean
    • list object
      Hide list attribute Show list attribute object
      • * object Additional properties
        Hide * attributes Show * attributes object
GET /lists/{listId}
curl \
 --request GET 'https://api.lassomoderation.com/api/v1/lists/{listId}' \
 --header "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
}