Skip to Content
Docs
Get startedPartner API v4Partner API v3Android SDK

Create application

Create the case and generate the tasks for every applicant that carries a category.

POST/partner/v1/applications
Try it in the playground

Creates the application and, for each applicant carrying a primaryIncome, generates that member's tasks from your organisation's templates for that category.

Body

FieldTypeRequiredDescription
referencestringrequiredYour case id, and the id every later request uses. Unique per organisation. Letters, digits, dot, underscore and hyphen only, no spaces.
applicantsarrayrequiredAt least one applicant. Tasks are generated from a member's category, so a case created without one could never have any work on it.
namestringoptionalApplication or borrower name. Defaults to the reference.
initialsstringoptionalAvatar initials. Derived from name when omitted.
loanTypestringoptionalFor example LAP, Business Loan.
amountstringoptionalLoan amount, for example "500000".
branchIdstringoptionalThe branch the case belongs to, which controls who can see it. Accepts a branch id or the branch code your existing integration already sends.

Applicant object

FieldRequiredDescription
namerequiredBorrower name.
primaryIncomeoptionalThe income source category. This is what generates the member's tasks. An applicant without one is created with no work under them.
roleoptionalApplicant (primary) or Co-borrower.
phoneoptionalTen digit mobile. A leading +91 or 0 is fine.
otherIncomesoptionalAdditional categories, as a string array.
emailoptionalEmail address.
entityTypeoptionalindividual, proprietorship, partnership or company.
doboptionalDate of birth, DD/MM/YYYY.
idType / idNumberoptionalPAN, Aadhaar, Passport and the number.
address, city, state, pincodeoptionalBorrower address.

Example

curl -X POST "$BASE/applications" \
  -H "api-key: $KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "reference": "LOAN-2026-0007",
    "name": "Ramesh Traders",
    "loanType": "Business Loan",
    "amount": "500000",
    "branchId": "TN003",
    "applicants": [
      {
        "name": "Ramesh Kumar",
        "role": "Applicant",
        "phone": "9000000001",
        "primaryIncome": "Self Employed",
        "email": "ramesh@example.com",
        "entityType": "individual",
        "dob": "01/06/1985",
        "idType": "PAN",
        "idNumber": "ABCDE1234F",
        "address": "12 MG Road, Sector 4",
        "city": "Bengaluru",
        "state": "Karnataka",
        "pincode": "560001"
      }
    ]
  }'

Response 201 Created

The created case with its task graph: the members, the task nodes with their status and assignee, the edges between them, and the combined report node.

{
  "id": "LOAN-2026-0007",
  "case": {
    "id": "LOAN-2026-0007",
    "name": "Ramesh Traders",
    "loanType": "Business Loan",
    "amount": "500000",
    "combinedInference": null,
    "completed": false
  },
  "members": [
    { "id": "member:...", "entityId": "...", "name": "Ramesh Kumar", "role": "Applicant",
      "primaryIncome": "Self Employed" }
  ],
  "nodes": [
    { "id": "...", "kind": "physical_pd", "title": "Physical PD", "status": "todo",
      "assigneeId": null }
  ],
  "edges": [{ "source": "member:...", "target": "...", "kind": "member-task" }],
  "combined": { "id": "combined:LOAN-2026-0007", "kind": "report", "status": "pending" }
}

Check nodes on the response. An empty array means no tasks were generated, which almost always means the primaryIncome you sent is not one of your configured categories.

Validation

Phone and amount are validated the same way the AbleCredit console validates them when a person types them, so bad values are refused at the door rather than discovered months later by someone trying to call the number.

  • phone must be ten digits. A country code or a trunk zero is fine, so +91 90000 04697 and 9000004697 are the same number. Eleven arbitrary digits is a typo and is refused rather than truncated.
  • amount may contain digits, commas and periods.

Every problem comes back in one response, keyed by applicant index, rather than one per round trip:

{
  "error": "validation_failed",
  "detail": [
    { "field": "applicants[0].phone", "value": "123", "message": "mobile must be a 10-digit number" },
    { "field": "amount", "value": "-5abc", "message": "amount can only contain digits, commas and periods" }
  ]
}

Errors

StatusCodeWhen
400missing_referenceNo reference in the body. The response lists the keys it did receive.
400bad_case_idThe reference contains something other than letters, digits, dot, underscore or hyphen.
400no_applicantsNo applicants were sent. Add them here, or later with Add applicant.
400validation_failedOne or more fields failed validation. See detail.
400category_not_foundThe primaryIncome is not a configured category. The response carries allowed, so the mismatch is self diagnosing.
409reference_existsAn application with that reference already exists in your organisation.

On this page