adding search api attachments