---
title: getDescription
slug: campaign/docs/getdescription-optinprocessws
docTags: 
createdAt: 2026-07-02T19:01:46.737Z
---

**Type**: String

**Parameters**

| Name           | Type   | Value                    |
| -------------- | ------ | ------------------------ |
| sessionId      | String | ID of the session        |
| optinProcessId | long   | ID of the opt-in process |

**Return values**

Description of the opt-in process

**Code structure**

```javascript
String getDescription(String sessionId, long optinProcessId)
```
