v1

latestOpenAPI 3.0.02026-07-241220330.3 KB
Lists

Create a new list

Create a new list with input metadata

post/lists

Request body

listNamestring
isBlacklistboolean
isWhitelistboolean
descriptionstring

Example request

{
  "listName": "Custom List A",
  "isBlacklist": false,
  "isWhitelist": false,
  "description": "This is a testing custom list"
}

Response

Successfully created a list

status_codenumber
errorobject
timestampinteger
list_tokenstring

Example response

{
  "status_code": 201,
  "error": null,
  "timestamp": 1557675468774,
  "list_token": "I-EHbNvGzkeGdy3mXcfbIJ"
}