Communicating with the API


The LoanPro API is based off of HTTP and uses TLS 1.1+ to encrypt its communication channel. As a result, any TCP library and TLS library can be used to communicate with the LoanPro API. Many languages, such as PHP and Javascript, come with these libraries built in, making it easy to communicate with the LoanPro API.

This article will go over the basic format for the HTTP request header used in communicating with the LoanPro API and will cover the general format of the request body.


The LoanPro API will look for three special headers to authenticate your request. They are the “Authorization”, “Autopal-Instance-ID”, and “Content-Type” headers.

The Authorization header has the following format:

Authorization: Bearer {your_api_token}
Remember to replace “{your_api_token}” with your actual token. The word “Bearer” is required before the API token; omitting it will lead to a 401 error.

The Autopal-Instance-ID header has the following format:

Autopal-Instance-ID: {your_tenant_id}
Remember to replace “{your_tenant_id}” with your actual tenant ID.

The specific API Token and Tenant Id for your company can be found inside of the UI of your LoanPro Tenant at Settings > Company > API > Overview. Please remember to NEVER share your API Token via email or any unsecured method.

Finally, the Content-Type header has the following format:

Content-Type: application/json

Your completed headers will look something like this:

Authorization: Bearer 1111111111111318dc37271a2617625dd00137b4

Autopal-Instance-ID: 5200000

Content-Type: application/json

Your headers will need to be spelled and formatted exactly as they are shown here to work. 

Sending Data

Sending data is done through the body of the request call. All data sent to LoanPro must be in a JSON format. Below is an example of a body that will send the information for a cat to the server:

"address":"123 Oak Ln",
Please note that there is no endpoint in LoanPro that will accept this data; this is an example of how JSON works.

The example above will send information about a cat to the server. The server will then know the following information:

  • The cat’s name is Fluffy
  • The cat has four legs
  • The cat does have fur
  • The cat was born January 29, 2015
  • The cat has an Owner named Janet who lives at 123 Oak Ln and has the phone number 5555555555

API Documentation

We've documented all the available endpoints and their JSON requests at ReadMe is an API documentation website, and we find their UI straightforward and easy-to-use. We've also put our documentation up on Swagger UI if you prefer their layout: LoanPro API Explorer on Swagger UI.

How did we do?

Powered by HelpDocs (opens in a new tab)