While I can add attachment to an idea from UI and attachments to the comments, I cannot add attachments to an idea from the API.