---
title: createSingleOptinProcess
slug: campaign/dev-docs/createsingleoptinprocess
createdAt: 2026-08-06T15:53:51.253Z
---

**Type**: long

**Parameters**

| Name        | Type   | Value                                      |
| ----------- | ------ | ------------------------------------------ |
| sessionId   | String | ID of the session                          |
| Name        | String | Internal name of the opt-in process        |
| Description | String | Internal description of the opt-in process |

**Return values**

ID of the opt-in process

**Code structure**

```javascript
long createSingleOptinProcess(String sessionId, String name, String description)
```
