Uploadsv1Customer Documents
Get customer file by type
Get customer files of a specific type. The filter is read from the QUERY parameter file_type — GetAllFileInfoByCustomerIDAndFileType calls r.URL.Query().Get("file_type") and never reads the path segment, so a caller that fills only the path sends an empty filter. The path segment is still required by the route pattern.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
customer_id*string
file_type*string
Required by the route pattern and ignored by the handler. Send the filter in the query parameter of the same name.
Query Parameters
file_type?string
The document type the handler actually filters on.
is_signed?boolean
is_approved?boolean
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/uploads/customer/497f6eca-6276-4993-bfeb-53cbbbba6f08/file/type/bylaws"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"file_name": "string",
"document_type": "bylaws",
"approval_status": "pending",
"approval_needed": 0.1,
"approval_made": 0.1,
"signature_status": "pending",
"signature_needed": 0.1,
"signature_made": 0.1,
"customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
"content_length": 0,
"file_extension": "string",
"active": true,
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"modified_at": "2019-08-24T14:15:22Z",
"modified_by": "e8d4374d-93a1-4e98-a6c6-fdcf00c5059f",
"created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4"
}{
"status": 401,
"message": "Unauthorized",
"code": "common.unauthorized",
"class": "business"
}{
"status": 403,
"message": "No access to the record",
"code": "common.rbac_no_rec_access",
"class": "business"
}{
"status": 404,
"code": "uploads.record_not_found",
"message": "Record not found"
}{
"status": 429,
"message": "Rate limit for 203.0.113.7 to /v1/uploads exceeded.",
"code": "rate_limits_m.exceeded",
"class": "temporary",
"retryable": true
}{
"status": 500,
"message": "Internal server error",
"code": "common.server_error",
"class": "business"
}{
"overall_status": "unhealthy",
"message": "Service is shutting down",
"timestamp": "2026-08-27T15:04:05Z"
}