List applications v2
The organization's applications, filterable by customer, status and product type. Two fields tell an application's origin apart: preApprovalId set means it was opened on the customer's main offer (the pre-approval); creditLineId set means it is a draw against an existing credit line, and the value is the id of the line the draw belongs to.
Query Parameters
- Type: integerpagemin:-9007199254740991max:9007199254740991
Page number
- Type: integerlimitmin:-9007199254740991max:9007199254740991
Items per page
- Type: stringsearch
Free-text search
- Type: stringdate
From Filter from date (YYYY-MM-DD; legacy MM-DD-YYYY accepted)
- Type: stringdate
To Filter to date (YYYY-MM-DD; legacy MM-DD-YYYY accepted)
- Type: stringorder
By Field used for sorting
- enumorder
Direction Sort direction
- Type: stringFormat: uuidid
Application UUID
- Type: stringexternal
Id Partner-defined customer identifier
- Type: stringFormat: uuidcustomer
Id Customer UUID
- enumstatus
Application status
valuesDRAFTPROCESSINGAPPROVEDREJECTEDCANCELLEDREQUIRES_ACTIONEXPIRED - enumtype
Product filter
- Type: stringFormat: uuidpre
Approval Id Only the application opened on this pre-approval (the customer's main offer)
- Type: stringFormat: uuidcredit
Line Id Only draw applications against this credit line
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/v2/applications
curl 'https://api-sandbox.tryslatehq.com/v2/applications?page=1&limit=50&dateFrom=2025-01-30&dateTo=2025-01-30&orderBy=createdAt&id=123e4567-e89b-12d3-a456-426614174000&externalId=cust_123&customerId=123e4567-e89b-12d3-a456-426614174000&preApprovalId=123e4567-e89b-12d3-a456-426614174000&creditLineId=123e4567-e89b-12d3-a456-426614174000' \
--header 'x-api-key: YOUR_SECRET_TOKEN'
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"customerId": "123e4567-e89b-12d3-a456-426614174000",
"currentStep": "INTRO",
"status": "DRAFT",
"financeRequestId": "123e4567-e89b-12d3-a456-426614174000",
"preApprovalId": "123e4567-e89b-12d3-a456-426614174000",
"creditLineId": "123e4567-e89b-12d3-a456-426614174000",
"type": "capital",
"externalId": "biz_123",
"createdAt": "2025-01-01T00:00:00Z",
"updatedAt": "2025-01-01T00:00:00Z",
"expiresAt": "2025-04-01T00:00:00Z"
}
],
"page": 1,
"limit": 1,
"total": 1,
"totalPages": 1
}