Get all attachments from UW task

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Get All Attachments from UW Task

Returns a list of all attachments uploaded to a specific underwriting task ticket. The response includes metadata for each file — such as the file name, document type, upload timestamp, and the user who uploaded it — without returning the actual file contents. To download file content, use GET /api/v1/uwTasks/ticket/getAttachmentById with the attachment ID from this response.

Endpoint

GET /api/v1/uwTasks/ticket/getAttachmentsByTicketId

Authentication

Basic HTTP Authentication required.
Encode username:password in Base64 and pass in the Authorization header:

Authorization: Basic {base64(username:password)}

When to use

Use this endpoint to get an overview of all documents that have been submitted to a UW task ticket before deciding which specific file to download or review. This is the first step when auditing whether required documentation has been provided, or when presenting an attachment list in a merchant portal UI.

Query Parameters

ParameterTypeRequiredDescription
idinteger (int32)YesMerchant profile ID that owns the UW task
ticketIdinteger (int32)YesID of the UW task ticket whose attachments to list

Response

200 OK

FieldTypeDescription
dataarrayList of attachment metadata objects
data[].idintegerUnique attachment ID (use with getAttachmentById)
data[].fileNamestringName of the uploaded file
data[].dateTimestring (date-time)ISO 8601 timestamp when the file was uploaded
data[].typestringDocument category (e.g., "DriversLicense")
data[].riskDocumentbooleanWhether this document is classified as a risk document
data[].userNamestringUsername of the person who uploaded the file
statusstring (enum)HTTP status name, e.g., "OK"
errorstringError message if the operation failed
warningstringNon-fatal warning message
validationResultsarrayField-level validation errors, if any
requestIdintegerUnique identifier for this API request
{
  "data": [
    {
      "id": 5519,
      "fileName": "john_smith_dl.pdf",
      "dateTime": "2026-05-10T14:32:00Z",
      "type": "DriversLicense",
      "riskDocument": false,
      "userName": "[email protected]"
    },
    {
      "id": 5524,
      "fileName": "business_bank_statement_apr2026.pdf",
      "dateTime": "2026-05-12T09:15:00Z",
      "type": "BusinessBankStatements",
      "riskDocument": false,
      "userName": "[email protected]"
    }
  ],
  "status": "OK",
  "error": null,
  "warning": null,
  "validationResults": [],
  "requestId": 88589
}

Error Codes

CodeWhen it happens
400id or ticketId is missing or not a valid integer
401Invalid or missing Basic Auth credentials
403User does not have permission for this operation
404Merchant or ticket not found
500Internal server error

Common Mistakes

  • Expecting file binary content in this response — this endpoint returns metadata only; use getAttachmentById for file content.
  • Using a merchant profile ID that does not match the ticket — both id and ticketId must correspond to the same merchant.

Related Endpoints

  • GET /api/v1/uwTasks/ticket/getAttachmentById — download the content of a specific attachment
  • POST /api/v1/uwTasks/ticket/addAttachment — upload a new attachment to the ticket
  • GET /api/v1/uwTasks/getByMerchantId — get the list of UW task tickets for a merchant

Example

curl -X GET "https://hq.staging.netevia.dev/api/v1/uwTasks/ticket/getAttachmentsByTicketId?id=48201&ticketId=1073" \
  -H "Authorization: Basic $(echo -n 'username:password' | base64)"
Query Params
int32
required
int32
required
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/json