curl -X POST \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
-F apikey=423s***** \
-F document=@/Users/username/Documents/Sample.docx \
-F 'editor_settings={'\''unit'\'':'\''in'\'','\''language'\'':'\''en'\'','\''view'\'':'\''pageview'\''}' \
-F 'permissions={'\''document.export'\'':true,'\''document.print'\'':true,'\''document.edit'\'':true,'\''review.changes.resolve'\'':false,'\''review.comment'\'':true,'\''collab.chat'\'':true}' \
-F 'document_info={'\''document_name'\'':'\''Sample'\'', '\''document_id'\'':138859911}' \
-F 'user_info={'\''user_id'\'':'\''1000'\'','\''display_name'\'':'\''James'\''}'