Create Application

How to create an application using the DigiFi API.

The Create Application API can be used to create an application. An application must be for a loan product, must include a borrower and can optionally include an intermediary, up to 3 co-borrowers, labels and assigned team members.

An application should contain variables (i.e. data fields) based on your loan product configuration. Please note that tasks, documents, notes, integrations and decisions can be connected to applications using the other API methods.


Example Requests

Below please find the JSON body for two example requests:

  • Example 1: Creating an application with an existing borrower and intermediary.
  • Example 2: Creating an application with a new borrower and intermediary.
{
  "variables": {
    "variable_system_name_1": "Example",
    "variable_system_name_2": 999,
    "variable_system_name_3": true,
    "variable_system_name_4": "+19172245555",
    "variable_system_name_5": "date",
    "variable_system_name_6": [{
      		"_id": "390aNZbf0yPktuYm2fJdz",
          "asset_type": "House",
          "asset_price": 100000,
        }, {
          "_id": "h31rBtqWElsqO-GNcuTuw",
          "asset_type": "Store",
          "asset_price": 50000,
        }],
  },
  "productId": "63ca98338285aae99b2a4444",
  "borrower": "63ca97d0f2521cdcc460b23a",
  "intermediary": "63ca9805b3a38b0702416bdc",
  "coBorrowers": [
    "63ca97e69ee2e89fc9163772",
    {
      "type": "person",
      "variables": {
        "variable_system_name_1": "Example",
        "variable_system_name_2": 999,
        "variable_system_name_3": true,
        "variable_system_name_4": "+19172245555",
        "variable_system_name_5": "date",
        "variable_system_name_6": [{
          "_id": "390aNZbf0yPktuYm2fJdz",
          "asset_type": "House",
          "asset_price": 100000,
        }, {
          "_id": "h31rBtqWElsqO-GNcuTuw",
          "asset_type": "Store",
          "asset_price": 50000,
        }],
      }
    },
    {
      "type": "company",
      "variables": {
        "variable_system_name_1": "Example",
        "variable_system_name_2": 999,
        "variable_system_name_3": true,
        "variable_system_name_4": "+19172245555",
        "variable_system_name_5": "date",
        "variable_system_name_6": [{
          "_id": "390aNZbf0yPktuYm2fJdz",
          "asset_type": "House",
          "asset_price": 100000,
        }, {
          "_id": "h31rBtqWElsqO-GNcuTuw",
          "asset_type": "Store",
          "asset_price": 50000,
        }],
      }
    }
  ],
  "labelsIds": [
    "63ca98501e78cb8fabc57e73",
    "63ca985cf6a9b19d6a0769c4"
  ],
  "teamMembers": [
    "[email protected]",
    "[email protected]"
  ]
}
{
  "variables": {
    "variable_system_name_1": "Example",
    "variable_system_name_2": 999,
    "variable_system_name_3": true,
    "variable_system_name_4": "+19172245555",
    "variable_system_name_5": "date",
    "variable_system_name_6": [{
      		"_id": "390aNZbf0yPktuYm2fJdz",
          "asset_type": "House",
          "asset_price": 100000,
        }, {
          "_id": "h31rBtqWElsqO-GNcuTuw",
          "asset_type": "Store",
          "asset_price": 50000,
        }],
  },
  "productId": "63ca98338285aae99b2a4444",
  "borrower": {
    "type": "person",
    "variables": {
      "variable_system_name_1": "Example",
      "variable_system_name_2": 999,
      "variable_system_name_3": true,
      "variable_system_name_4": "+19172245555",
      "variable_system_name_5": "date",
      "variable_system_name_6": [{
        	"_id": "390aNZbf0yPktuYm2fJdz",
          "asset_type": "House",
          "asset_price": 100000,
        }, {
          "_id": "h31rBtqWElsqO-GNcuTuw",
          "asset_type": "Store",
          "asset_price": 50000,
        }],
    }
  },
  "intermediary": {
    "variables": {
      "variable_system_name_1": "Example",
      "variable_system_name_2": 999,
      "variable_system_name_3": true,
      "variable_system_name_4": "+19172245555",
      "variable_system_name_5": "date",
      "variable_system_name_6": [{
        	"_id": "390aNZbf0yPktuYm2fJdz",
          "asset_type": "House",
          "asset_price": 100000,
        }, {
          "_id": "h31rBtqWElsqO-GNcuTuw",
          "asset_type": "Store",
          "asset_price": 50000,
        }],
    }
  },
  "coBorrowers": [
    "63ca97e69ee2e89fc9163772",
    {
      "type": "person",
      "variables": {
        "variable_system_name_1": "Example",
        "variable_system_name_2": 999,
        "variable_system_name_3": true,
        "variable_system_name_4": "+19172245555",
        "variable_system_name_5": "date",
        "variable_system_name_6": [{
          "_id": "390aNZbf0yPktuYm2fJdz",
          "asset_type": "House",
          "asset_price": 100000,
        }, {
          "_id": "h31rBtqWElsqO-GNcuTuw",
          "asset_type": "Store",
          "asset_price": 50000,
        }],
      }
    },
    {
      "type": "company",
      "variables": {
        "variable_system_name_1": "Example",
        "variable_system_name_2": 999,
        "variable_system_name_3": true,
        "variable_system_name_4": "+19172245555",
        "variable_system_name_5": "date"
      }
    }
  ],
  "labelsIds": [
    "63ca98501e78cb8fabc57e73",
    "63ca985cf6a9b19d6a0769c4"
  ],
  "teamMembers": [
    "[email protected]",
    "[email protected]"
  ]
}

📘

We strongly recommend to send the date value in "MM/DD/YYYY" format to avoid any issues with date representation.

📘

Please note that each row in a variable of type Table must contain a unique string _id field.

Language
Authorization
Header