---
title: "Validate Payload"
method: POST
path: "/v1/mcp/projects/{project_id}/validate"
tags: ["mcp"]
---

# Validate Payload

`POST /v1/mcp/projects/{project_id}/validate`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/mcp/projects/{project_id}/validate`
- Auth: none declared

## Path parameters

- `project_id` string, required

## Request body

- ValidateIn
  - `language_code` string, required
  - `payload` object: Flat or nested i18next JSON
  - `namespace` string, nullable: Restrict to this namespace

## Response `200`

Successful Response

- ValidateReport
  - `project_uuid` string, required
  - `language_code` string, required
  - `namespaces_checked` string[], required
  - `missing_keys` string[], required
  - `extra_keys` string[], required
  - `placeholder_mismatches` object[], required
  - `plural_mismatches` object[]
  - `quality_issues` object[]
  - `structural_issues` object[]
  - `counts` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sonenta/apis/sonenta-api.md) · [All operations](https://skmtc.dev/sonenta/apis/sonenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sonenta/apis/sonenta-api/revisions/f853ea49fb05?raw)
