curl --request POST \
--url https://sandbox.hurdlr.com/rest/v5/files/attachment \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: */*' \
--data '
{
"attachment": {
"id": 123,
"caption": "<string>",
"date": "2023-11-07T05:31:56Z",
"amount": 123,
"entity": "<string>",
"fileName": "<string>",
"entityId": 123,
"fileSize": "24 KB",
"iconUrl": "https://cdn.sandbox.tight.com/icons/attachments/pdf.svg"
}
}
'