Lists

Create a new list

Changed on

Create a new list with input metadata

post/lists

Request

Request body

listNamestring required
isBlacklistboolean required
isWhitelistboolean required
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"
}

Changes

    • breaking

      the request property became required

    • breaking

      the request property became required

    • breaking

      the request property became required