Skip to main content

Add item to recipient list

POST 

/users/:email/lists/:listname

Add item to recipient list

Request

Path Parameters

    email stringrequired

    The email address of the recipient whose list will be modified.

    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...