Skip to main content

Get a signed URL to upload a document

Returns a signed URL to upload one document.

Each document needs two requests:

  1. Call this endpoint. It returns an upload_url and a storage_path.
  2. PUT the file to the upload_url with the required_headers. This request goes to Google Cloud Storage, so leave out the bearer token.

Then send the storage_path in document_refs on POST /claims, with the same partner_claim_id. To add a document to a claim that already exists, request the upload URL with that claim's partner_claim_id, then send the storage_path in POST /claims/{claim_id}/messages. See Create a claim.

Request​

POST 

/documents/upload-url

Responses​

Garfield created the signed upload URL.

Response Headers
    X-RateLimit-Limit

    The maximum number of requests your partner account can send in each window. Only production enforces limits and sends this header.

    X-RateLimit-Reset

    The window length in seconds, always 60. The API does not report how much of the current window is left. Only production sends this header.