---
title: "Getting Thank You Dialog Content"
slug: "getting-thank-you-dialog-content"
updated: 2024-10-09T10:14:38Z
published: 2024-10-09T10:14:38Z
canonical: "docs.onespan.com/getting-thank-you-dialog-content"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onespan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Getting Thank You Dialog Content

[Java SDK](/v1/docs/getting-thank-you-dialog-content#java-sdk) [.NET SDK](/v1/docs/getting-thank-you-dialog-content#net-sdk) [REST API](/v1/docs/getting-thank-you-dialog-content#rest-api)

## Java SDK

To download the full code sample see our [Code Share](https://github.com/eSignLive/esl.sdk.java/blob/master/sdk/src/main/java/com/silanis/esl/sdk/examples/ThankYouDialogExample.java) site.

The Thank You dialog box appears to recipients when they have finished signing all the documents in a transaction. This box asks recipients if they want to review the documents they have signed, or leave the system.

To customize the content of this dialog box contact our [Support Team](https://www.onespan.com/support).

You can retrieve the contents of this dialog box by using the following code sample:

```java
String thankYouDialogContent = eslClient.getPackageService().getThankYouDialogContent(packageId);
```

Here is an example of what you can expect to see once you have run your code.

![](https://cdn.document360.io/038f59a7-abd0-4c14-9de7-3434d28b49fd/Images/Documentation/thankyou_java.png)

## .NET SDK

To download the full code sample see our [Code Share](https://github.com/eSignLive/esl.sdk.net/blob/master/sdk/SDK.Examples/src/ThankYouDialogExample.cs) site.

The Thank You dialog box appears to recipients when they have finished signing all the documents in a transaction. This box asks recipients if they want to review the documents they have signed, or leave the system.

To customize the content of this dialog box contact our [Support Team](https://www.onespan.com/support).

You can retrieve the contents of this dialog box by using the following code sample:

```csharp
string thankYouDialogContent = eslClient.PackageService.GetThankYouDialogContent(packageId);
```

Here is an example of what you can expect to see once you have run your code.

![](https://cdn.document360.io/038f59a7-abd0-4c14-9de7-3434d28b49fd/Images/Documentation/thankyou_net_rest.png)

## REST API

To download the full code sample see our [Code Share](https://community.onespan.com/documentation/onespan-sign/codeshare/get-thank-you-dialog-rest-api) site.

The Thank You dialog box appears to recipients when they have finished signing all the documents in a transaction. This box asks recipients if they want to review the documents they have signed, or leave the system.

To customize the content of this dialog box contact our [Support Team](https://www.onespan.com/support).

You can retrieve the contents of this dialog box by using the following code sample:

#### HTTP Request

```http
GET /api/packages/{packageId}/thank_you_dialog
```

#### HTTP Headers

```http
Accept: application/json
Content-Type: application/json
Authorization: Basic api_key
```

#### Response Payload

```json
{
    "body": "You have successfully e-signed your documents.",
    "logo": "esl",
    "title": "Thank you!"
}
```

Here is an example of what you can expect to see once you have run your code.

![](https://cdn.document360.io/038f59a7-abd0-4c14-9de7-3434d28b49fd/Images/Documentation/thankyou_net_rest.png)
