---
title: getConfirmationUrl
slug: campaign/docs/getconfirmationurl
docTags: 
createdAt: 2026-07-02T19:01:45.097Z
---

This method is only applicable to opt-in processes of the type double.

**Type**: String

**Parameters**

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

**Return values**

Confirmation URL of the opt-in process.

**Code structure**

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