{
  "item": [
    {
      "name": "locations",
      "description": "",
      "item": [
        {
          "name": "List accessible locations",
          "request": {
            "name": "List accessible locations",
            "description": {
              "content": "Returns the one location bound to a location key, or the currently installed locations owned by an agency key's company. Transferred-out locations are omitted.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "locations"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "body": {},
            "auth": null
          }
        }
      ]
    },
    {
      "name": "contacts",
      "description": "",
      "item": [
        {
          "name": "search",
          "description": "",
          "item": [
            {
              "name": "Search contacts",
              "request": {
                "name": "Search contacts",
                "description": {
                  "content": "Search CRM contacts by name, email, or phone.",
                  "type": "text/plain"
                },
                "url": {
                  "path": [
                    "contacts",
                    "search"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "disabled": false,
                      "description": {
                        "content": "Required for agency keys. Ignored for a location key, which stays pinned to its own CRM location. A foreign or transferred-out location is refused; the read does not run against that location.",
                        "type": "text/plain"
                      },
                      "key": "locationId",
                      "value": "<string>"
                    },
                    {
                      "disabled": false,
                      "description": {
                        "content": "(Required) ",
                        "type": "text/plain"
                      },
                      "key": "query",
                      "value": "<string>"
                    },
                    {
                      "disabled": false,
                      "description": {
                        "content": "",
                        "type": "text/plain"
                      },
                      "key": "limit",
                      "value": "10"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {},
                "auth": null
              }
            }
          ]
        },
        {
          "name": "{contactId}",
          "description": "",
          "item": [
            {
              "name": "credit-summary",
              "description": "",
              "item": [
                {
                  "name": "Get a credit summary",
                  "request": {
                    "name": "Get a credit summary",
                    "description": {
                      "content": "Returns the latest stored credit and underwriting summary without raw report data.",
                      "type": "text/plain"
                    },
                    "url": {
                      "path": [
                        "contacts",
                        ":contactId",
                        "credit-summary"
                      ],
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "query": [
                        {
                          "disabled": false,
                          "description": {
                            "content": "Required for agency keys. Ignored for a location key, which stays pinned to its own CRM location. A foreign or transferred-out location is refused; the read does not run against that location.",
                            "type": "text/plain"
                          },
                          "key": "locationId",
                          "value": "<string>"
                        }
                      ],
                      "variable": [
                        {
                          "type": "any",
                          "value": "<string>",
                          "key": "contactId",
                          "disabled": false,
                          "description": {
                            "content": "(Required) CRM contact ID.",
                            "type": "text/plain"
                          }
                        }
                      ]
                    },
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "method": "GET",
                    "body": {},
                    "auth": null
                  }
                }
              ]
            },
            {
              "name": "underwriting-result",
              "description": "",
              "item": [
                {
                  "name": "Get a stored underwriting result",
                  "request": {
                    "name": "Get a stored underwriting result",
                    "description": {
                      "content": "Returns the latest stored underwriting projection. It never runs underwriting. Decision, status code and funding range fields are the operator-reviewed (effective) values: an operator revise replaces the engine value. `outcome`, `outcomeLabel` and `reviewStatus` match the Underwriting Completed workflow trigger for the same result.",
                      "type": "text/plain"
                    },
                    "url": {
                      "path": [
                        "contacts",
                        ":contactId",
                        "underwriting-result"
                      ],
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "query": [
                        {
                          "disabled": false,
                          "description": {
                            "content": "Required for agency keys. Ignored for a location key, which stays pinned to its own CRM location. A foreign or transferred-out location is refused; the read does not run against that location.",
                            "type": "text/plain"
                          },
                          "key": "locationId",
                          "value": "<string>"
                        }
                      ],
                      "variable": [
                        {
                          "type": "any",
                          "value": "<string>",
                          "key": "contactId",
                          "disabled": false,
                          "description": {
                            "content": "(Required) CRM contact ID.",
                            "type": "text/plain"
                          }
                        }
                      ]
                    },
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "method": "GET",
                    "body": {},
                    "auth": null
                  }
                }
              ]
            },
            {
              "name": "funding-plans",
              "description": "",
              "item": [
                {
                  "name": "Get funding plans",
                  "request": {
                    "name": "Get funding plans",
                    "description": {
                      "content": "Returns stored funding-plan recommendations and statuses for a contact.",
                      "type": "text/plain"
                    },
                    "url": {
                      "path": [
                        "contacts",
                        ":contactId",
                        "funding-plans"
                      ],
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "query": [
                        {
                          "disabled": false,
                          "description": {
                            "content": "Required for agency keys. Ignored for a location key, which stays pinned to its own CRM location. A foreign or transferred-out location is refused; the read does not run against that location.",
                            "type": "text/plain"
                          },
                          "key": "locationId",
                          "value": "<string>"
                        }
                      ],
                      "variable": [
                        {
                          "type": "any",
                          "value": "<string>",
                          "key": "contactId",
                          "disabled": false,
                          "description": {
                            "content": "(Required) CRM contact ID.",
                            "type": "text/plain"
                          }
                        }
                      ]
                    },
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "method": "GET",
                    "body": {},
                    "auth": null
                  }
                }
              ]
            },
            {
              "name": "deal-stage",
              "description": "",
              "item": [
                {
                  "name": "Get deal stage",
                  "request": {
                    "name": "Get deal stage",
                    "description": {
                      "content": "Returns the contact's current CRM opportunity stages and values.",
                      "type": "text/plain"
                    },
                    "url": {
                      "path": [
                        "contacts",
                        ":contactId",
                        "deal-stage"
                      ],
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "query": [
                        {
                          "disabled": false,
                          "description": {
                            "content": "Required for agency keys. Ignored for a location key, which stays pinned to its own CRM location. A foreign or transferred-out location is refused; the read does not run against that location.",
                            "type": "text/plain"
                          },
                          "key": "locationId",
                          "value": "<string>"
                        }
                      ],
                      "variable": [
                        {
                          "type": "any",
                          "value": "<string>",
                          "key": "contactId",
                          "disabled": false,
                          "description": {
                            "content": "(Required) CRM contact ID.",
                            "type": "text/plain"
                          }
                        }
                      ]
                    },
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "method": "GET",
                    "body": {},
                    "auth": null
                  }
                }
              ]
            },
            {
              "name": "next-steps",
              "description": "",
              "item": [
                {
                  "name": "Get applicant next steps",
                  "request": {
                    "name": "Get applicant next steps",
                    "description": {
                      "content": "Composes the applicant's stored conversion signals into an ordered, read-only checklist.",
                      "type": "text/plain"
                    },
                    "url": {
                      "path": [
                        "contacts",
                        ":contactId",
                        "next-steps"
                      ],
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "query": [
                        {
                          "disabled": false,
                          "description": {
                            "content": "Required for agency keys. Ignored for a location key, which stays pinned to its own CRM location. A foreign or transferred-out location is refused; the read does not run against that location.",
                            "type": "text/plain"
                          },
                          "key": "locationId",
                          "value": "<string>"
                        }
                      ],
                      "variable": [
                        {
                          "type": "any",
                          "value": "<string>",
                          "key": "contactId",
                          "disabled": false,
                          "description": {
                            "content": "(Required) CRM contact ID.",
                            "type": "text/plain"
                          }
                        }
                      ]
                    },
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "method": "GET",
                    "body": {},
                    "auth": null
                  }
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "credit-reports",
      "description": "",
      "item": [
        {
          "name": "Get stored credit-report JSON",
          "request": {
            "name": "Get stored credit-report JSON",
            "description": {
              "content": "Returns a stored report selected by contactId or requestId. Social Security numbers are always redacted. This endpoint never starts a credit pull.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "credit-reports"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "description": {
                    "content": "Required for agency keys. Ignored for a location key, which stays pinned to its own CRM location. A foreign or transferred-out location is refused; the read does not run against that location.",
                    "type": "text/plain"
                  },
                  "key": "locationId",
                  "value": "<string>"
                },
                {
                  "disabled": false,
                  "description": {
                    "content": "Select the latest stored report for this CRM contact. Required when requestId is omitted.",
                    "type": "text/plain"
                  },
                  "key": "contactId",
                  "value": "<string>"
                },
                {
                  "disabled": false,
                  "description": {
                    "content": "Select one exact stored report. Required when contactId is omitted.",
                    "type": "text/plain"
                  },
                  "key": "requestId",
                  "value": "<string>"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "body": {},
            "auth": null
          }
        },
        {
          "name": "pdf-url",
          "description": "",
          "item": [
            {
              "name": "Get a credit-report PDF URL",
              "request": {
                "name": "Get a credit-report PDF URL",
                "description": {
                  "content": "Returns a short-lived signed URL for a renderable stored report. This endpoint never starts a credit pull.",
                  "type": "text/plain"
                },
                "url": {
                  "path": [
                    "credit-reports",
                    "pdf-url"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "disabled": false,
                      "description": {
                        "content": "Required for agency keys. Ignored for a location key, which stays pinned to its own CRM location. A foreign or transferred-out location is refused; the read does not run against that location.",
                        "type": "text/plain"
                      },
                      "key": "locationId",
                      "value": "<string>"
                    },
                    {
                      "disabled": false,
                      "description": {
                        "content": "Select the latest stored report for this CRM contact. Required when requestId is omitted.",
                        "type": "text/plain"
                      },
                      "key": "contactId",
                      "value": "<string>"
                    },
                    {
                      "disabled": false,
                      "description": {
                        "content": "Select one exact stored report. Required when contactId is omitted.",
                        "type": "text/plain"
                      },
                      "key": "requestId",
                      "value": "<string>"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {},
                "auth": null
              }
            }
          ]
        }
      ]
    },
    {
      "name": "pipeline",
      "description": "",
      "item": [
        {
          "name": "List pipeline contacts",
          "request": {
            "name": "List pipeline contacts",
            "description": {
              "content": "Returns one cursor-paginated page ordered by most recent update.",
              "type": "text/plain"
            },
            "url": {
              "path": [
                "pipeline"
              ],
              "host": [
                "{{baseUrl}}"
              ],
              "query": [
                {
                  "disabled": false,
                  "description": {
                    "content": "Required for agency keys. Ignored for a location key, which stays pinned to its own CRM location. A foreign or transferred-out location is refused; the read does not run against that location.",
                    "type": "text/plain"
                  },
                  "key": "locationId",
                  "value": "<string>"
                },
                {
                  "disabled": false,
                  "description": {
                    "content": " (This can only be one of applicant,client)",
                    "type": "text/plain"
                  },
                  "key": "pipelineType",
                  "value": "applicant"
                },
                {
                  "disabled": false,
                  "description": {
                    "content": "",
                    "type": "text/plain"
                  },
                  "key": "limit",
                  "value": "100"
                },
                {
                  "disabled": false,
                  "description": {
                    "content": "Opaque nextCursor from the previous response.",
                    "type": "text/plain"
                  },
                  "key": "cursor",
                  "value": "<string>"
                }
              ],
              "variable": []
            },
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "method": "GET",
            "body": {},
            "auth": null
          }
        }
      ]
    },
    {
      "name": "dashboard",
      "description": "",
      "item": [
        {
          "name": "stats",
          "description": "",
          "item": [
            {
              "name": "Get dashboard statistics",
              "request": {
                "name": "Get dashboard statistics",
                "description": {
                  "content": "Returns bounded aggregate credit, underwriting, and funding statistics for a recent window.",
                  "type": "text/plain"
                },
                "url": {
                  "path": [
                    "dashboard",
                    "stats"
                  ],
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "query": [
                    {
                      "disabled": false,
                      "description": {
                        "content": "Required for agency keys. Ignored for a location key, which stays pinned to its own CRM location. A foreign or transferred-out location is refused; the read does not run against that location.",
                        "type": "text/plain"
                      },
                      "key": "locationId",
                      "value": "<string>"
                    },
                    {
                      "disabled": false,
                      "description": {
                        "content": "",
                        "type": "text/plain"
                      },
                      "key": "days",
                      "value": "30"
                    }
                  ],
                  "variable": []
                },
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "method": "GET",
                "body": {},
                "auth": null
              }
            }
          ]
        }
      ]
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "type": "any",
        "value": "{{bearerToken}}",
        "key": "token"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://marketplace-app.myfundingmachine.com/api/v1"
    },
    {
      "key": "bearerToken",
      "value": "fmk_YOUR_KEY_HERE",
      "type": "secret"
    }
  ],
  "info": {
    "_postman_id": "59713a43-d9a3-4cab-93c3-e6a1b3113e24",
    "name": "Funding Machine Public API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "description": {
      "content": "Read-only access to stored Funding Machine and CRM data. Version 1 never creates, changes, bills, pulls, or underwrites data.",
      "type": "text/plain"
    }
  }
}
