---
title: Create Contract PDF URL
slug: investor-onboarding-io/create-contract-pdf-url
description: Learn how to use the `/api/onboardings/execute` endpoint to generate a PDF document with all the filled details during onboarding. Discover how to authenticate and set the required headers, such as Content-type and Authorization. Find out what input param
docTags: 
createdAt: 2023-06-19T12:35:41.000Z
---

Creates a PDF that captures all details filled in while onboarding.

## Endpoint

**/api/onboardings/execute**

## Headers

| **Property**  | **Value**                                         |
| ------------- | ------------------------------------------------- |
| Content-type  | application/json                                  |
| Authorization | …access token… (alphanumeric string of length 64) |

## Input

```json
{
   "merchantId":".. merchant ID ..",
   "inputData":{
      "service":"esign",
      "type":"",
      "task":"createPdf",
      "data":{

      }
   }
}
```

| **Property** | **Data Type**                                        | **Example Values**                            |
| ------------ | ---------------------------------------------------- | --------------------------------------------- |
| merchantId   | String (*Required*) alphanumeric string of length 24 | userId from the investor login response field |
| inputData    | Object (*Required*)                                  | payload                                       |
| –service     | Enum String (*Required*)                             | “esign”                                       |
| –task        | Enum String (*Required*)                             | “createPdf”                                   |

## Expected Output

```json
{
   "object":{
      "result":{
         "combinedPdf":".. Unsigned PDF contract URL .."
      }
   }
}
```

:::hint{type="info"}
### Getting help

Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.


You can reach out to us at [help@signzy.com](#).
:::

