---
title: "Compare two documents with iddiff"
method: POST
path: "/api/iddiff"
---

# Compare two documents with iddiff

`POST /api/iddiff`

## Response `200`

Returns iddiff as HTML or text

## Other responses

- `400` — Error has occurred.
- `401` — Failed to authenticate.

## Changes

- **2023-04-02** `f60c32736a55` — 1 info
  - added the new optional request property `raw`
- **2023-03-21** `932a6b983d33` — 1 info
  - added the new optional request property `iddiff`
- **2023-03-20** `5af2c9e7a5f3` — 2 warning
  - removed the request property `iddiff`
  - removed the request property `raw`

[Change history](https://skmtc.dev/ietf-tools/apis/ietf-author-tools-api/changes/api/iddiff/post.md)

---

[API](https://skmtc.dev/ietf-tools/apis/ietf-author-tools-api.md) · [All operations](https://skmtc.dev/ietf-tools/apis/ietf-author-tools-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ietf-tools/ietf-author-tools-api/revisions/8db1416c9cdd/schema)
