# Send prefilled boarding applications
> Learn how to send prefilled boarding applications to prospective merchants
If you've already collected data from your prospective merchants, you can save them time on their boarding application by sending them a prefilled application to finish.
Before you begin, you need the ID for the boarding template you want to use. If you are testing in the sandbox, or only have one template, the ID `0` targets the root template. If your organization uses more than one templates, and you don't know the `templateId`, use the [/Query/templates](/developers/api-reference/templates/get-list-of-boarding-templates-for-organization) endpoint to get a list of templates.
## Create the application
Use the [Create boarding application](/developers/api-reference/boarding/create-boarding-application) endpoint to create and prefill the application.
In the example, the request creates a boarding application prefilled with the merchant data that you already have. The example also includes some application settings to note:
* The `resumable` field is `false`, which means the applicant can't save the application and return to it. They must finish and submit in one session. If you want the applicant to be able to save and return to the application, set this field to `true`.
* The `recipientEmailNotification` field is `false`, which means that Payabli won't automatically email the applicant a boarding link. Setting this field to `true` automatically sends a boarding link to the applicant.
All fields must include a value, or the application will error. Use empty strings for fields you want to leave blank.
```curl Example application maxLines=15
curl --request POST \
--url https://api-sandbox.payabli.com/api/Boarding/app \
--header "accept: application/json" \
--header "content-type: application/*+json" \
--header "requestToken: " \
--data @- <
Special characters in the email address must be URL-encoded. For example, "[merchant+company@example.com](mailto:merchant+company@example.com)" becomes `merchant%2Bcompany%40example.com`.
```curl Send application
curl --request PUT \
--url https://api-sandbox.payabli.com/api/Boarding/applink/796/merchantemailaddress%40example.com?sendEmail=true \
--header "accept: application/json" \
--header "requestToken: "
```
If the request was successful, the API response includes a link to the boarding application.
```json
{
"isSuccess": true,
"responseText": "Success",
"responseCode": 1,
"responseData": {
"appLink": "https://boarding-sandbox.payabli.com/boarding/externalapp/load/31C",
"referenceId": "V2AdAMS3GQnU"
},
"pageidentifier": null
}
```
Your prospective merchant receives an email with a link to the boarding application. From there, they can complete and submit it, and the process follows the [normal boarding process](/guides/pay-ops-boarding-overview#boarding-process-overview-for-partners).
### Option 2: Create a URL
Alternatively, you can give your prospective merchants a URL that launches the prefilled application without the merchant having to log in.
First, create the boarding link. Use the [/Boarding/applink](/developers/api-reference/boarding/get-link-or-email-a-link-for-a-boarding-application) endpoint. You need the `appId` and the merchant contact's email address.
This example creates a boarding link with `appId` 796 for `merchantemailaddress@example.com`
```curl Send application
curl --request PUT \
--url https://api-sandbox.payabli.com/api/Boarding/applink/796/merchantemailaddress%40example.com\
--header "accept: application/json" \
--header "requestToken: "
```
If the request was successful, the API response includes a link to the boarding application.
```json
{
"isSuccess": true,
"responseText": "Success",
"responseCode": 1,
"responseData": {
"appLink": "https://boarding-sandbox.payabli.com/boarding/externalapp/load/31C",
"referenceId": "V2AdAMS3GQnU"
},
"pageidentifier": null
}
```
Finally, using the values in the response, add the application's referenceId and the prospective merchant's email as parameters to the end of the boarding link. Here's the same example as the previous section, in the URL format:
`https://boarding-sandbox.payabli.com/boarding/externalapp/load/31C?email=merchantemailaddress%40example.com&referenceId=V2AdAMS3GQnU`
You can pass this URL to the merchant however you wish.
## Related resources
See these related resources to help you get the most out of Payabli.
* **[Boarding statuses reference](/guides/pay-ops-boarding-status-reference)** - Learn about statuses and substatuses during the merchant boarding process
* **[Paypoint statuses](/guides/pay-ops-paypoint-status-reference)** - Learn about the different statuses of paypoints
* **[API-driven boarding quickstart](/guides/pay-ops-developer-boarding-quickstart)** - Learn to use example code to set up a custom app for boarding using the Payabli API
* **[Board merchants](/guides/pay-ops-boarding-overview)** - Learn how boarding merchants works