---
title: getRecipientId
slug: campaign/docs/getrecipientid
docTags: 
createdAt: 2026-07-02T19:01:46.338Z
---

**Type**: String

**Parameters**

| Name      | Type   | Value             |
| --------- | ------ | ----------------- |
| sessionId | String | ID of the session |
| mailId    | String | Mail ID           |

**Return values**

Recipient ID

**Code structure**

```javascript
String getRecipientId(String sessionId, String mailId)
```
