Callbacks
Results are pushed to a URL you configure. Two events: one per task, one per application.
No polling required. Callbacks are configured per organisation by AbleCredit: a per task webhook and an application level webhook. Every delivery is logged and retried.
The two events
| Event | Fires | Contents |
|---|---|---|
task.completed | Once per task, after that task's inference is fully ready (AI outputs and report PDF) | The task, all its form answers, and all its AI outputs |
case.completed | Once per application, when every task is complete and ready | Every task's data combined, plus the assembled combined report |
The two toggles are independent. If a task's callback is off, no task.completed is sent for
it, but its data is still included in the combined case.completed, which is sent whenever the
application level callback is enabled.
Which body shape you receive
The application level callback has three configurations, set per organisation. Confirm which one applies to you before writing a parser: the envelopes are not interchangeable.
| Shape | Event on the wire | Body |
|---|---|---|
| Standard | case.completed | The payload below, sent bare: org_id, case_id, tasks[], combined_report, combinedInference |
| Compatible, per application | application/cam_available | The earlier platform's application body, nested under data.application. One delivery for the whole application |
| Compatible, per applicant | application/cam_available | The same body, one delivery per applicant, each narrowed to that member: their own form answers, their own AI output, their own reports, plus any application scope report. A three applicant case sends three callbacks |
Reading the application object at the top level is the most common integration error. Under
either compatible shape the body is
{ "event": "application/cam_available", "data": { "application": { ... } } }. A consumer that
looks for the application fields at the root finds them missing.
The compatible shapes carry applicant_id, the value you supplied at creation, so each delivery
reconciles against your own record.
task.completed
{
"event": "task.completed",
"org_id": "ORG-12345678",
"case_id": "LOAN-2026-0007",
"task": {
"id": "...", "kind": "physical_pd", "title": "Physical PD", "status": "completed",
"moduleData": { "fields": { "ownership_verified": true } }
},
"form_answers": { "ownership_verified": true },
"inference": {
"status": "ready",
"workflowId": "WF...",
"scores": { "pd_score": 0.72 },
"data": [
{ "report_name": "business_pd", "title": "Business PD Report",
"groups": [ { "group": "Business Details",
"rows": [ { "key": "Monthly Sales", "value": "50000" } ] } ] }
],
"artifacts": [
{ "label": "business_pd", "url": "https://...", "key": "reports/....pdf" }
]
},
"timestamp": 1788515568000
}case.completed
{
"event": "case.completed",
"org_id": "ORG-12345678",
"case_id": "LOAN-2026-0007",
"case": { "id": "LOAN-2026-0007", "name": "Ramesh Traders",
"loanType": "Business Loan", "amount": "500000" },
"tasks": [
{ "task_id": "...", "kind": "physical_pd", "title": "Physical PD",
"form_answers": {},
"inference": { "status": "ready", "scores": {}, "data": [], "artifacts": [] } }
],
"combined_report": {
"verdict": "...",
"recommendation": "...",
"sections": [
{ "taskId": "...", "title": "...", "kind": "physical_pd",
"rows": [ { "key": "Monthly Sales", "value": "50000" } ] }
]
},
"combinedInference": {
"status": "ready",
"artifacts": [ { "label": "Combined report", "url": "https://...", "key": "reports/....pdf" } ]
},
"timestamp": 1788515999000
}Authenticating a callback
Every callback carries content-type: application/json, and that value is fixed. On top of that,
your organisation can be configured to attach static custom headers, so your endpoint can
verify a request genuinely came from AbleCredit instead of trusting anyone who has learned the URL.
content-type: application/json
x-signature: <the value agreed with you>The value itself is shared with you out of band, never in this documentation.
| Point | What it means for your handler |
|---|---|
| Names arrive lowercased | HTTP header names are case insensitive. If you read from a raw map, lowercase the key before looking it up. |
| Compare in constant time | Use a constant time equality check, not ==. |
| This proves origin, not integrity | The value is static. There is no per request signature and no timestamp, so it does not protect against a replayed or modified body from anyone who has seen one of our requests. Treat it as a shared secret, serve the endpoint over HTTPS, and do not rely on it as the only control for high value actions. |
| Reserved names are rejected | content-type, content-length, host, cookie, proxy authorization style headers and other framing headers cannot be configured. |
Receiving correctly
Respond with HTTP 200. Only 200 is treated as success. Anything else, including 201,
202 and 204, is treated as a failure and the delivery is retried up to 8 times with
exponential backoff.
- Answer quickly, process afterwards. Acknowledge the delivery, then do the work.
- Expect a redelivery. A retried event is the same event. Deduplicate on
case_idplus the event and task id rather than assuming once only delivery. - Treat every link as time limited. Report PDFs, captured photos and the geo map are served through a stable AbleCredit proxy link, and fall back to a presigned storage URL when a proxy link cannot be minted. Download what you need rather than storing the URL and fetching it months later.
Ask your AbleCredit contact for a sample payload for your organisation. The console can generate one per configured task plus the combined application callback, with the real field and section structure filled with illustrative values.