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

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

**Type**: void

**Parameters**

| Name           | Type   | Value                                                                                            |
| -------------- | ------ | ------------------------------------------------------------------------------------------------ |
| sessionId      | String | ID of the session                                                                                |
| optinProcessId | long   | ID of the opt-in process                                                                         |
| URL            | String | URL of confirmation page to which the recipient is directed to complete the registration process |

**Return values**

- **Code structure**

```javascript
void setConfirmationUrl(String sessionId, long optinProcessId, String URL)
```
