GET /crm/form_metadata/ochysr/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 14,
    "location_api": "https://api.ipgeolocation.io/ipgeo?apiKey=c8233e20590441e88dc8536859e44dc3&output=json",
    "metadata": {
        "style": {
            "field": {
                "option": {
                    "select": {}
                },
                "font_size": 16,
                "font_color": {
                    "a": 1,
                    "h": 30,
                    "l": 0.9725490196078431,
                    "s": 0.14285714285714257
                },
                "border_size": 1,
                "font_family": "Bookman Old Style",
                "font_weight": "400",
                "border_color": {
                    "a": 1,
                    "h": 0,
                    "l": 1,
                    "s": 0
                },
                "border_radius": 4,
                "border_position": "border"
            },
            "label": {
                "font_size": 16,
                "font_color": {
                    "a": 1,
                    "h": 30,
                    "l": 0.9725490196078431,
                    "s": 0.14285714285714257
                },
                "font_weight": "400"
            },
            "button": {
                "icon": "",
                "margin": 0,
                "padding": 9,
                "font_size": 16,
                "font_color": {
                    "a": 1,
                    "h": 30,
                    "l": 0.9725490196078431,
                    "s": 0.14285714285714257
                },
                "border_size": 0,
                "font_family": "Bookman Old Style",
                "font_weight": "900",
                "border_color": {
                    "a": 1,
                    "h": 30,
                    "l": 0.9725490196078431,
                    "s": 0.14285714285714257
                },
                "border_radius": 4,
                "background_color": {
                    "a": 1,
                    "h": 29.68421052631579,
                    "l": 0.5313725490196078,
                    "s": 0.397489539748954
                }
            }
        }
    },
    "groups": [
        {
            "name": "Catalog",
            "index": 0,
            "fields": [
                {
                    "value_type": "Text",
                    "label": "First Name",
                    "key_name": "first_name",
                    "placeholder": "Your First Name",
                    "is_required": true,
                    "attribute": null,
                    "configuration": {
                        "format": "Select",
                        "options": [],
                        "dimension": {
                            "h": 1,
                            "w": 6,
                            "x": 0,
                            "y": 0
                        },
                        "hide_label": true,
                        "defaultvalue": "",
                        "multiple_value": false
                    },
                    "sent_language": false,
                    "sent_link": false,
                    "is_subscriber_identifier": false,
                    "sent_post_message": false
                },
                {
                    "value_type": "Text",
                    "label": "Last Name",
                    "key_name": "last_name",
                    "placeholder": "Your Last Name",
                    "is_required": true,
                    "attribute": null,
                    "configuration": {
                        "format": "Select",
                        "options": [],
                        "dimension": {
                            "h": 1,
                            "w": 6,
                            "x": 6,
                            "y": 0
                        },
                        "hide_label": true,
                        "defaultvalue": "",
                        "multiple_value": false
                    },
                    "sent_language": false,
                    "sent_link": false,
                    "is_subscriber_identifier": false,
                    "sent_post_message": false
                },
                {
                    "value_type": "Email",
                    "label": "Email",
                    "key_name": "email",
                    "placeholder": "Your Email",
                    "is_required": true,
                    "attribute": {
                        "id": "email",
                        "name": "Email",
                        "type": "fixed",
                        "key_name": "email"
                    },
                    "configuration": {
                        "format": "Select",
                        "options": [],
                        "dimension": {
                            "h": 1,
                            "w": 7,
                            "x": 0,
                            "y": 1
                        },
                        "hide_label": true,
                        "defaultvalue": "",
                        "multiple_value": false
                    },
                    "sent_language": false,
                    "sent_link": false,
                    "is_subscriber_identifier": false,
                    "sent_post_message": false
                },
                {
                    "value_type": "Submit Button",
                    "label": "Submit",
                    "key_name": "submit",
                    "placeholder": "",
                    "is_required": false,
                    "attribute": null,
                    "configuration": {
                        "format": "Select",
                        "options": [],
                        "dimension": {
                            "h": 1,
                            "w": 5,
                            "x": 7,
                            "y": 1
                        },
                        "defaultvalue": "",
                        "multiple_value": false
                    },
                    "sent_language": false,
                    "sent_link": false,
                    "is_subscriber_identifier": false,
                    "sent_post_message": false
                }
            ]
        }
    ]
}