v1

latestOpenAPI 3.0.3MIT2026-07-24122271451.2 KB
Document Fields

Create Document Fields

Creates fields for a particular document. For CFR11-compliant workspaces (21 CFR Part 11), signature fields must have a minimum size of 108×33.

post/public/v1/documents/{id}/fields

Path parameters

idstring required

Document UUID.

Request body

Example request

{
  "fields": [
    {
      "type": "payment_details",
      "settings": {
        "placeholder": "Enter value",
        "options": [
          {
            "text": "Yes",
            "position": {
              "offset_y": 38
            }
          }
        ]
      },
      "layout": {
        "position": {
          "anchor_point": "topleft"
        }
      }
    }
  ]
}

Response

OK

Example response

{
  "fields": [
    {
      "type": "payment_details",
      "layout": {
        "position": {
          "anchor_point": "topleft"
        }
      }
    }
  ]
}