---
title: "Validates the draft"
method: POST
path: "/api/validate"
---

# Validates the draft

`POST /api/validate`

## Response `200`

Returns errors, warnings and idnits output

- object
  - `errors` string[] — list of errors
  - `warnings` string[] — list of warnings
  - `idnits` string — idnits output
  - `non_ascii` string — kramdown-rfc echars output
  - `bare_unicode` string[] — list of bare Unicode (non-ascci) usage report

## Other responses

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

---

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