[Get template](/openapi/templates/gettemplate) now returns every field on a template, with its page, position and size. Use it to show a template's fields in your own interface, or to map your data onto them before you create an envelope.

Each party in `template_parties` has a new `party_fields` list. It includes every field assigned to the party, not only fields with a merge field, ordered by page and then by position on the page. The list is empty when the party has no fields.

Every existing key, including `party_merge_fields`, is unchanged. List templates does not return `party_fields`.

## What each field includes

| Key | Description |
|  --- | --- |
| `field_id` | The field's identifier. Matches `field_id` in `party_merge_fields` |
| `field_title` | The field's label |
| `field_type` | The field type, such as `text`, `signature` or `split` |
| `party_id` | The party the field is assigned to |
| `field_merge` | The merge field label, or `null` |
| `field_required` | Whether the party must complete the field |
| `field_format` | The date format of a `date` or `date-signed` field, or `null` |
| `field_page` | The page the field is on, starting at 1 |
| `field_x`, `field_y` | The distance in pixels from the left edge and the top of the page. Pages are 675 by 875 pixels |
| `field_width`, `field_height` | The size of the field in pixels |
| `field_preset` | The [preset](/field-types/split#presets) of a `split` field, or `null` |
| `field_runs` | The runs of a `split` field, each with `cell_count`, `cell_gap` and `run_gap`. Empty on other field types |


```json
"party_fields": [
  {
    "field_id": "450927743",
    "field_title": "Name",
    "field_type": "text",
    "party_id": "20459705",
    "field_merge": "Name of Sender",
    "field_required": true,
    "field_format": null,
    "field_page": 1,
    "field_x": 120,
    "field_y": 410.5,
    "field_width": 200,
    "field_height": 30,
    "field_preset": null,
    "field_runs": []
  }
]
```

The XML response includes the same field data.

You can find more about how runs and presets work in [Split field](/field-types/split).

If your integration rejects keys it does not expect in the Get template response, update it to allow `party_fields`.