Snoze Developers
API referencePublic forms

Get Form

GET
/v1/public/forms/{slug}

Path Parameters

slug*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/public/forms/string"
{  "data": {    "slug": "string",    "title": "string",    "description": "string",    "submitLabel": "string",    "successMessage": "string",    "fields": [      {        "key": "string",        "label": "string",        "icon": "string",        "kind": "text",        "required": true,        "helpText": "string",        "placeholder": "string",        "options": [          {            "key": "string",            "name": "string",            "color": "string"          }        ],        "display": {          "variant": "string",          "min": 0,          "max": 0,          "step": 0,          "minLabel": "string",          "maxLabel": "string",          "count": 0,          "icon": "string"        },        "validation": {          "tooltip": "string",          "errorMessage": "string",          "min": 0,          "max": 0,          "minLength": 0,          "maxLength": 0,          "pattern": "string"        },        "step": 0      }    ],    "steps": [      {        "id": "string",        "title": "string",        "description": "string"      }    ],    "theme": {      "layout": "traditional",      "frame": "card",      "cardColor": "string",      "background": {        "type": "none",        "color": "string",        "gradient": "string",        "gradientFrom": "string",        "gradientTo": "string",        "gradientAngle": 0,        "imageUrl": "string",        "blur": 0      },      "accent": "string",      "radius": 0    }  }}