Skip to main content

Upload Loan Documents

POST /api/v1/loans/documents/{requestId}/tenants/{tenantId}

Description

Upload loan documents for a specific request and tenant.

Path Parameters

NameTypeDescription
requestIdstringThe ID of the loan request
tenantIdstringThe ID of the tenant

Request Headers

NameTypeDescription
service-api-keystringAPI key for authentication (header)
service-api-codestringAPI code for authentication (header)

Request Body

  • Content Type: application/json
{
"docLinks": [
{
"name": "string",
"link": "string"
}
]
}

Response Code: 201 - Created

Description

Documents uploaded successfully.

Headers

|Content-Type |Value| |service-api-key |{{apiKey}}| |service-api-code |{{apiCode}}|

Body

{
"docLinks": [
{
"name": "Document 1",
"link": "https://example.com/document1"
},
{
"name": "Document 2",
"link": "https://example.com/document2"
}
]
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request POST \ 
--url /api/v1/loans/documents/{requestId}/tenants/{tenantId} \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!