{
  "info": {
    "_postman_id": "6c781a6f-1743-4e35-b3ca-b75f6cf23c46",
    "name": "Amigo Account Form Templates API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:00:58.000Z",
    "updatedAt": "2026-07-28T01:00:59.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-6c781a6f-1743-4e35-b3ca-b75f6cf23c46"
  },
  "item": [
    {
      "name": "v1",
      "item": [
        {
          "name": "{workspace_id}",
          "item": [
            {
              "name": "settings",
              "item": [
                {
                  "name": "form-templates",
                  "item": [
                    {
                      "name": "{template_id}",
                      "item": [
                        {
                          "name": "resolve",
                          "item": [
                            {
                              "name": "Resolve Form Template",
                              "id": "b60a75df-0ee2-4acd-9cdc-e0d219d0e02a",
                              "protocolProfileBehavior": {
                                "disableBodyPruning": true
                              },
                              "request": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"entity_id\": \"<uuid>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/v1/:workspace_id/settings/form-templates/:template_id/resolve",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v1",
                                    ":workspace_id",
                                    "settings",
                                    "form-templates",
                                    ":template_id",
                                    "resolve"
                                  ],
                                  "variable": [
                                    {
                                      "id": "f3f1b0eb-26a0-44a6-b039-56aebf513964",
                                      "key": "workspace_id",
                                      "value": "<uuid>",
                                      "description": "(Required) "
                                    },
                                    {
                                      "id": "32da97b4-4d7c-4c34-8260-f27f33ba410e",
                                      "key": "template_id",
                                      "value": "<uuid>",
                                      "description": "(Required) "
                                    }
                                  ]
                                },
                                "description": "Resolve a form template with prefill values from entity state.\n\nReturns a hydrated SurfaceSpec ready to be passed to create_surface.\nFields with matching data in entity state get prefill_value set.\nFor returning patient templates, completed optional fields are stripped."
                              },
                              "response": [
                                {
                                  "id": "e72faf7e-9ad6-4799-bfa4-f5c282f4e111",
                                  "name": "Successful Response",
                                  "originalRequest": {
                                    "method": "POST",
                                    "header": [
                                      {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                      },
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      },
                                      {
                                        "description": "Added as a part of security scheme: bearer",
                                        "key": "Authorization",
                                        "value": "Bearer <token>"
                                      }
                                    ],
                                    "body": {
                                      "mode": "raw",
                                      "raw": "{\n  \"entity_id\": \"<uuid>\"\n}",
                                      "options": {
                                        "raw": {
                                          "headerFamily": "json",
                                          "language": "json"
                                        }
                                      }
                                    },
                                    "url": {
                                      "raw": "{{baseUrl}}/v1/:workspace_id/settings/form-templates/:template_id/resolve",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "v1",
                                        ":workspace_id",
                                        "settings",
                                        "form-templates",
                                        ":template_id",
                                        "resolve"
                                      ],
                                      "variable": [
                                        {
                                          "key": "workspace_id"
                                        },
                                        {
                                          "key": "template_id"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "OK",
                                  "code": 200,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "{\n  \"spec\": {\n    \"entity_id\": \"<uuid>\",\n    \"title\": \"<string>\",\n    \"fields\": [\n      {\n        \"key\": \"<string>\",\n        \"label\": \"<string>\",\n        \"field_type\": \"file\",\n        \"required\": true,\n        \"options\": [\n          \"<string>\",\n          \"<string>\"\n        ],\n        \"description\": \"<string>\",\n        \"placeholder\": \"<string>\",\n        \"prefill_value\": {},\n        \"validation\": {\n          \"nullaa\": \"est\",\n          \"cupidatatd4\": \"dolor ad magna Excepteur\",\n          \"in025\": true,\n          \"veniam07\": \"quis Ut officia sunt\"\n        },\n        \"sensitive\": false,\n        \"condition\": {\n          \"aute1c\": \"ex laboris\",\n          \"aliqua_66\": false\n        },\n        \"consent_text\": \"<string>\"\n      }\n    ],\n    \"description\": \"<string>\",\n    \"channel\": \"web\",\n    \"expires_in_hours\": 168,\n    \"context\": {\n      \"cupidatat_c\": true\n    },\n    \"resource_type\": \"<string>\",\n    \"branding\": {\n      \"logo_url\": \"<string>\",\n      \"primary_color\": \"<string>\",\n      \"background_color\": \"<string>\",\n      \"font_family\": \"<string>\"\n    },\n    \"sections\": [\n      {\n        \"title\": \"<string>\",\n        \"field_keys\": [\n          \"<string>\"\n        ],\n        \"description\": \"<string>\",\n        \"condition\": {\n          \"aliquip_d_\": -75633053.03241262\n        }\n      },\n      {\n        \"title\": \"<string>\",\n        \"field_keys\": [\n          \"<string>\"\n        ],\n        \"description\": \"<string>\",\n        \"condition\": {\n          \"veniam6_2\": false,\n          \"eiusmodddf\": 96162306.03108484,\n          \"doloreb\": 37730099.708364666\n        }\n      }\n    ],\n    \"completion_title\": \"<string>\",\n    \"completion_message\": \"<string>\",\n    \"completion_action_url\": \"<string>\",\n    \"submit_button_text\": \"<string>\"\n  },\n  \"prefilled_count\": \"<integer>\",\n  \"total_fields\": \"<integer>\"\n}",
                                  "createdAt": "2026-07-28T01:00:59.000Z",
                                  "updatedAt": "2026-07-28T01:00:59.000Z",
                                  "uid": "35240-e72faf7e-9ad6-4799-bfa4-f5c282f4e111"
                                },
                                {
                                  "id": "488b20f2-d64c-420d-879b-159f2538a8b0",
                                  "name": "Validation Error",
                                  "originalRequest": {
                                    "method": "POST",
                                    "header": [
                                      {
                                        "key": "Content-Type",
                                        "value": "application/json"
                                      },
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      },
                                      {
                                        "description": "Added as a part of security scheme: bearer",
                                        "key": "Authorization",
                                        "value": "Bearer <token>"
                                      }
                                    ],
                                    "body": {
                                      "mode": "raw",
                                      "raw": "{\n  \"entity_id\": \"<uuid>\"\n}",
                                      "options": {
                                        "raw": {
                                          "headerFamily": "json",
                                          "language": "json"
                                        }
                                      }
                                    },
                                    "url": {
                                      "raw": "{{baseUrl}}/v1/:workspace_id/settings/form-templates/:template_id/resolve",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "v1",
                                        ":workspace_id",
                                        "settings",
                                        "form-templates",
                                        ":template_id",
                                        "resolve"
                                      ],
                                      "variable": [
                                        {
                                          "key": "workspace_id"
                                        },
                                        {
                                          "key": "template_id"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                                  "code": 422,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    }\n  ]\n}",
                                  "createdAt": "2026-07-28T01:00:59.000Z",
                                  "updatedAt": "2026-07-28T01:00:59.000Z",
                                  "uid": "35240-488b20f2-d64c-420d-879b-159f2538a8b0"
                                }
                              ],
                              "createdAt": "2026-07-28T01:00:59.000Z",
                              "updatedAt": "2026-07-28T01:00:59.000Z",
                              "uid": "35240-b60a75df-0ee2-4acd-9cdc-e0d219d0e02a"
                            }
                          ],
                          "id": "4acab7af-3636-4b8b-8a1d-3da300cb1771",
                          "createdAt": "2026-07-28T01:00:59.000Z",
                          "updatedAt": "2026-07-28T01:00:59.000Z",
                          "uid": "35240-4acab7af-3636-4b8b-8a1d-3da300cb1771"
                        },
                        {
                          "name": "Get Form Template",
                          "id": "b4d7e206-9999-4902-99b8-1566756a5308",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/settings/form-templates/:template_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "settings",
                                "form-templates",
                                ":template_id"
                              ],
                              "variable": [
                                {
                                  "id": "13232d2c-59b4-4463-a9f8-e54321878e2b",
                                  "key": "workspace_id",
                                  "value": "<uuid>",
                                  "description": "(Required) "
                                },
                                {
                                  "id": "237cc615-8c5c-4b9a-9da3-5dbe0f1e96a9",
                                  "key": "template_id",
                                  "value": "<uuid>",
                                  "description": "(Required) "
                                }
                              ]
                            },
                            "description": "Get a single form template by ID."
                          },
                          "response": [
                            {
                              "id": "ff9ca1b4-d23c-4975-a281-69bd1d08482f",
                              "name": "Successful Response",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/v1/:workspace_id/settings/form-templates/:template_id",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v1",
                                    ":workspace_id",
                                    "settings",
                                    "form-templates",
                                    ":template_id"
                                  ],
                                  "variable": [
                                    {
                                      "key": "workspace_id"
                                    },
                                    {
                                      "key": "template_id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"name\": \"<string>\",\n  \"fields\": [\n    {\n      \"key\": \"<string>\",\n      \"label\": \"<string>\",\n      \"field_type\": \"heading\",\n      \"required\": true,\n      \"options\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"description\": \"<string>\",\n      \"placeholder\": \"<string>\",\n      \"validation\": {\n        \"exercitation5c9\": \"est id dolor occaecat\"\n      },\n      \"sensitive\": false,\n      \"condition\": {\n        \"ullamcoa\": \"ex reprehenderit\",\n        \"Lorem_85\": true\n      },\n      \"consent_text\": \"<string>\",\n      \"prefill_path\": \"<string>\",\n      \"layout_group\": \"<string>\"\n    }\n  ],\n  \"sections\": [\n    {\n      \"id\": \"<string>\",\n      \"title\": \"<string>\",\n      \"field_keys\": [\n        \"<string>\"\n      ],\n      \"description\": \"<string>\",\n      \"condition\": {\n        \"labore_969\": -59617496,\n        \"voluptate3\": \"cupidatat\"\n      }\n    }\n  ],\n  \"id\": \"<uuid>\",\n  \"description\": \"<string>\",\n  \"category\": \"custom\",\n  \"patient_type\": \"any\",\n  \"branding\": {\n    \"logo_url\": \"<string>\",\n    \"primary_color\": \"<string>\",\n    \"background_color\": \"<string>\",\n    \"font_family\": \"<string>\"\n  },\n  \"completion_title\": \"<string>\",\n  \"completion_message\": \"<string>\",\n  \"completion_action_url\": \"<string>\",\n  \"submit_button_text\": \"<string>\",\n  \"active\": true,\n  \"version\": 1\n}",
                              "createdAt": "2026-07-28T01:00:59.000Z",
                              "updatedAt": "2026-07-28T01:00:59.000Z",
                              "uid": "35240-ff9ca1b4-d23c-4975-a281-69bd1d08482f"
                            },
                            {
                              "id": "4c76d90a-377d-400f-a331-71792ae391c8",
                              "name": "Validation Error",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/v1/:workspace_id/settings/form-templates/:template_id",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v1",
                                    ":workspace_id",
                                    "settings",
                                    "form-templates",
                                    ":template_id"
                                  ],
                                  "variable": [
                                    {
                                      "key": "workspace_id"
                                    },
                                    {
                                      "key": "template_id"
                                    }
                                  ]
                                }
                              },
                              "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                              "code": 422,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T01:00:59.000Z",
                              "updatedAt": "2026-07-28T01:00:59.000Z",
                              "uid": "35240-4c76d90a-377d-400f-a331-71792ae391c8"
                            }
                          ],
                          "createdAt": "2026-07-28T01:00:59.000Z",
                          "updatedAt": "2026-07-28T01:00:59.000Z",
                          "uid": "35240-b4d7e206-9999-4902-99b8-1566756a5308"
                        }
                      ],
                      "id": "78a98fa2-7557-4adc-8535-d1857c1a84a4",
                      "createdAt": "2026-07-28T01:00:59.000Z",
                      "updatedAt": "2026-07-28T01:00:59.000Z",
                      "uid": "35240-78a98fa2-7557-4adc-8535-d1857c1a84a4"
                    },
                    {
                      "name": "List Form Templates",
                      "id": "59d49aaf-cc44-457c-9b33-5174cbe88ded",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/settings/form-templates?category=intake&patient_type=new",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "settings",
                            "form-templates"
                          ],
                          "query": [
                            {
                              "key": "category",
                              "value": "intake"
                            },
                            {
                              "key": "patient_type",
                              "value": "new"
                            }
                          ],
                          "variable": [
                            {
                              "id": "2872630c-4e6d-44d7-8896-8f25c531da1a",
                              "key": "workspace_id",
                              "value": "<uuid>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "List all form templates for a workspace."
                      },
                      "response": [
                        {
                          "id": "a0f11801-5641-481d-a804-4078a44d31af",
                          "name": "Successful Response",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/settings/form-templates?category=intake&patient_type=new",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "settings",
                                "form-templates"
                              ],
                              "query": [
                                {
                                  "key": "category",
                                  "value": "intake"
                                },
                                {
                                  "key": "patient_type",
                                  "value": "new"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"templates\": [\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"key\": \"<string>\",\n          \"label\": \"<string>\",\n          \"field_type\": \"photo\",\n          \"required\": true,\n          \"options\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"placeholder\": \"<string>\",\n          \"validation\": {\n            \"fugiat84\": true,\n            \"Ut9\": false,\n            \"proident082\": \"magna consequat ullamco\"\n          },\n          \"sensitive\": false,\n          \"condition\": {\n            \"sit_f\": 79234058,\n            \"in_10e\": true,\n            \"nisi_7a6\": 16781968.2226018\n          },\n          \"consent_text\": \"<string>\",\n          \"prefill_path\": \"<string>\",\n          \"layout_group\": \"<string>\"\n        }\n      ],\n      \"sections\": [\n        {\n          \"id\": \"<string>\",\n          \"title\": \"<string>\",\n          \"field_keys\": [\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"condition\": {\n            \"deserunt__\": 67577087.00426751\n          }\n        }\n      ],\n      \"id\": \"<uuid>\",\n      \"description\": \"<string>\",\n      \"category\": \"custom\",\n      \"patient_type\": \"any\",\n      \"branding\": {\n        \"logo_url\": \"<string>\",\n        \"primary_color\": \"<string>\",\n        \"background_color\": \"<string>\",\n        \"font_family\": \"<string>\"\n      },\n      \"completion_title\": \"<string>\",\n      \"completion_message\": \"<string>\",\n      \"completion_action_url\": \"<string>\",\n      \"submit_button_text\": \"<string>\",\n      \"active\": true,\n      \"version\": 1\n    },\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"key\": \"<string>\",\n          \"label\": \"<string>\",\n          \"field_type\": \"heading\",\n          \"required\": true,\n          \"options\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"placeholder\": \"<string>\",\n          \"validation\": {\n            \"fugiat6\": 80860925\n          },\n          \"sensitive\": false,\n          \"condition\": {\n            \"culpa_a76\": -16628499,\n            \"adipisicing_7\": 33417669\n          },\n          \"consent_text\": \"<string>\",\n          \"prefill_path\": \"<string>\",\n          \"layout_group\": \"<string>\"\n        }\n      ],\n      \"sections\": [\n        {\n          \"id\": \"<string>\",\n          \"title\": \"<string>\",\n          \"field_keys\": [\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"condition\": {\n            \"dolor_e5\": true,\n            \"ad41\": 95704831.82734221,\n            \"consequat_b13\": -52351110\n          }\n        }\n      ],\n      \"id\": \"<uuid>\",\n      \"description\": \"<string>\",\n      \"category\": \"custom\",\n      \"patient_type\": \"any\",\n      \"branding\": {\n        \"logo_url\": \"<string>\",\n        \"primary_color\": \"<string>\",\n        \"background_color\": \"<string>\",\n        \"font_family\": \"<string>\"\n      },\n      \"completion_title\": \"<string>\",\n      \"completion_message\": \"<string>\",\n      \"completion_action_url\": \"<string>\",\n      \"submit_button_text\": \"<string>\",\n      \"active\": true,\n      \"version\": 1\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T01:00:59.000Z",
                          "updatedAt": "2026-07-28T01:00:59.000Z",
                          "uid": "35240-a0f11801-5641-481d-a804-4078a44d31af"
                        },
                        {
                          "id": "58d39b02-ae54-48f9-a6e8-1bae25a3104c",
                          "name": "Validation Error",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/settings/form-templates?category=intake&patient_type=new",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "settings",
                                "form-templates"
                              ],
                              "query": [
                                {
                                  "key": "category",
                                  "value": "intake"
                                },
                                {
                                  "key": "patient_type",
                                  "value": "new"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                }
                              ]
                            }
                          },
                          "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                          "code": 422,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T01:00:59.000Z",
                          "updatedAt": "2026-07-28T01:00:59.000Z",
                          "uid": "35240-58d39b02-ae54-48f9-a6e8-1bae25a3104c"
                        }
                      ],
                      "createdAt": "2026-07-28T01:00:59.000Z",
                      "updatedAt": "2026-07-28T01:00:59.000Z",
                      "uid": "35240-59d49aaf-cc44-457c-9b33-5174cbe88ded"
                    },
                    {
                      "name": "Update Form Templates",
                      "id": "ebedba26-c7de-407d-b1d4-4032302608f7",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"templates\": [\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"key\": \"<string>\",\n          \"label\": \"<string>\",\n          \"field_type\": \"heading\",\n          \"required\": true,\n          \"options\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"placeholder\": \"<string>\",\n          \"validation\": {\n            \"voluptate_f7\": -94965491.5624159\n          },\n          \"sensitive\": false,\n          \"condition\": {\n            \"sit_1\": true,\n            \"quisa8f\": false,\n            \"id_796\": \"aute consequat ad\",\n            \"cillum5f\": 37681300.97761792\n          },\n          \"consent_text\": \"<string>\",\n          \"prefill_path\": \"<string>\",\n          \"layout_group\": \"<string>\"\n        }\n      ],\n      \"sections\": [\n        {\n          \"id\": \"<string>\",\n          \"title\": \"<string>\",\n          \"field_keys\": [\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"condition\": {\n            \"ut137\": -48432904,\n            \"Ut_266\": 58261797.861991614,\n            \"tempor_b36\": -41489057\n          }\n        }\n      ],\n      \"id\": \"<uuid>\",\n      \"description\": \"<string>\",\n      \"category\": \"custom\",\n      \"patient_type\": \"any\",\n      \"branding\": {\n        \"logo_url\": \"<string>\",\n        \"primary_color\": \"<string>\",\n        \"background_color\": \"<string>\",\n        \"font_family\": \"<string>\"\n      },\n      \"completion_title\": \"<string>\",\n      \"completion_message\": \"<string>\",\n      \"completion_action_url\": \"<string>\",\n      \"submit_button_text\": \"<string>\",\n      \"active\": true,\n      \"version\": 1\n    },\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"key\": \"<string>\",\n          \"label\": \"<string>\",\n          \"field_type\": \"textarea\",\n          \"required\": true,\n          \"options\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"placeholder\": \"<string>\",\n          \"validation\": {\n            \"aliquip_27a\": \"deserunt dolor mollit culpa\"\n          },\n          \"sensitive\": false,\n          \"condition\": {\n            \"ex__d\": -94879843.74125613,\n            \"consequat__c7\": -3255243.568233773\n          },\n          \"consent_text\": \"<string>\",\n          \"prefill_path\": \"<string>\",\n          \"layout_group\": \"<string>\"\n        }\n      ],\n      \"sections\": [\n        {\n          \"id\": \"<string>\",\n          \"title\": \"<string>\",\n          \"field_keys\": [\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"condition\": {\n            \"commodo__da\": \"adipisicing reprehenderit occaecat\",\n            \"anim_a4\": 79701396\n          }\n        }\n      ],\n      \"id\": \"<uuid>\",\n      \"description\": \"<string>\",\n      \"category\": \"custom\",\n      \"patient_type\": \"any\",\n      \"branding\": {\n        \"logo_url\": \"<string>\",\n        \"primary_color\": \"<string>\",\n        \"background_color\": \"<string>\",\n        \"font_family\": \"<string>\"\n      },\n      \"completion_title\": \"<string>\",\n      \"completion_message\": \"<string>\",\n      \"completion_action_url\": \"<string>\",\n      \"submit_button_text\": \"<string>\",\n      \"active\": true,\n      \"version\": 1\n    }\n  ]\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v1/:workspace_id/settings/form-templates",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v1",
                            ":workspace_id",
                            "settings",
                            "form-templates"
                          ],
                          "variable": [
                            {
                              "id": "43c4f34a-5b1a-461f-ba16-8048d86bffe5",
                              "key": "workspace_id",
                              "value": "<uuid>",
                              "description": "(Required) "
                            }
                          ]
                        },
                        "description": "Replace all form templates for a workspace."
                      },
                      "response": [
                        {
                          "id": "fceb74df-9e9c-4268-9d6e-a68642abe709",
                          "name": "Successful Response",
                          "originalRequest": {
                            "method": "PUT",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"templates\": [\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"key\": \"<string>\",\n          \"label\": \"<string>\",\n          \"field_type\": \"heading\",\n          \"required\": true,\n          \"options\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"placeholder\": \"<string>\",\n          \"validation\": {\n            \"voluptate_f7\": -94965491.5624159\n          },\n          \"sensitive\": false,\n          \"condition\": {\n            \"sit_1\": true,\n            \"quisa8f\": false,\n            \"id_796\": \"aute consequat ad\",\n            \"cillum5f\": 37681300.97761792\n          },\n          \"consent_text\": \"<string>\",\n          \"prefill_path\": \"<string>\",\n          \"layout_group\": \"<string>\"\n        }\n      ],\n      \"sections\": [\n        {\n          \"id\": \"<string>\",\n          \"title\": \"<string>\",\n          \"field_keys\": [\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"condition\": {\n            \"ut137\": -48432904,\n            \"Ut_266\": 58261797.861991614,\n            \"tempor_b36\": -41489057\n          }\n        }\n      ],\n      \"id\": \"<uuid>\",\n      \"description\": \"<string>\",\n      \"category\": \"custom\",\n      \"patient_type\": \"any\",\n      \"branding\": {\n        \"logo_url\": \"<string>\",\n        \"primary_color\": \"<string>\",\n        \"background_color\": \"<string>\",\n        \"font_family\": \"<string>\"\n      },\n      \"completion_title\": \"<string>\",\n      \"completion_message\": \"<string>\",\n      \"completion_action_url\": \"<string>\",\n      \"submit_button_text\": \"<string>\",\n      \"active\": true,\n      \"version\": 1\n    },\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"key\": \"<string>\",\n          \"label\": \"<string>\",\n          \"field_type\": \"textarea\",\n          \"required\": true,\n          \"options\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"placeholder\": \"<string>\",\n          \"validation\": {\n            \"aliquip_27a\": \"deserunt dolor mollit culpa\"\n          },\n          \"sensitive\": false,\n          \"condition\": {\n            \"ex__d\": -94879843.74125613,\n            \"consequat__c7\": -3255243.568233773\n          },\n          \"consent_text\": \"<string>\",\n          \"prefill_path\": \"<string>\",\n          \"layout_group\": \"<string>\"\n        }\n      ],\n      \"sections\": [\n        {\n          \"id\": \"<string>\",\n          \"title\": \"<string>\",\n          \"field_keys\": [\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"condition\": {\n            \"commodo__da\": \"adipisicing reprehenderit occaecat\",\n            \"anim_a4\": 79701396\n          }\n        }\n      ],\n      \"id\": \"<uuid>\",\n      \"description\": \"<string>\",\n      \"category\": \"custom\",\n      \"patient_type\": \"any\",\n      \"branding\": {\n        \"logo_url\": \"<string>\",\n        \"primary_color\": \"<string>\",\n        \"background_color\": \"<string>\",\n        \"font_family\": \"<string>\"\n      },\n      \"completion_title\": \"<string>\",\n      \"completion_message\": \"<string>\",\n      \"completion_action_url\": \"<string>\",\n      \"submit_button_text\": \"<string>\",\n      \"active\": true,\n      \"version\": 1\n    }\n  ]\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/settings/form-templates",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "settings",
                                "form-templates"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"templates\": [\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"key\": \"<string>\",\n          \"label\": \"<string>\",\n          \"field_type\": \"photo\",\n          \"required\": true,\n          \"options\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"placeholder\": \"<string>\",\n          \"validation\": {\n            \"fugiat84\": true,\n            \"Ut9\": false,\n            \"proident082\": \"magna consequat ullamco\"\n          },\n          \"sensitive\": false,\n          \"condition\": {\n            \"sit_f\": 79234058,\n            \"in_10e\": true,\n            \"nisi_7a6\": 16781968.2226018\n          },\n          \"consent_text\": \"<string>\",\n          \"prefill_path\": \"<string>\",\n          \"layout_group\": \"<string>\"\n        }\n      ],\n      \"sections\": [\n        {\n          \"id\": \"<string>\",\n          \"title\": \"<string>\",\n          \"field_keys\": [\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"condition\": {\n            \"deserunt__\": 67577087.00426751\n          }\n        }\n      ],\n      \"id\": \"<uuid>\",\n      \"description\": \"<string>\",\n      \"category\": \"custom\",\n      \"patient_type\": \"any\",\n      \"branding\": {\n        \"logo_url\": \"<string>\",\n        \"primary_color\": \"<string>\",\n        \"background_color\": \"<string>\",\n        \"font_family\": \"<string>\"\n      },\n      \"completion_title\": \"<string>\",\n      \"completion_message\": \"<string>\",\n      \"completion_action_url\": \"<string>\",\n      \"submit_button_text\": \"<string>\",\n      \"active\": true,\n      \"version\": 1\n    },\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"key\": \"<string>\",\n          \"label\": \"<string>\",\n          \"field_type\": \"heading\",\n          \"required\": true,\n          \"options\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"placeholder\": \"<string>\",\n          \"validation\": {\n            \"fugiat6\": 80860925\n          },\n          \"sensitive\": false,\n          \"condition\": {\n            \"culpa_a76\": -16628499,\n            \"adipisicing_7\": 33417669\n          },\n          \"consent_text\": \"<string>\",\n          \"prefill_path\": \"<string>\",\n          \"layout_group\": \"<string>\"\n        }\n      ],\n      \"sections\": [\n        {\n          \"id\": \"<string>\",\n          \"title\": \"<string>\",\n          \"field_keys\": [\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"condition\": {\n            \"dolor_e5\": true,\n            \"ad41\": 95704831.82734221,\n            \"consequat_b13\": -52351110\n          }\n        }\n      ],\n      \"id\": \"<uuid>\",\n      \"description\": \"<string>\",\n      \"category\": \"custom\",\n      \"patient_type\": \"any\",\n      \"branding\": {\n        \"logo_url\": \"<string>\",\n        \"primary_color\": \"<string>\",\n        \"background_color\": \"<string>\",\n        \"font_family\": \"<string>\"\n      },\n      \"completion_title\": \"<string>\",\n      \"completion_message\": \"<string>\",\n      \"completion_action_url\": \"<string>\",\n      \"submit_button_text\": \"<string>\",\n      \"active\": true,\n      \"version\": 1\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T01:00:59.000Z",
                          "updatedAt": "2026-07-28T01:00:59.000Z",
                          "uid": "35240-fceb74df-9e9c-4268-9d6e-a68642abe709"
                        },
                        {
                          "id": "1867aeb4-024a-4e9a-9293-0230064b8a2c",
                          "name": "Validation Error",
                          "originalRequest": {
                            "method": "PUT",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"templates\": [\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"key\": \"<string>\",\n          \"label\": \"<string>\",\n          \"field_type\": \"heading\",\n          \"required\": true,\n          \"options\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"placeholder\": \"<string>\",\n          \"validation\": {\n            \"voluptate_f7\": -94965491.5624159\n          },\n          \"sensitive\": false,\n          \"condition\": {\n            \"sit_1\": true,\n            \"quisa8f\": false,\n            \"id_796\": \"aute consequat ad\",\n            \"cillum5f\": 37681300.97761792\n          },\n          \"consent_text\": \"<string>\",\n          \"prefill_path\": \"<string>\",\n          \"layout_group\": \"<string>\"\n        }\n      ],\n      \"sections\": [\n        {\n          \"id\": \"<string>\",\n          \"title\": \"<string>\",\n          \"field_keys\": [\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"condition\": {\n            \"ut137\": -48432904,\n            \"Ut_266\": 58261797.861991614,\n            \"tempor_b36\": -41489057\n          }\n        }\n      ],\n      \"id\": \"<uuid>\",\n      \"description\": \"<string>\",\n      \"category\": \"custom\",\n      \"patient_type\": \"any\",\n      \"branding\": {\n        \"logo_url\": \"<string>\",\n        \"primary_color\": \"<string>\",\n        \"background_color\": \"<string>\",\n        \"font_family\": \"<string>\"\n      },\n      \"completion_title\": \"<string>\",\n      \"completion_message\": \"<string>\",\n      \"completion_action_url\": \"<string>\",\n      \"submit_button_text\": \"<string>\",\n      \"active\": true,\n      \"version\": 1\n    },\n    {\n      \"name\": \"<string>\",\n      \"fields\": [\n        {\n          \"key\": \"<string>\",\n          \"label\": \"<string>\",\n          \"field_type\": \"textarea\",\n          \"required\": true,\n          \"options\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"placeholder\": \"<string>\",\n          \"validation\": {\n            \"aliquip_27a\": \"deserunt dolor mollit culpa\"\n          },\n          \"sensitive\": false,\n          \"condition\": {\n            \"ex__d\": -94879843.74125613,\n            \"consequat__c7\": -3255243.568233773\n          },\n          \"consent_text\": \"<string>\",\n          \"prefill_path\": \"<string>\",\n          \"layout_group\": \"<string>\"\n        }\n      ],\n      \"sections\": [\n        {\n          \"id\": \"<string>\",\n          \"title\": \"<string>\",\n          \"field_keys\": [\n            \"<string>\"\n          ],\n          \"description\": \"<string>\",\n          \"condition\": {\n            \"commodo__da\": \"adipisicing reprehenderit occaecat\",\n            \"anim_a4\": 79701396\n          }\n        }\n      ],\n      \"id\": \"<uuid>\",\n      \"description\": \"<string>\",\n      \"category\": \"custom\",\n      \"patient_type\": \"any\",\n      \"branding\": {\n        \"logo_url\": \"<string>\",\n        \"primary_color\": \"<string>\",\n        \"background_color\": \"<string>\",\n        \"font_family\": \"<string>\"\n      },\n      \"completion_title\": \"<string>\",\n      \"completion_message\": \"<string>\",\n      \"completion_action_url\": \"<string>\",\n      \"submit_button_text\": \"<string>\",\n      \"active\": true,\n      \"version\": 1\n    }\n  ]\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v1/:workspace_id/settings/form-templates",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v1",
                                ":workspace_id",
                                "settings",
                                "form-templates"
                              ],
                              "variable": [
                                {
                                  "key": "workspace_id"
                                }
                              ]
                            }
                          },
                          "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                          "code": 422,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"detail\": [\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    },\n    {\n      \"loc\": [\n        \"<string>\",\n        \"<string>\"\n      ],\n      \"msg\": \"<string>\",\n      \"type\": \"<string>\",\n      \"input\": {\n        \"title\": \"Input\"\n      },\n      \"ctx\": {}\n    }\n  ]\n}",
                          "createdAt": "2026-07-28T01:00:59.000Z",
                          "updatedAt": "2026-07-28T01:00:59.000Z",
                          "uid": "35240-1867aeb4-024a-4e9a-9293-0230064b8a2c"
                        }
                      ],
                      "createdAt": "2026-07-28T01:00:59.000Z",
                      "updatedAt": "2026-07-28T01:00:59.000Z",
                      "uid": "35240-ebedba26-c7de-407d-b1d4-4032302608f7"
                    }
                  ],
                  "id": "407878e6-699d-44c7-8259-143c1f1108d2",
                  "createdAt": "2026-07-28T01:00:59.000Z",
                  "updatedAt": "2026-07-28T01:00:59.000Z",
                  "uid": "35240-407878e6-699d-44c7-8259-143c1f1108d2"
                }
              ],
              "id": "0dfc4952-29f9-40e0-ad06-931989e3217b",
              "createdAt": "2026-07-28T01:00:59.000Z",
              "updatedAt": "2026-07-28T01:00:59.000Z",
              "uid": "35240-0dfc4952-29f9-40e0-ad06-931989e3217b"
            }
          ],
          "id": "6c8ebe2b-ceb8-4cac-a0c4-0825a48c3ddc",
          "createdAt": "2026-07-28T01:00:59.000Z",
          "updatedAt": "2026-07-28T01:00:59.000Z",
          "uid": "35240-6c8ebe2b-ceb8-4cac-a0c4-0825a48c3ddc"
        }
      ],
      "id": "783cb4fd-f04d-4b56-a322-67fc0eaf6fd6",
      "createdAt": "2026-07-28T01:00:59.000Z",
      "updatedAt": "2026-07-28T01:00:59.000Z",
      "uid": "35240-783cb4fd-f04d-4b56-a322-67fc0eaf6fd6"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.amigo.ai"
    }
  ]
}