---
search:
  tags:
    - Localization
    - POST
seo:
  description: >-
    Runs Glossa's integrity gate on each source/translation pair: variable slots
    must… Reference for the POST /v1/localization/check endpoint in the Webfold
    API.
sidebar:
  label: Verify translations against their sources
  badge: POST
title: Verify translations against their sources
type: openapi-operation
---
Runs Glossa's integrity gate on each source/translation pair: variable slots must be conserved, markup tags must match, no script or event-handler injection, and any protected `glossary` terms must be present. Each item is metered, as `localization.check`.

`POST /v1/localization/check`

**Request body** (`application/json`, required)

- `items` (object[], required)
- `glossary` (object) — Protected terms: each key must appear in the translation as its value.

Request body example:

```json
{
  "items": [
    {
      "key": "string",
      "source": "string",
      "translation": "string"
    }
  ],
  "glossary": {
    "property1": "string",
    "property2": "string"
  }
}
```

**Responses**

- `200` — One result per item
- `400` — Bad request
- `401` — Missing or invalid bearer token
- `403` — Billing or plan entitlement blocked the request

Response example, 200:

```json
{
  "total": 0,
  "passed": 0,
  "failed": 0,
  "results": [
    {
      "key": "string",
      "ok": true,
      "code": "missing_slot",
      "message": "string"
    }
  ]
}
```
