Attachment upload API added