---
title: add
slug: campaign/docs/add-blacklist
docTags: 
createdAt: 2026-07-02T19:01:44.226Z
---

**Type**: void

**Parameters**

| Name      | Type   | Value                                                                                    |
| --------- | ------ | ---------------------------------------------------------------------------------------- |
| sessionId | String | ID of the session                                                                        |
| entry     | String | Entry (for example, an email address) to be blocked (can contain wildcards like ? or \*) |
| reason    | String | Reason for this blocklist entry (optional)                                               |

**Return values**

- **Code structure**

```javascript
void add(String sessionId, String entry, String reason)
```
