Path parameters
-
The id of the list
POST /lists/{listId}
curl \
-X POST https://api.lassomoderation.com/api/v1/lists/{listId} \
-H "Content-Type: application/json" \
-H "Authorization: Bearer lasso.a35afd...a6ea" \
-d '{"items":["Bad word","other bad word"]}'
Request example
{
"items": [
"Bad word",
"other bad word"
]
}
Response examples (200)
{
"success": true,
"addedItems": [
"bad word",
"another bad word"
]
}