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
  • applicationId
    Type: integerFormat: int32
    required

    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://sandbox-api.pioneerhub.co.nz/api/v1/upload/client?applicationId=10' \
  --request POST \
  --header 'Content-Type: multipart/form-data' \
  --form 'files=@filename'
{
  "status": "OK",
  "data": {
    "message": "File uploaded successfully"
  },
  "timestamp": "2025-08-06T04:50:58.860677109Z"
}