Skip to main content
Sample response payload for POST /fields.
Want a fresh payload? Run POST /fields from the API Playground at the top of the endpoint page and copy the live response.
{
  "documentId": "doc_demo",
  "pages": 8,
  "fields": [
    {
      "name": "purchaser_name",
      "page": 1,
      "bbox": { "x": 128.4, "y": 512.0, "w": 236.2, "h": 28.6 },
      "confidence": 0.96
    },
    {
      "name": "vendor_name",
      "page": 1,
      "bbox": { "x": 128.1, "y": 466.2, "w": 240.7, "h": 27.9 },
      "confidence": 0.94
    },
    {
      "name": "deposit_amount",
      "page": 2,
      "bbox": { "x": 402.5, "y": 388.6, "w": 118.2, "h": 24.0 },
      "confidence": 0.91
    },
    {
      "name": "settlement_date",
      "page": 2,
      "bbox": { "x": 102.3, "y": 348.0, "w": 186.0, "h": 22.7 },
      "confidence": 0.89
    }
  ],
  "createdAt": "2024-09-10T07:21:37.524Z"
}
Use this payload to mock UI overlays or downstream processing while you integrate with the live API.
Example payload omits raw text because Contractag only returns geometry and confidence metadata.
I