Skip to content

Get form template attributes

Request

Retrieve the list of mapped attributes for a template. Attributes are named mappings for form fields (e.g., 'first_name' or 'email') that can be used for pre-filling and data extraction.

Security
PartnerApiKey and PartnerOAuth
Path
formTemplateIdinteger, (int64)required

Form template ID

accountIdinteger, (int64)required

Account identifier

locationIdinteger, (int64)required

Location identifier

curl -i -X GET \
  'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/location/{locationId}/form/template/{formTemplateId}/attribute' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Responses

Form attributes retrieved successfully

Bodyapplication/json
attributesArray of objects(FormAttributeDTO)

List of mapped attributes

formTemplateIdinteger, (int64)

Form template ID

Example:12345
formTemplateNamestring

Form template name

Example:"Patient Intake Form"
Response
{ "attributes": [ {} ], "formTemplateId": 12345, "formTemplateName": "Patient Intake Form" }