Upload a client file

​

Upload a supporting document (jpeg, png, pdf, max 10 MB) for a client application. This endpoint validates file type and size, then stores the file and returns a confirmation. Used by partners to attach documents to applications.

Query Parameters

  • Application ID associated with the upload.

Body

application/json

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/api/v1/upload/client
curl 'https://dev-api.pioneerhub.co.nz/api/v1/upload/client?applicationId=10' \
  --request POST \
  --form 'files=@filename'
Response example

Example of API response

{
  "status": "OK",
  "data": {
    "message": "File uploaded successfully"
  },
  "timestamp": "2025-08-06T04:50:58.860677109Z"
}