Skip to main content

Add item to customer list

POST 

/lists/:listname

Add item to customer list

Request

Path Parameters

    listname stringrequired

    Possible values: [blocklist, safelist, blacklist, whitelist]

    The name of the list to add an entry to. One of 'safelist' or 'blocklist'. 'whitelist' and 'blacklist' are deprecated

Body

required

    item stringrequired

    The value of the entry. The type of the entry is automatically determined based on the value.

Responses

Successfully created the item

Schema

    item string

    The value of this entry. The meaning of this value depends on the item_type.

    item_type string

    The item type.

    action string

    Which list this entry is on, e.g. safelist or blocklist.

Loading...