> For the complete documentation index, see [llms.txt](https://api-docs.hengelending.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.hengelending.com/api/guides/changelog-and-versioning.md). Agents can also search and read this documentation through its [MCP server](https://api-docs.hengelending.com/~gitbook/mcp).

# Changelog and versioning

## Versioning

The Partner API is version 1. There is no version in the path. The API reference (`info.version` in the OpenAPI document) moves up one minor version with each change listed in the changelog below, so the version tells you which entries a reference includes.

**Within v1 we only add.** These changes can ship at any time, so your client must tolerate them:

* a new endpoint
* a new optional request field
* a new field in a response
* a new value in an enum, including new LOS status names and error `code` values

**Breaking changes wait for v2, or are deprecated first.** Removing or renaming an endpoint, a field or an enum value, or making a rule stricter, either ships in v2 or follows a deprecation. A deprecated endpoint carries a `Sunset` header with the date it stops working, and is listed under **Deprecated** below with that date. The route keeps working until the date.

What you should do:

* Ignore fields and enum values you do not know.
* Branch on `code` and on the status code, not on message text.
* Read this page when you plan a release.

## Deprecated

These routes still work. Each response from them carries `Deprecation: true`, a `Sunset` header with the date below and a `Link` header naming the route to use instead. Move to the replacement before the date. A route is withdrawn on or after its date, never before.

The conditions routes work on conditions, the items an underwriter or lender asks for. A request filed under no condition (a form, for example) is not reached by any conditions route yet, and some uses of the task routes have no replacement. The last column lists them.

| Deprecated route                                                    | Use instead                                                                                                                                                                               | Not covered yet                                                                                                                                    | Sunset     |
| ------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
| `GET /loan-applications/{id}/tasks`                                 | `GET /loan-applications/{id}/conditions`: each condition with the requests under it                                                                                                       | Requests under no condition are not listed                                                                                                         | 2027-01-31 |
| `POST /loan-applications/{id}/tasks`                                | `POST /loan-applications/{id}/conditions`: answers the condition the new request sits under, or the request's own id when it sits under none                                              | None                                                                                                                                               | 2027-01-31 |
| `GET /loan-applications/{id}/tasks/{taskId}`                        | `GET /loan-applications/{id}/conditions/{conditionId}`: the condition with its requests                                                                                                   | Reading a request under no condition                                                                                                               | 2027-01-31 |
| `PUT /loan-applications/{id}/tasks/{taskId}`                        | `PUT /loan-applications/{id}/conditions/{conditionId}`: changes the condition's own name, description, category, due date, visibility and required document type. Admin applications only | Changing a request (its name, description, assignee, due date or required flag), and any change by an application that is not an admin application | 2027-01-31 |
| `DELETE /loan-applications/{id}/tasks/{taskId}`                     | `DELETE /loan-applications/{id}/conditions/{conditionId}`: deletes the whole condition                                                                                                    | Deleting one request under a condition, or a request under no condition                                                                            | 2027-01-31 |
| `POST /loan-applications/{id}/tasks/{taskId}/status`                | `POST /loan-applications/{id}/conditions/{conditionId}/status`: every request under the condition, or the one named by `taskId`                                                           | Requests under no condition                                                                                                                        | 2027-01-31 |
| `POST /loan-applications/{id}/tasks/{taskId}/accept`                | `POST /loan-applications/{id}/conditions/{conditionId}/accept`: every request under the condition that holds a document, or the one named by `taskId`                                     | Requests under no condition                                                                                                                        | 2027-01-31 |
| `POST /loan-applications/{id}/tasks/{taskId}/reject`                | `POST /loan-applications/{id}/conditions/{conditionId}/reject`: as accept                                                                                                                 | Requests under no condition                                                                                                                        | 2027-01-31 |
| `PUT /loan-applications/{id}/tasks/{taskId}/condition`              | None                                                                                                                                                                                      | Linking a request to a condition, moving it to another or unlinking it                                                                             | 2027-01-31 |
| `GET /loan-applications/{id}/tasks/{taskId}/documents/{documentId}` | `GET /loan-applications/{id}/conditions/{conditionId}/documents/{documentId}`: takes the condition's id, not the request's                                                                | Documents of requests under no condition                                                                                                           | 2027-01-31 |
| `POST /loan-applications/{id}/tasks/{taskId}/documents`             | `POST /loan-applications/{id}/conditions/{conditionId}/documents`: the request that takes the file is found or created from the document's description                                    | Uploading to a request you choose, or to a request under no condition                                                                              | 2027-01-31 |
| `GET /loan-applications/{id}/tasks/assignable-users`                | `GET /loan-applications/{id}/conditions/assignable-users`: admin applications only, as before                                                                                             | None                                                                                                                                               | 2027-01-31 |
| `PUT /loan-applications/{id}/documents/{documentId}/task`           | `PUT /loan-applications/{id}/documents/{documentId}/condition`                                                                                                                            | Choosing which request under the condition takes the document, or moving it to a request under no condition                                        | 2027-01-31 |

Each replacement needs the same scope as the route it replaces. A route keeps working for the uses in the third column until a replacement for them is listed here. If that replacement is not ready before the Sunset date, we will move the date, here and in the `Sunset` header, before it passes.

## Changelog

Newest first. Each entry is dated with the day the change reached production, and names the version of the API reference that day.

### 2026-11-27: registration documents a price monitor

The response of `GET` and `POST /loan-applications/{id}/registration` now documents an optional `monitor` object: how the price of a floating registration has moved since it was registered. It is present only where the price monitor is turned on for the loan, and absent otherwise; a client that ignores unknown fields needs no change.

### 2026-11-25: conditions routes added, task routes deprecated

Twelve routes work with a loan's conditions, the items an underwriter or lender asks for, and the requests filed under each:

* `GET` and `POST /loan-applications/{id}/conditions`
* `GET`, `PUT` and `DELETE /loan-applications/{id}/conditions/{conditionId}`
* `POST /loan-applications/{id}/conditions/{conditionId}/status`, `/accept` and `/reject`
* `GET /loan-applications/{id}/conditions/{conditionId}/documents/{documentId}` and `POST /loan-applications/{id}/conditions/{conditionId}/documents`
* `GET /loan-applications/{id}/conditions/assignable-users`
* `PUT /loan-applications/{id}/documents/{documentId}/condition`

A condition keeps the same id before and after the loan is submitted. Status, accept and reject act on the requests under the condition: all of them, or the one you name with `taskId`. Each route needs the scope of the task route it replaces. Changing a condition's own fields and listing assignable users are for admin applications only.

The task routes are deprecated in favour of these. They keep working; see **Deprecated** above for the date and the replacement of each.

### 2026-11-25: saved pricing scenario routes removed

Six routes were removed with saved pricing scenarios:

* `GET /pricing/scenarios` and `POST /pricing/scenarios`
* `GET`, `PATCH` and `DELETE /pricing/scenarios/{scenarioId}`
* `POST /pricing/scenarios/{scenarioId}/quotes/{quoteId}/lock-request`

They no longer exist. To price, use `POST /pricing/search`. To request a lock on a broker (TPO) loan, register the program with `POST /loan-applications/{id}/registration` and the `Lock` election. `POST /pricing/scenarios/{scenarioId}/lock-request/cancel` remains, so a lock request made from a scenario before the change can still be cancelled.

This removal did not follow the policy above: the routes were not deprecated first and had no `Sunset` date. We should have given notice. If you were calling them, contact support and we will help you move.

### 2026-11-25: create your own API credentials

A company admin can now create, rotate and revoke the company's API credentials in Henge, under **Company Profile**, **API credentials**, instead of asking us. A company can hold two active credentials, so a secret can be rotated without downtime. Credentials made for you before today keep working. See [API credentials](https://api-docs.hengelending.com/api/guides/api-credentials.md).

### 2026-11-25: reference version 1.3.0

The API reference is now version 1.3.0 and describes the API as it behaves. **The JSON on the wire is unchanged**, and no endpoint changed its behavior. If you generate a client from the reference, regenerate it: schema names changed, which renames the types in generated code. See [Schema renames in 1.3.0](https://api-docs.hengelending.com/api/guides/changelog-and-versioning/schema-renames-1.3.0.md) for the old and new names.

* **Authentication.** Every operation except the token endpoint and the ping declares bearer authentication, per operation.
* **Scopes.** Each operation names the scope it needs, so you can see before a call which permission to ask for.
* **JSON only.** Request bodies are documented as JSON. Other media types the server still answers are unsupported.
* **Schema names.** Schemas have short names instead of generated ones.
* **Server URLs.** The production and UAT base URLs are declared. UAT credentials do not work in production.
* **Error schema.** The error body now publishes `code` and `traceId`, which the API already sent.
* **Examples.** The endpoints you are most likely to call first have request and response examples.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://api-docs.hengelending.com/api/guides/changelog-and-versioning.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
