---
title: "Validate the specified content item against its type."
method: POST
path: "/authoring/v1/content/{id}/validate"
tags: ["Authoring content"]
---

# Validate the specified content item against its type.

`POST /authoring/v1/content/{id}/validate`

Use the /content/{id}/validate end-point to validate if the content item specified matches its recorded content type.<br />User roles: admin, manager, editor

## Path parameters

- `id` string, required

## Response `200`

Completed the validation, which failed for this content item. See the results to find out what validation errors occurred.

- object — a validation response.
  - `failedIds` string[] — The submitted ID which failed validation.
  - `messages` object — The validation errors which occurred for the content item
    - `SOME_ID` object[] — The array of error messages for this id
      - `code` integer, required — The message code
      - `key` string, required — The message key
      - `message` string, required — The error message
      - `description` string, required — Optional detailed error message
      - `more_info` string, required — Optional additional information for the message
      - `category` 'API' | 'USER', required — The message category whereby only user messages are designed to be shown to an end user
      - `level` 'INFO' | 'WARNING' | 'ERROR', required — Indicates the message level
      - `parameters` object, required — The message parameters of this message.
      - `field` string, required — Only present on field validation errors, indicates the field in error.
      - `locale` string, required — The current locale used to produce the error message.

## Other responses

- `204` — Successfully completed the validation; validation passed.
- `400` — The ID that you provided is invalid, provide a valid ID.
- `401` — You do not have authorization to validate this content item.
- `404` — A content item with the ID {id} was not found or the current tenant's database is not provisioned.
- `429` — Too Many Requests, the server has reached a limit, the request must be sent again at a later time.
- `503` — Unable to validate the content item as the service is unavailable. Try again later.
- `default` — Unexpected error.

---

[API](https://skmtc.net/goacoustic/apis/acoustic-content-api.md) · [All operations](https://skmtc.net/goacoustic/apis/acoustic-content-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/goacoustic/acoustic-content-api/versions/677305266d89/schema)
