---
title: getFirstMatchingEntry
slug: campaign/docs/getfirstmatchingentry
docTags: 
createdAt: 2026-07-02T19:01:47.121Z
---

**Type**: String

**Parameters**

| Name         | Type   | Value                         |
| ------------ | ------ | ----------------------------- |
| sessionId    | String | ID of the session             |
| emailAddress | String | Email addresses to be queried |

**Return values**

First blocklist entry that matches the email address

**Code structure**

```javascript
String getFirstMatchingEntry(String sessionId, String emailAddress)
```
