Add attachments to objects in Insight thought the cloud REST API

Hi,

I am trying to migrate the information from a CRM system into Insight in JSM Cloud. There are a lot of agreements (documents) that ideally should be attached to the agreement objects in my CRM schema in Insight.

Has anyone figured out a way to add attachments to objects in Insight thought the cloud REST API?

Regards,

/Henrik