# Form Templates Form template and template group reference data ## List form templates - [GET /partner/v2/account/{accountId}/location/{locationId}/form/template](https://lobbie-partner.redocly.app/openapi/form-templates/listformtemplates.md): Retrieve a paginated list of active form templates for the account. Templates define the structure of forms that can be assigned to patients. Supports filtering by appointment type and staff-only visibility. ## List form template groups - [GET /partner/v2/account/{accountId}/location/{locationId}/form/template/groups](https://lobbie-partner.redocly.app/openapi/form-templates/listformtemplategroups_1.md): Retrieve a list of form template groups for the account. Template groups are pre-configured bundles of forms, often used for specific workflows (e.g., 'New Patient Intake', 'Annual Physical'). ## Get form template group by ID - [GET /partner/v2/account/{accountId}/location/{locationId}/form/template/groups/{groupId}](https://lobbie-partner.redocly.app/openapi/form-templates/getformtemplategroup_1.md): Retrieve detailed information about a form template group including the list of templates it contains. ## Get form template by ID - [GET /partner/v2/account/{accountId}/location/{locationId}/form/template/{formTemplateId}](https://lobbie-partner.redocly.app/openapi/form-templates/getformtemplate.md): Retrieve detailed information about a form template including all form elements/fields. Use this to understand the structure of a form for integration purposes. ## Get form template attributes - [GET /partner/v2/account/{accountId}/location/{locationId}/form/template/{formTemplateId}/attributes](https://lobbie-partner.redocly.app/openapi/form-templates/getformtemplateattributes.md): Retrieve the list of mapped attributes for a template. Attributes are named mappings for form fields (e.g., 'patient_first_name') that can be used for pre-filling and data extraction. ## Get form template elements - [GET /partner/v2/account/{accountId}/location/{locationId}/form/template/{formTemplateId}/elements](https://lobbie-partner.redocly.app/openapi/form-templates/getformtemplateelements.md): Retrieve the list of form elements (fields) for a template. Each element represents an input field, with its type, label, and optional attribute mapping.