/document/redlineCompare Documents (Redline)
Upload an original DOCX (`left_docx`) and a revised DOCX (`right_docx`) as multipart/form-data. The response is a DOCX based on the revised document with differences represented as Microsoft Word tracked changes.
Parameters
emailquerystringYour email address. Required if not using an API key.
Request Bodyrequired
left_docxstring (binary)requiredOriginal Word document. The uploaded filename must end in .docx.
right_docxstring (binary)requiredRevised Word document. The uploaded filename must end in .docx.
Responses
Every response includes the X-Credits-Used header. In JSON responses, the same value is also available in the creditsUsed field.
Valid revised-document-based DOCX containing tracked changes. Usage has committed before delivery starts.
application/vnd.openxmlformats-officedocument.wordprocessingml.document
string (binary)Example Request
curl -X POST \
"https://api.diffchecker.com/public/document/redline?email=your@email.com" \
-F "left_docx=@/path/to/left_docx.docx" \
-F "right_docx=@/path/to/right_docx.docx" \
--output "redline.docx"Try It
Click or drag to upload
Click or drag to upload