---
title: getProperty
slug: campaign/docs/getproperty
docTags: 
createdAt: 2026-07-02T19:01:45.566Z
---

**Type**: String

**Parameters**

| Name      | Type   | Value                        |
| --------- | ------ | ---------------------------- |
| sessionId | String | ID of the session            |
| mailingId | long   | ID of the mailing            |
| Name      | String | Name of the mailing property |

**Return values**

Value of the mailing property

If the property is not set, NULL is returned. See also [setProperty](docId\:E3hqnkkcMuNhAyQDjh4uA).

**Code structure**

```javascript
String getProperty(String sessionId, long mailingId, String name)
```
