Upload a file to a Transaction. The multipart/form-data body has two fields:

  • name
  • file
curl --request POST \
  --url https://app.blueprinttitle.com/public/api/v2.0.0/transactions/ab6f797d-95f8-45be-a75f-bea181178579/documents \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer 1|5gBJ9a61ldFDmki3rF2BfCMV1xahYphZcV81xdZE' \
  --header 'Content-Type: multipart/form-data; boundary=---011000010111000001101001' \
  --form name=Contract \
  --form '[email protected]/local/path/to/my_contract_file.pdf'

If the name is Contract or Lender Title Order, the Document will have that type and be displayed with that type in the Blueprint Title App UI.

Any other name value will result in a type of Miscellaneous

Response:

{
  "data": {
    "id": 4534,
    "type": "Contract",
    "name": "Contract",
    "file_name": "my_contract_file.pdf",
    "download_url": "http:\/\/some.hostname.amazon.com\/path\/to\/my_contract_file.pdf",
    "uploaded_at": "2021-05-10T20:49:16.000000Z"
  }
}