Skip to main content

prepareClaimDocumentUpload

Prepares secure upload links for claim documents, such as receipts and invoices. Specify exactly one target:

  • individualId creates a new document group owned by that Individual. Upload the files, then pass the returned documentGroupId to submitClaim.
  • claimId adds files to the document group of a claim in INFORMATION_REQUESTED status. Call resubmitClaim after the files are uploaded.

For each entry in uploads, send the file's bytes in an HTTP PUT request to uploadUrl, with every header in requestHeaders and no other changes. The links expire at expiresAt. Prepare a new upload if a link expires before it is used. First Dollar encrypts the files; the request headers carry the file's encryption key, so treat the URL and headers as secrets and do not log them.

prepareClaimDocumentUpload(
input: PrepareClaimDocumentUploadInput!
): PrepareClaimDocumentUploadResponse

Arguments​

prepareClaimDocumentUpload.input ● PrepareClaimDocumentUploadInput! non-null input​

Type​

PrepareClaimDocumentUploadResponse union​

The possible results of preparing a claim document upload.