cURL
curl --request POST \ --url https://demoapi.saasphereltd.com/api/v1/loans/upload-documents \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "loan_id": 123, "documents": [ "architecto" ] } '
{ "status": "00", "message": "Successful", "data": [] }
Paste only the token (no "Bearer " prefix).
The loan ID.
123
Array of documents to upload.
["architecto"]
"00"
"Successful"
[]