---
title: "Verify Segment"
method: POST
path: "/lc.verification.verifysegment"
tags: ["Verification Provider"]
---

# Verify Segment

`POST /lc.verification.verifysegment`

This endpoint verifies the content of a single segment

## Request body

- VerificationProviderVerifySegmentRequest — Request for VerifySegment
  - `fragment` object, required — Bilingual Document Fragment containing segment to validate
  - `languageResourceTemplateId` string, uuid — language resource template ID
  - `translationProfileId` string — TranslationProfileId used to request resources from TranslationService
  - `verifierSettings` object — json object containing verifier specific user settings
  - `sourceLanguage` string, required — source language
  - `targetLanguage` string, required — target language
  - `segmentLocation` VerificationProviderSegmentIdentifierData
    - `fileId` string — fileId of file in which segment is located
    - `paragraphUnitId` string — paragraphUnitId of paragraphUnit in which segment is located
    - `segmentNumber` string — segment number of segment containing issues

## Response `200`

OK

- VerificationProviderVerifySegmentResponse
  - `verificationMessages` VerificationProviderVerificationMessage[] — verification messages associated with the segment
    - `messageType` string — messageType - each verifier can define its own list of messageTypes which releate to validation errors it generates
    - `verifier` string
    - `level` 'Error' | 'Warning' | 'Note', required — level of the error
    - `segmentId` string — segmentId
    - `tagId` string — tagId
    - `isSource` boolean — true if error is present in source
    - `messageArguments` string[]
    - `segmentLocation` VerificationProviderSegmentIdentifierData
      - `fileId` string — fileId of file in which segment is located
      - `paragraphUnitId` string — paragraphUnitId of paragraphUnit in which segment is located
      - `segmentNumber` string — segment number of segment containing issues
    - `messageLocation` VerificationProviderMessageLocation
      - `fromLocation` string
      - `toLocation` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

## Changes

- **2026-01-27** (v1) `9d9d8922a0ce` — 3 info
  - the endpoint scheme security `Trados Cloud Platform JWS Token` was removed from the API
  - added the new optional `header` request parameter `TR_ID` to all path's operations
  - added the new optional `header` request parameter `x-lc-signature` to all path's operations

[Change history](https://skmtc.dev/rws/apis/app-api/changes/lc.verification.verifysegment/post.md)

---

[API](https://skmtc.dev/rws/apis/app-api.md) · [All operations](https://skmtc.dev/rws/apis/app-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rws/app-api/revisions/a06e1ee1c99b/schema)
