Uploads a new document to a specific transaction. The document binary must be Base64 encoded.
POST
/v2/transactions/{id}/documents
curl \
--request POST 'https://api.pre.transactiondesk.com/v2/transactions/{id}/documents' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"documentName":"Purchase Agreement","binary":"string","fileTypeId":"string"}'
Request examples
{
"documentName": "Purchase Agreement",
"binary": "string",
"fileTypeId": "string"
}
Response examples (200)
{
"id": "string"
}
Response examples (401)
{
"code": 401,
"message": "Unauthorized. The user is not authenticated.",
"details": []
}