Create list

POST /lists

Create a new list

Headers

application/json

Body

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
POST /lists
curl \
 -X POST https://api.lassomoderation.com/api/v1/lists \
 -H "Content-Type: application/json" \
 -H "Authorization: Bearer lasso.a35afd...a6ea" \
 -d '{"name":"Bad word list","type":"strings"}'
Request example
{
  "name": "Bad word list",
  "type": "strings"
}
Response examples (200)
{
  "listId": "clp765qpz06r0saam8dv1p6uh",
  "success": true
}