---
search:
  tags:
    - customers
    - POST
seo:
  description: >-
    Import SBA PPP/7(a) loan rows as a free payroll-derived… Reference for the
    POST /workspaces/{organizationId}/intake/ppp-loans/import endpoint in the
    Pile API.
sidebar:
  label: Create intake ppp loan import
  badge: POST
title: Create intake ppp loan import
type: openapi-operation
---
Import SBA PPP/7(a) loan rows as a free payroll-derived revenue proxy: PPP loans were sized at 2.5x monthly payroll, and payrollToRevenueRatio (default 0.30) turns that into an estimated monthly volume. Matches existing customers on externalId "sba-ppp:&lt;loanId>" or case-insensitive business name + street address; writes loan facts and the derived figures to customFields, records a sba_ppp revenue_estimate signal, and re-ranks.

`POST /workspaces/{organizationId}/intake/ppp-loans/import`

**Request body** (`application/json`)

- `loans` (object[], required)
- `payrollToRevenueRatio` (number)

Request body example:

```json
{
  "loans": [
    {
      "loanId": "string",
      "businessName": "string",
      "address": "string",
      "city": "string",
      "state": "string",
      "zip": "string",
      "loanAmountDollars": 0,
      "loanAmountCents": 0,
      "jobsReported": 0,
      "naicsCode": "string",
      "approvalDate": "string",
      "loanType": "ppp"
    }
  ],
  "payrollToRevenueRatio": 1
}
```

**Responses**

- `200` — SBA loans imported
- `400` — Invalid request

Response example, 200:

```json
{
  "imported": 0,
  "created": 0,
  "updated": 0,
  "customers": [
    {
      "id": "string",
      "name": "string",
      "loanAmountCents": 0,
      "estMonthlyPayrollCents": 0,
      "estMonthlyVolumeCents": 0,
      "jobsReported": 0,
      "score": 0
    }
  ]
}
```
