# Public API changelog Every change to the `/api/v1/*` surface — new routes, new response fields, deprecations, retirements — is logged here. Additive changes (new routes, new optional fields, new event types) do not require a version bump; breaking changes do (see [API versioning](../guides/versioning.md)). Newest first. ## 2026-11 — loans show who is involved; collaterals show their loans - **New loan fields:** `servicerId`, `lenderOfRecordId`, `brokerOrganisationId`, `broker`, `corporateTrusteeIds`, `guarantors` (with each guarantee's terms), `obligors`, `sponsors` and `dealLeadName`. Party links are ids to follow with the existing reads. See [Loans → The response shape](../guides/resources/loans/object.md). - **New collateral fields:** `placeDetails`, `owningIndividualIds` and `loanIds` (your loans the collateral secures). - **`GET /organisations/{id}` resolves shared organisations.** A servicer, trustee or other organisation your lender works with, but doesn't own, is now returned instead of `404`, so every id a loan links to can be read. `GET /organisations` still lists only the organisations your lender owns. ## 2026-11 — base rates no longer say where a rate came from; document upload fixed - **`GET /base-rates`:** `currentRate` no longer includes `source`. It described how the platform obtained the rate, which isn't something to integrate against. `basisPoints` and `valueDate` are unchanged. The API reference now documents the response. - **`POST /loans/{id}/documents` works.** It failed for loans that had no document folders yet, which included every loan created through the API. The response is now `name`, `size` and `contentType`; the internal file id and link it would have returned are no longer part of it. `category` and `description` are rejected with a `400` until they can be stored. See [Loans → Documents](../guides/resources/loans/documents.md). ## 2026-11 — primary collateral readable; stricter loan writes - **New field: `primaryCollateralId`** on loan responses — the collateral sent with `isPrimary` (or the first listed). See [Loans](../guides/resources/loans/README.md). - **Unstored loan fields are rejected.** `broker`, `brokerOrganisationExternalId`, `corporateTrustee`, `corporateTrusteeExternalIds`, `sponsors` and loan-level `fees` on `POST /loans` now return `400` naming the field, instead of being accepted and dropped. - **Re-sends check the loan, not just your records.** A re-send naming a collateral that isn't one of the loan's collaterals (even one on another of your loans), or a different borrower, now returns `409`. A re-send naming an organisation that was matched by its legal name on the first send is no longer rejected. - **Tenancy dates.** A tenancy whose `termEnd` is earlier than its `termStart` is rejected. - **Docs:** loan `category` values corrected (`cc` is commercial construction; `consumer` and `wholesale` aren't category values). ## 2026-11 — re-sending a loan changes nothing - **A re-send is a true no-op.** `POST /loans` with an `externalId` that already exists returns `201` with `loan.created: false` and creates or updates nothing. The credit assessment no longer re-runs, so `loan.assessment_completed` no longer fires again on a re-send. - **Additions are rejected.** A re-send that names an organisation or collateral the loan wasn't created with now returns `409` with a field error per record. Previously those records were created but never attached to the loan. See [Sending the same payload again](../guides/resources/loans/create.md#sending-the-same-payload-again). ## 2026-11 — loan responses always complete; `expectedStartDate` - **Loan fields are now `null` when unset.** `principalAmount`, `loanRank`, `loanExitStrategy` and `purposeOfLoan` were left out of the response when a loan didn't record them. They're now always present, matching the API reference. - **`expectedStartDate` on create.** `POST /loans` accepts `loan.expectedStartDate`, the name it's stored and returned under. `startDate` still works as an older name for the same field; sending both is a field error. - **Assessment `gallantreeBorrowerId` fixed.** It was derived from the loan's id; it's now the borrower's. - **API reference:** loan responses, the `POST /loans` request body (generated from the same schema that validates it) and the acknowledgement are now documented in full. - **Docs:** the loans guide's example values, main statuses and acknowledgement shape now match the API. ## 2026-11 — collateral data is stored, or rejected Collateral fields in `POST /loans` that were accepted but not saved are now saved and returned, and fields we can't store yet are rejected instead of ignored. **Check your payloads in sandbox:** a request that used to succeed may now return `400` with field errors. - **Now stored and returned by `GET /collaterals`:** owners (`owningOrganisationIds`; previously lost), `description`, `propertyStatus`, `totalNetLettableArea`, `asIfCompleteValue`, `wale`, `dscr`, `icr`, `tenancies` and `valuations`. See [Collaterals](../guides/resources/loans/create-collaterals.md). - **`isPrimary`** now sets the loan's primary collateral. - **New field errors:** an owner, valuation firm or instructing party that names no organisation in the request; a `loan.collateralExternalIds` entry that names no collateral in the request; more than one `isPrimary`; an incomplete tenancy or valuation; collateral `rating` or `financials` (not supported yet); a free-text `valuationFirm` (send `valuationFirmExternalId`). - **New optional request fields:** tenancy `tenancyTerm` and `countsTowardsOccupancy`; valuation `valuationFirmExternalId`, `instructingPartyExternalId`, `dateOfInspection` and `dateOfRequest`. - **API reference:** collateral responses are now documented in full, and `/collaterals/{id}` declares its `id` parameter. ## 2026-11 — product fields always present; capital program and product guides - **Product parameters are now `null` when unset.** `loanRank`, `daysInYear`, `loanMin`, `loanMax`, `minimumLVR`, `maximumLVR`, `minimumTerm` and `maximumTerm` were left out of the response when a product didn't set them. They're now always present, as `null` when unset, matching the API reference. - **New guides:** [Capital programs](../guides/resources/capital-programs/README.md) and [Products](../guides/resources/products/README.md), including how fees are described and what's in the sandbox. ## 2026-11 — fees on products and capital programs Additive, with one behaviour change for writes. - **`fees` in responses.** `GET /products`, `/products/{id}`, `/capital-programs` and `/capital-programs/{id}` now include a `fees` array: `name`, `category`, `trigger`, `calculationMethod`, `feeType`, `value`, `minimum`, `capitalised`, `isRequired` and `isTaxed`. The API reference now documents these response bodies in full. - **Fees you send are stored.** `fees` on an inline `loan.product` or `loan.capitalProgram` in `POST /loans` was accepted but not saved. It is now stored when the product or program is created. See [Fees](../guides/resources/loans/create-program-and-product.md#fees). - **`minimum`** is accepted on each fee. - **Check your fee payloads in sandbox.** A fee with a missing required field or an unrecognised value is now a `400` field error. Previously the whole `fees` array was silently ignored. ## 2026-11 — documentation corrections No API change. These pages described behaviour the API does not have; they now describe what it does. - **Error statuses.** The API does not return `410`, `413` or `422`; those rows are removed from [Error model](../guides/error-model.md), [Error codes](../reference/error-codes.md) and the individuals guide. Added the `409` cases that do occur (duplicate `externalId`, source-system mismatch, webhook subscription limit) and the `502` from a failed webhook test. - **Request id.** Responses do not carry an `X-Request-Id` header; the support guidance no longer asks for one. - **Key expiry.** Portal-issued keys last 90 days. The portal shows each key's expiry date but sends no 14-day warning and no 24-hour rotation reminder; [Key rotation](../guides/key-rotation.md) now says so, and drops the reference to an admin API that integrators cannot call. ## 2026-11 — list filters, existing capital programs and products, more stored fields Additive changes. - **List filters.** `GET /loans`, `/organisations`, `/collaterals`, `/capital-programs` and `/products` accept `externalId` and `updatedSince`; `/loans` also accepts `status` and `mainStatus` (comma-separated). See [Filtering](../guides/versioning.md#filtering). - **`externalId` in responses.** Those five resources now include the `externalId` they were created with (`null` for records created inside the platform). - **Attach a loan to an existing capital program or product.** `POST /loans` accepts `loan.capitalProgramId` and `loan.productId` in place of the inline blocks. See [Capital program and product](../guides/resources/loans/create-program-and-product.md). - **More fields are stored.** Loan `currency`, `loanRank`, `purposeOfLoan`, `loanExitStrategy` and `totalCollateralValue`, and organisation `addresses` and `credit`, are now saved. Unrecognised values in them are rejected with a field error, as for other enum fields. ## 2026-11 — clearer write errors and stable webhook delivery ids - **Unrecognised enum values are now rejected.** `POST /loans` and `POST /organisations` return `400` for a value the platform does not recognise in `roles`, `organisationStructure`, `organisationIndustry`, `collateralType`, `property.type`, loan `category`, base rates, or the capital program and product classification fields. Previously these silently fell back to a default (an unknown role became `vendor`). Matching still ignores case, spaces, hyphens and underscores, and omitted optional fields still get their defaults. **Check your mappings in sandbox**: a payload that was accepted before may now be rejected. - **`400` responses list the problem fields.** When the import can tell which fields are wrong, the body adds `errors: [{ field, message }]`, covering every problem in the request, with the accepted values for enum fields. This includes unknown organisation references and a deal lead who is not on your lender's platform. `message` is unchanged. See [Field errors](../guides/resources/loans/create.md#field-errors). - **`POST /loans` returns `500`, not `409`,** for an internal failure. - **`X-Gallantree-Delivery` is the same on every retry,** and appears as `deliveryId` in the delivery log, so you can trace one delivery across attempts. The body hash is still the recommended dedupe key, because headers are not signed. - **Rotating a webhook secret** now discards the old secret, and the response no longer claims an overlap window. ## 2026-11 — tenant isolation fixes on writes Behaviour changes to `POST /loans` and `POST /organisations`. No request or response shape changed. - **Records you create now belong to your lender.** Organisations, collaterals, capital programs, products and loans created through the API are tagged to the calling lender, so `GET /loans/{id}` and document uploads work on loans you just created. Products created this way now appear in `GET /products`. - **`externalId`s are scoped to your lender.** Two lenders sending the same `externalId` now get separate records. - **Matching never crosses lenders.** Existing organisations and deal-lead users are only ever matched within your own lender. - **Loan webhooks reach your subscriptions.** `loan.created`, `loan.assessment_completed` and `loan.status_changed` are now dispatched to the loan's lender. - **`POST /organisations` returns `400` / `409` instead of `500`** for an unrecognised `domicile` or an `externalId` registered under another source. ## 2026-11 — documentation corrections No API behaviour changed. These guides were corrected to match what the v1 surface actually does: - **Webhooks.** Four events (`loan.updated`, `document.generated`, `collateral.valuation_updated`, `coverage_test.breach`) can be subscribed to but are not delivered yet; they are now listed separately. Each delivered event's `data` fields are documented. `X-Gallantree-Delivery` is new on every attempt, so deduplicate on a hash of the body instead. Retries keep the original `timestamp`, so the old five-minute freshness check rejected retries; the examples now dedupe instead. Rotating a signing secret takes effect immediately. A subscription pauses after five consecutive failed attempts. The delivery replay endpoint and button were documented but do not exist. - **Pagination.** The default `limit` is 20, not 25. `sort` and `order` are not supported and are ignored. - **Loans and organisations.** The handover examples now validate and import: correct field names, the required servicer, lender of record and inline capital program and product, and accepted `domicile` values. Creation is create-if-absent: re-sending an `externalId` returns the existing record unchanged. Unrecognised enum values fall back to defaults rather than erroring, and several accepted fields are not yet stored. - **Scopes.** There are no `individuals:*` scopes; individuals use the organisation scopes. - **Idempotency.** `Idempotency-Key` must be a UUID v4. ## 2026-08 — v1 launch - Initial public v1 surface published on GitBook. - Read routes: `/loans`, `/organisations`, `/individuals`, `/capital-programs`, `/products`, `/collaterals`, `/base-rates`. - Write routes: `/loans` (create), `/organisations` (create), `/individuals` (create), `/loans/{id}/documents` (upload). - Auth: `x-api-key` header; OAuth 2.0 client credentials at `/api/auth/oauth/token`. - Webhooks: subscribe, deliver, retry, HMAC-SHA256 signing. - Idempotency keys on every write endpoint.