HomeGuidesAPI ReferenceChangelogDiscussions
GuidesAPI ReferenceDiscussions

## Overview

The following section will walk you through creating a new loan application in Blend using Blend's public API. This covers use cases where a lead is collected in a CRM or LOS system and Blend is intended to be used to facilitate the application process.

## Endpoints

POST /loans - create a new loan with the primary borrower

POST /borrowers - add any additional borrowers to the loan

## 1. Create a Loan with the primary borrower

## POST /loans - Request

If you are creating a loan in Blend from a loan record in an external system, please remember to update the following tracking fields:

  • losId if this loan is generated from your LOS

  • crmId if this loan is generated from your CRM

The following example will walk you through posting a Purchase loan application in Blend. A few key properties to point out about the request:

  • "applicationType" indicates a "PURCHASE" application

  • "referenceNumber" is "100", which will update the visual loan reference number in Blend

  • "referrerEmail" will need to include email of the Blend user who originated and will be assigned to the loan

  • "sendEmailInvite" - TRUE or FALSE will determine if the borrower's invitation is either sent or not sent, respectively

**Identifying Loan Source**

Make sure to include applicationSource 'type' and 'name' values when you create loans in Blend via a POST /loans call, this way your lender teams will be able to use the "Source Type" or "Source Name" filters in their pipeline to distinguish loans the originated in your LOS from those they originate in Blend. For more information, please see our [Loan Request Schema](🔗) documentation. 

## POST /loans - Response

The returned response will have a few key fields as well.

  • "id" is the Blend loan Id; a unique identifier generated by Blend to identify the loan.

  • "borrowers.name" - Complete borrower name as it is posted in Blend


After the loan is created, you should be able to see the loan in your Blend Pipeline if you have permissions to see all loans in Blend or if you are assigned to the appropriate loan. You can also look up the loan with the loan id from the POST /loans - Response.


In the Blend Application page, the following information will be carried over to the application:


If a referrer has been specified in the request, it will appear as having a user assigned to it in the Pipeline and Overview page of the loan.

Pipeline view:


Overview page:


## 2. Add borrowers

If you want to add borrowers to the loan after the loan creation, you can use the following endpoint to add more borrowers.

## POST /borrowers - Request

## POST /borrowers - Response

Loan activity log:


Loan Application page:


### Considerations for adding borrowers:

  • Remember to provide a location for the borrower

    • 1003 number and position number so that we can add the borrower into the correct 1003.

      • Example: {"fileNumber":1, "filePosition" 2} will add a co-borrower to 1003 form 1

      • Example: {"fileNumber":2, "filePosition" 1} will add a borrower to 1003 form 2

  • You are only allowed to add a borrower to the loan when:

    • The main borrower has not yet accepted their application invitation

    • The loan has NOT been marked as exported (to the LOS or other integration)