# Request Fields

Send the request as `application/json`.

| Field | Type | Required | Validation |
| --- | --- | --- | --- |
| `trId` | string | Yes | 1–36 characters; letters, digits, and hyphens only. |
| `ktp` | string | Yes | Raw Base64-encoded JPEG, JPG, or PNG image; decoded size at most 4 MB. |

```json
{
  "trId": "ktp-ocr-001",
  "ktp": "/9j/4AAQSkZJRgABAQAAAQABAAD..."
}
```

Send the Base64 value without a `data:image/...;base64,` prefix. KTP OCR API v2
validates the Base64 data, decoded file size, and detected image type. It does
not apply a documented pixel-dimension requirement.

Additional detection, blur, orientation, and NIK checks may run when enabled
for your integration.
