Create list

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://api-reference.lassomoderation.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Lasso Moderation API MCP server": {
  "url": "https://api-reference.lassomoderation.com/mcp"
}
Close
POST /lists

Create a new list

Headers

application/json

Body

  • name string Required
  • type string Required

Responses

  • 200 application/json

    OK

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