← Developer documentation

Application outcomes

Check what a council asks applicants to submit, how it describes processing times, and what participating applicants actually paid.

What the council publishes

The free council directory shows where Lettance has reviewed procedures and reported figures. A property history pull includes them under applicationEvidence for a matched council. A batch of up to 25 UPRNs costs one credit, and one property with letting facts costs ten. Check council coverage.

Greenwich estimates that processing a completed application can take up to 12 weeks. Havering reported a median of about four months from receipt to a full licence across earlier additional HMO and selective schemes. Quote the period and schemes alongside the figure. Greenwich application guidance · Havering evidence report, section 12.2.

Read the stage and timing classification in publishedProcedures. A representation deadline starts when the draft is issued. For councilReportedMetrics, use the period, unit and scheme scope the publisher provides. Each entry links to its source and gives the date Lettance observed it.

What applicants experienced

Request a quarterly benchmark calculated from completed cases shared by participating organisations. Send the current English council GSS code and one scheme type. Choose selective, additional_hmo or mandatory_hmo.

GET /api/intelligence/v1/outcome-benchmarks
    ?councilGss=E08000035&schemeType=selective
Authorization: Bearer <production data:read key>
Idempotency-Key: <purchase UUID>

A published benchmark costs one credit and includes the median decision time in calendar days, the median total fee in pence rounded to the nearest £5, the sample size, the number of contributing organisations and the dates covered. Reuse the same purchase UUID for retries. Assistants can use application_outcome_benchmark with the same inputs.

We publish the latest completed calendar quarter after a 14-day reporting window. Daily publication freezes each qualifying group once. At least 20 completed applications from 5 independently verified organisations must qualify. One organisation may supply at most 40% of the sample. Related projects count as a single contributor.

An unavailable benchmark returns 404 no_data_available at zero cost, including when the project has no credits. Use the reporting period when quoting a figure. Open applications are absent, participating organisations choose which cases to submit, and council processing times may differ.

Prepare a private export locally

Keep your case-management export on your computer. The Python 3 tool reads six columns and creates a review file containing an opaque contribution ID, the council, scheme, filing and decision dates, and the total fee charged in pence. Names, addresses, case references and other columns stay on your computer.

Download the offline CSV tool. It uses the Python standard library. Preparing a file needs no network connection or API key. For your project ID and verification status, set LETTANCE_KEY and run python3 lettance_outcomes.py status.

python3 lettance_outcomes.py prepare \
  --csv cases.csv --project "$PROJECT_ID" \
  --id-key local-id.key --out reviewed.json

Use caseId, councilGss, schemeType, filedOn, decidedOn and feePence as column headers. Use a stable case reference and ISO dates. Include only completed cases you may contribute. To use different headers, pass --columns columns.json and map any fields that differ, for example {"caseId":"Internal reference","feePence":"Total paid"}. If the fee column holds pounds, add --fee-unit gbp.

Review the JSON locally. Keep your original private ID-key file backed up for future exports and withdrawals. It makes the same case produce the same contribution ID for this project. Choose a fresh output filename for a new batch.

To send, set LETTANCE_KEY in your environment to a production outcomes:write key for your verified project. Check the contribution agreement before accepting it.

python3 lettance_outcomes.py send --batch reviewed.json \
  --agree lettance-aggregate-outcomes-v1

Sending checks verification before sharing any case, then sends only the reviewed fields and the agreement version. Progress is saved beside the batch. If the connection stops or the project is rate limited, rerun the same batch after the wait. Confirmed rows are skipped, and an interrupted write can replay safely. For a correction, withdraw the old contribution and use a new local case identifier for its replacement.

Contribute a completed case

Enable outcomes:write on a production key in the developer console. Each contribution is optional and free. Generate a random version 4 UUID once per completed application and retain it in your system.

POST /api/intelligence/v1/outcomes
Authorization: Bearer <outcomes:write key>
Content-Type: application/json

{
  "contributionId": "572a58b5-fdbd-457d-aaa6-6db78bd8be7a",
  "councilGss": "E08000035",
  "schemeType": "selective",
  "filedOn": "2026-10-05",
  "decidedOn": "2026-11-02",
  "feePence": 75000,
  "reuseAgreement": "lettance-aggregate-outcomes-v1"
}

The example shows the shape of a request. Submit only genuine completed cases in production. Supply the date the application was filed, the date of the council’s decision, and the total council licence fee actually charged across all stages, in whole pence. Exclude agent and professional fees. Submit once the final fee is known.

The first successful request returns 201. An identical retry returns 200. Reusing the identifier with different facts returns 409. We accept only the fields above. Keep addresses, tenant details, licence numbers and source documents in your own system.

Contribution agreement

By sending lettance-aggregate-outcomes-v1, you confirm that the application facts are accurate to the best of your knowledge, that you are authorised to contribute them for your organisation, and that you have the rights to grant Lettance permission to store and analyse them and sell aggregate statistics derived from them. Lettance may continue distributing previously published anonymous aggregates after withdrawal.

We keep individual observations private to Lettance and never return them in a benchmark. An accepted observation becomes eligible for reporting when Lettance verifies the contributing organisation. To establish your organisation or link another project, use the support page with your project ID. The reporting cutoff applies to both contributions and verification.

Withdraw or correct a case

DELETE /api/intelligence/v1/outcomes/{contributionId}
Authorization: Bearer <outcomes:write key>

Withdrawal erases the dates, fee and council from the observation. We retain the project, submission identifier and timestamps to prevent an integration from accidentally recreating a withdrawn case. A second withdrawal is safe. For a correction, withdraw the original and submit the corrected facts under a new UUID. Previously issued benchmarks and purchase receipts keep their original values.