post
https://app.lendapi.com/api/v1/outcome/
Creates a new Outcome (Assignment) for the Tenant, tied to an Action.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Live keys only. This endpoint only works with a live_ API key. Any other key, including a test_ key, gets a 400 with this body, whatever you send:
{
"type": "invalid_request_error",
"errors": "Decision-tree authoring via API currently supports live mode tokens only."
}Name rules
namecan be up to 60 characters. It can only contain letters, numbers, spaces, hyphens and underscores. Leading and trailing spaces are removed.namemust be unique in your account. The check ignores case and spaces, so "VIP Approve" clashes with "vip approve" and "VIPApprove".
Outcome types
outcome_type is the id of the Action the outcome belongs to. The endpoint accepts these ids:
| Id | Action |
|---|---|
| 1 | Approve |
| 2 | Decline |
| 3 | Review |
| 4 | Accept |
| 5 | Request Docs |
| 6 | Identity Accept |
| 7 | Identity Decline |
| 8 | Credit Decline |
Use 1, 2, 3 or 5 unless you have a specific reason not to. These are the Actions that List all Actions returns, and the only ids that List Outcomes by Action accepts. An outcome created with 4, 6, 7 or 8 does not show up in List Outcomes by Action.
401The API key is not recognised or is inactive. The body is empty.

