sureforms.json•158 kB
{
"/wp/v2/sureforms_form": {
"namespace": "wp/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "Scope under which the request is made; determines fields present in response.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Current page of the collection.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Maximum number of items to be returned in result set.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limit results to those matching a string.",
"type": "string",
"required": false
},
"after": {
"description": "Limit response to posts published after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to posts modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"author": {
"description": "Limit result set to posts assigned to specific authors.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"author_exclude": {
"description": "Ensure result set excludes posts assigned to specific authors.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"before": {
"description": "Limit response to posts published before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to posts modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Ensure result set excludes specific IDs.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limit result set to specific IDs.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"search_semantics": {
"description": "How to interpret the search input.",
"type": "string",
"enum": [
"exact"
],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items.",
"type": "integer",
"required": false
},
"order": {
"description": "Order sort attribute ascending or descending.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Sort collection by post attribute.",
"type": "string",
"default": "date",
"enum": [
"author",
"date",
"id",
"include",
"modified",
"parent",
"relevance",
"slug",
"include_slugs",
"title"
],
"required": false
},
"search_columns": {
"default": [],
"description": "Array of column names to be searched.",
"type": "array",
"items": {
"enum": [
"post_title",
"post_content",
"post_excerpt"
],
"type": "string"
},
"required": false
},
"slug": {
"description": "Limit result set to posts with one or more specific slugs.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"status": {
"default": "publish",
"description": "Limit result set to posts assigned one or more statuses.",
"type": "array",
"items": {
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"trash",
"auto-draft",
"inherit",
"request-pending",
"request-confirmed",
"request-failed",
"request-completed",
"any"
],
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"date": {
"description": "The date the post was published, in the site's timezone.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "The date the post was published, as GMT.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "An alphanumeric identifier for the post unique to its type.",
"type": "string",
"required": false
},
"status": {
"description": "A named status for the post.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private"
],
"required": false
},
"password": {
"description": "A password to protect access to the content and excerpt.",
"type": "string",
"required": false
},
"title": {
"description": "The title for the post.",
"type": "object",
"properties": {
"raw": {
"description": "Title for the post, as it exists in the database.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "HTML title for the post, transformed for display.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "The content for the post.",
"type": "object",
"properties": {
"raw": {
"description": "Content for the post, as it exists in the database.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "HTML content for the post, transformed for display.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"block_version": {
"description": "Version of the content block format used by the post.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Whether the content is protected with a password.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "The ID for the author of the post.",
"type": "integer",
"required": false
},
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": {
"_uag_custom_page_level_css": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"site-sidebar-layout": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-content-layout": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-site-content-layout": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-content-style": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-sidebar-style": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-global-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-banner-title-visibility": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-main-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-above-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-below-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-mobile-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"site-post-title": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-breadcrumbs-content": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-featured-img": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"footer-sml-layout": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"theme-transparent-header-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"adv-header-id-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"stick-header-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-above-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-main-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-below-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"astra-migrate-meta-layouts": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-page-background-enabled": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-page-background-meta": {
"type": "object",
"title": "",
"description": "",
"default": {
"desktop": {
"background-color": "var(--ast-global-color-4)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"tablet": {
"background-color": "",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"mobile": {
"background-color": "",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
}
},
"properties": {
"desktop": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"tablet": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"mobile": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"ast-content-background-meta": {
"type": "object",
"title": "",
"description": "",
"default": {
"desktop": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"tablet": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"mobile": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
}
},
"properties": {
"desktop": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"tablet": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"mobile": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"_srfm_form_custom_css": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_use_label_as_placeholder": {
"type": "boolean",
"title": "",
"description": "",
"default": false
},
"_srfm_submit_button_text": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_is_inline_button": {
"type": "boolean",
"title": "",
"description": "",
"default": false
},
"_srfm_submit_width_backend": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_button_border_radius": {
"type": "integer",
"title": "",
"description": "",
"default": 0
},
"_srfm_submit_alignment": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_submit_alignment_backend": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_submit_width": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_inherit_theme_button": {
"type": "boolean",
"title": "",
"description": "",
"default": false
},
"_srfm_additional_classes": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_submit_type": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_captcha_security_type": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_form_recaptcha": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_is_ai_generated": {
"type": "boolean",
"title": "",
"description": "",
"default": false
},
"_srfm_instant_form_settings": {
"type": "object",
"title": "",
"description": "",
"default": {
"bg_type": "color",
"bg_color": "#ffffff",
"bg_image": "",
"site_logo": "",
"cover_type": "color",
"cover_color": "#111C44",
"cover_image": "",
"enable_instant_form": false,
"form_container_width": 620,
"single_page_form_title": true,
"use_banner_as_page_background": false
},
"properties": {
"site_logo": {
"type": "string"
},
"site_logo_id": {
"type": "integer"
},
"cover_type": {
"type": "string"
},
"cover_color": {
"type": "string"
},
"cover_image": {
"type": "string"
},
"cover_image_id": {
"type": "integer"
},
"bg_type": {
"type": "string"
},
"bg_color": {
"type": "string"
},
"bg_image": {
"type": "string"
},
"bg_image_id": {
"type": "integer"
},
"enable_instant_form": {
"type": "boolean"
},
"form_container_width": {
"type": "integer"
},
"single_page_form_title": {
"type": "boolean"
},
"use_banner_as_page_background": {
"type": "boolean"
}
},
"additionalProperties": false
},
"_srfm_forms_styling": {
"type": "object",
"title": "",
"description": "",
"default": {
"primary_color": "#111C44",
"text_color": "#1E1E1E",
"text_color_on_primary": "#FFFFFF",
"field_spacing": "medium",
"submit_button_alignment": "left",
"bg_type": "color",
"bg_color": "#ffffff",
"bg_image": "",
"bg_image_position": {
"x": 0.5,
"y": 0.5
},
"bg_image_attachment": "scroll",
"bg_image_repeat": "no-repeat",
"bg_image_size": "cover",
"bg_image_size_custom": 100,
"bg_image_size_custom_unit": "%",
"gradient_type": "basic",
"bg_gradient_type": "linear",
"bg_gradient_color_1": "#FFC9B2",
"bg_gradient_color_2": "#C7CBFF",
"bg_gradient_angle": 90,
"bg_gradient_location_1": 0,
"bg_gradient_location_2": 100,
"bg_overlay_size": "cover",
"bg_gradient_overlay_type": "",
"bg_overlay_opacity": 1,
"bg_overlay_image": "",
"bg_image_overlay_color": "#FFFFFF75",
"bg_overlay_custom_size_unit": "%",
"bg_overlay_custom_size": 100,
"bg_overlay_position": {
"x": 0.5,
"y": 0.5
},
"bg_overlay_attachment": "scroll",
"bg_overlay_repeat": "no-repeat",
"bg_overlay_blend_mode": "normal",
"overlay_gradient_type": "basic",
"bg_overlay_gradient_type": "linear",
"bg_overlay_gradient_color_1": "#FFC9B2",
"bg_overlay_gradient_color_2": "#C7CBFF",
"bg_overlay_gradient_angle": 90,
"bg_overlay_gradient_location_1": 0,
"bg_overlay_gradient_location_2": 100,
"form_padding_top": 0,
"form_padding_right": 0,
"form_padding_bottom": 0,
"form_padding_left": 0,
"form_padding_unit": "px",
"form_padding_link": true,
"form_border_radius_top": 0,
"form_border_radius_right": 0,
"form_border_radius_bottom": 0,
"form_border_radius_left": 0,
"form_border_radius_unit": "px",
"form_border_radius_link": true,
"instant_form_padding_top": 32,
"instant_form_padding_right": 32,
"instant_form_padding_bottom": 32,
"instant_form_padding_left": 32,
"instant_form_padding_unit": "px",
"instant_form_padding_link": true,
"instant_form_border_radius_top": 12,
"instant_form_border_radius_right": 12,
"instant_form_border_radius_bottom": 12,
"instant_form_border_radius_left": 12,
"instant_form_border_radius_unit": "px",
"instant_form_border_radius_link": true
},
"properties": {
"primary_color": {
"type": "string"
},
"text_color": {
"type": "string"
},
"text_color_on_primary": {
"type": "string"
},
"field_spacing": {
"type": "string"
},
"submit_button_alignment": {
"type": "string"
},
"bg_type": {
"type": "string"
},
"bg_color": {
"type": "string"
},
"bg_image": {
"type": "string"
},
"bg_image_id": {
"type": "integer"
},
"bg_image_position": {
"type": "object",
"properties": {
"x": {
"type": "number",
"format": "float"
},
"y": {
"type": "number",
"format": "float"
}
},
"additionalProperties": false
},
"bg_image_attachment": {
"type": "string"
},
"bg_image_repeat": {
"type": "string"
},
"bg_image_size": {
"type": "string"
},
"bg_image_size_custom": {
"type": "integer"
},
"bg_image_size_custom_unit": {
"type": "string"
},
"bg_gradient": {
"type": "string"
},
"gradient_type": {
"type": "string"
},
"bg_gradient_type": {
"type": "string"
},
"bg_gradient_color_1": {
"type": "string"
},
"bg_gradient_color_2": {
"type": "string"
},
"bg_gradient_angle": {
"type": "integer"
},
"bg_gradient_location_1": {
"type": "integer"
},
"bg_gradient_location_2": {
"type": "integer"
},
"bg_overlay_size": {
"type": "string"
},
"bg_gradient_overlay_type": {
"type": "string"
},
"bg_overlay_opacity": {
"type": "number"
},
"bg_overlay_image": {
"type": "string"
},
"bg_overlay_image_id": {
"type": "integer"
},
"bg_image_overlay_color": {
"type": "string"
},
"bg_overlay_custom_size_unit": {
"type": "string"
},
"bg_overlay_custom_size": {
"type": "integer"
},
"bg_overlay_blend_mode": {
"type": "string"
},
"bg_overlay_position": {
"type": "object",
"properties": {
"x": {
"type": "number",
"format": "float"
},
"y": {
"type": "number",
"format": "float"
}
},
"additionalProperties": false
},
"bg_overlay_attachment": {
"type": "string"
},
"bg_overlay_repeat": {
"type": "string"
},
"bg_overlay_gradient": {
"type": "string"
},
"overlay_gradient_type": {
"type": "string"
},
"bg_overlay_gradient_type": {
"type": "string"
},
"bg_overlay_gradient_color_1": {
"type": "string"
},
"bg_overlay_gradient_color_2": {
"type": "string"
},
"bg_overlay_gradient_angle": {
"type": "integer"
},
"bg_overlay_gradient_location_1": {
"type": "integer"
},
"bg_overlay_gradient_location_2": {
"type": "integer"
},
"form_padding_top": {
"type": "number"
},
"form_padding_right": {
"type": "number"
},
"form_padding_bottom": {
"type": "number"
},
"form_padding_left": {
"type": "number"
},
"form_padding_unit": {
"type": "string"
},
"form_padding_link": {
"type": "boolean"
},
"form_border_radius_top": {
"type": "number"
},
"form_border_radius_right": {
"type": "number"
},
"form_border_radius_bottom": {
"type": "number"
},
"form_border_radius_left": {
"type": "number"
},
"form_border_radius_unit": {
"type": "string"
},
"form_border_radius_link": {
"type": "boolean"
},
"instant_form_padding_top": {
"type": "number"
},
"instant_form_padding_right": {
"type": "number"
},
"instant_form_padding_bottom": {
"type": "number"
},
"instant_form_padding_left": {
"type": "number"
},
"instant_form_padding_unit": {
"type": "string"
},
"instant_form_padding_link": {
"type": "boolean"
},
"instant_form_border_radius_top": {
"type": "number"
},
"instant_form_border_radius_right": {
"type": "number"
},
"instant_form_border_radius_bottom": {
"type": "number"
},
"instant_form_border_radius_left": {
"type": "number"
},
"instant_form_border_radius_unit": {
"type": "string"
},
"instant_form_border_radius_link": {
"type": "boolean"
}
},
"additionalProperties": false
},
"_srfm_email_notification": {
"type": "array",
"title": "",
"description": "",
"default": [
{
"id": 1,
"status": true,
"is_raw_format": false,
"name": "Admin Notification Email",
"email_to": "{admin_email}",
"email_reply_to": "{admin_email}",
"from_name": "{site_title}",
"from_email": "{admin_email}",
"email_cc": "{admin_email}",
"email_bcc": "{admin_email}",
"subject": "New Form Submission - {form_title}",
"email_body": "{all_data}"
}
],
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"status": {
"type": "boolean"
},
"is_raw_format": {
"type": "boolean"
},
"name": {
"type": "string"
},
"email_to": {
"type": "string"
},
"email_reply_to": {
"type": "string"
},
"from_name": {
"type": "string"
},
"from_email": {
"type": "string"
},
"email_cc": {
"type": "string"
},
"email_bcc": {
"type": "string"
},
"subject": {
"type": "string"
},
"email_body": {
"type": "string"
}
},
"additionalProperties": false
}
},
"_srfm_compliance": {
"type": "array",
"title": "",
"description": "",
"default": [
{
"id": "gdpr",
"gdpr": false,
"do_not_store_entries": false,
"auto_delete_entries": false,
"auto_delete_days": ""
}
],
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"gdpr": {
"type": "boolean"
},
"do_not_store_entries": {
"type": "boolean"
},
"auto_delete_entries": {
"type": "boolean"
},
"auto_delete_days": {
"type": "string"
}
},
"additionalProperties": false
}
},
"_srfm_form_confirmation": {
"type": "array",
"title": "",
"description": "",
"default": [
{
"id": 1,
"confirmation_type": "same page",
"page_url": "",
"custom_url": "",
"message": "\t\t<p style=\"text-align: center;\">\n\t\t\t<img src=\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzEiIHZpZXdCb3g9IjAgMCAzMiAzMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoCiAgICAgICAgZD0iTTIxLjAyNjggMTIuMjcyOUwxNC4xOTk2IDE5LjEwMDFMMTEuODcyNCAxNi43NzI5TTE1Ljk5OTYgMS4xMDAxQzguMDQ2NzEgMS4xMDAxIDEuNTk5NjEgNy41NDcyIDEuNTk5NjEgMTUuNTAwMUMxLjU5OTYxIDIzLjQ1MyA4LjA0NjcxIDI5LjkwMDEgMTUuOTk5NiAyOS45MDAxQzIzLjk1MjUgMjkuOTAwMSAzMC4zOTk2IDIzLjQ1MyAzMC4zOTk2IDE1LjUwMDFDMzAuMzk5NiA3LjU0NzIgMjMuOTUyNSAxLjEwMDEgMTUuOTk5NiAxLjEwMDFaIgogICAgICAgIHN0cm9rZT0iIzE2QTM0QSIgc3Ryb2tlLXdpZHRoPSIyLjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgLz4KPC9zdmc+\" alt=\"\" aria-hidden=\"true\" />\n\t\t</p>\n\t\t<h2 style=\"text-align: center;\">Thank you</h2>\n\t\t",
"submission_action": "hide form"
}
],
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"confirmation_type": {
"type": "string"
},
"page_url": {
"type": "string"
},
"custom_url": {
"type": "string"
},
"message": {
"type": "string"
},
"submission_action": {
"type": "string"
},
"enable_query_params": {
"type": "boolean"
},
"query_params": {
"type": "array"
}
},
"additionalProperties": false
}
},
"_srfm_form_restriction": {
"type": "string",
"title": "",
"description": "",
"default": "{\"status\":false,\"maxEntries\":0,\"date\":\"\",\"hours\":\"12\",\"minutes\":\"00\",\"meridiem\":\"AM\",\"message\":\"This form is now closed as we've received all the entries.\"}"
}
},
"required": false
},
"template": {
"description": "The theme file to use to display the post.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https://therift.se/wp-json/wp/v2/sureforms_form"
}
]
}
},
"/wp/v2/sureforms_form/(?P<id>[\\d]+)": {
"namespace": "wp/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Unique identifier for the post.",
"type": "integer",
"required": false
},
"context": {
"description": "Scope under which the request is made; determines fields present in response.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"password": {
"description": "The password for the post if it is password protected.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Unique identifier for the post.",
"type": "integer",
"required": false
},
"date": {
"description": "The date the post was published, in the site's timezone.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "The date the post was published, as GMT.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "An alphanumeric identifier for the post unique to its type.",
"type": "string",
"required": false
},
"status": {
"description": "A named status for the post.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private"
],
"required": false
},
"password": {
"description": "A password to protect access to the content and excerpt.",
"type": "string",
"required": false
},
"title": {
"description": "The title for the post.",
"type": "object",
"properties": {
"raw": {
"description": "Title for the post, as it exists in the database.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "HTML title for the post, transformed for display.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "The content for the post.",
"type": "object",
"properties": {
"raw": {
"description": "Content for the post, as it exists in the database.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "HTML content for the post, transformed for display.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"block_version": {
"description": "Version of the content block format used by the post.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Whether the content is protected with a password.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "The ID for the author of the post.",
"type": "integer",
"required": false
},
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": {
"_uag_custom_page_level_css": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"site-sidebar-layout": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-content-layout": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-site-content-layout": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-content-style": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-sidebar-style": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-global-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-banner-title-visibility": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-main-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-above-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-below-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-mobile-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"site-post-title": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-breadcrumbs-content": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-featured-img": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"footer-sml-layout": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"theme-transparent-header-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"adv-header-id-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"stick-header-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-above-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-main-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-below-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"astra-migrate-meta-layouts": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-page-background-enabled": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-page-background-meta": {
"type": "object",
"title": "",
"description": "",
"default": {
"desktop": {
"background-color": "var(--ast-global-color-4)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"tablet": {
"background-color": "",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"mobile": {
"background-color": "",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
}
},
"properties": {
"desktop": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"tablet": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"mobile": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"ast-content-background-meta": {
"type": "object",
"title": "",
"description": "",
"default": {
"desktop": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"tablet": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"mobile": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
}
},
"properties": {
"desktop": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"tablet": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"mobile": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"_srfm_form_custom_css": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_use_label_as_placeholder": {
"type": "boolean",
"title": "",
"description": "",
"default": false
},
"_srfm_submit_button_text": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_is_inline_button": {
"type": "boolean",
"title": "",
"description": "",
"default": false
},
"_srfm_submit_width_backend": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_button_border_radius": {
"type": "integer",
"title": "",
"description": "",
"default": 0
},
"_srfm_submit_alignment": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_submit_alignment_backend": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_submit_width": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_inherit_theme_button": {
"type": "boolean",
"title": "",
"description": "",
"default": false
},
"_srfm_additional_classes": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_submit_type": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_captcha_security_type": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_form_recaptcha": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_is_ai_generated": {
"type": "boolean",
"title": "",
"description": "",
"default": false
},
"_srfm_instant_form_settings": {
"type": "object",
"title": "",
"description": "",
"default": {
"bg_type": "color",
"bg_color": "#ffffff",
"bg_image": "",
"site_logo": "",
"cover_type": "color",
"cover_color": "#111C44",
"cover_image": "",
"enable_instant_form": false,
"form_container_width": 620,
"single_page_form_title": true,
"use_banner_as_page_background": false
},
"properties": {
"site_logo": {
"type": "string"
},
"site_logo_id": {
"type": "integer"
},
"cover_type": {
"type": "string"
},
"cover_color": {
"type": "string"
},
"cover_image": {
"type": "string"
},
"cover_image_id": {
"type": "integer"
},
"bg_type": {
"type": "string"
},
"bg_color": {
"type": "string"
},
"bg_image": {
"type": "string"
},
"bg_image_id": {
"type": "integer"
},
"enable_instant_form": {
"type": "boolean"
},
"form_container_width": {
"type": "integer"
},
"single_page_form_title": {
"type": "boolean"
},
"use_banner_as_page_background": {
"type": "boolean"
}
},
"additionalProperties": false
},
"_srfm_forms_styling": {
"type": "object",
"title": "",
"description": "",
"default": {
"primary_color": "#111C44",
"text_color": "#1E1E1E",
"text_color_on_primary": "#FFFFFF",
"field_spacing": "medium",
"submit_button_alignment": "left",
"bg_type": "color",
"bg_color": "#ffffff",
"bg_image": "",
"bg_image_position": {
"x": 0.5,
"y": 0.5
},
"bg_image_attachment": "scroll",
"bg_image_repeat": "no-repeat",
"bg_image_size": "cover",
"bg_image_size_custom": 100,
"bg_image_size_custom_unit": "%",
"gradient_type": "basic",
"bg_gradient_type": "linear",
"bg_gradient_color_1": "#FFC9B2",
"bg_gradient_color_2": "#C7CBFF",
"bg_gradient_angle": 90,
"bg_gradient_location_1": 0,
"bg_gradient_location_2": 100,
"bg_overlay_size": "cover",
"bg_gradient_overlay_type": "",
"bg_overlay_opacity": 1,
"bg_overlay_image": "",
"bg_image_overlay_color": "#FFFFFF75",
"bg_overlay_custom_size_unit": "%",
"bg_overlay_custom_size": 100,
"bg_overlay_position": {
"x": 0.5,
"y": 0.5
},
"bg_overlay_attachment": "scroll",
"bg_overlay_repeat": "no-repeat",
"bg_overlay_blend_mode": "normal",
"overlay_gradient_type": "basic",
"bg_overlay_gradient_type": "linear",
"bg_overlay_gradient_color_1": "#FFC9B2",
"bg_overlay_gradient_color_2": "#C7CBFF",
"bg_overlay_gradient_angle": 90,
"bg_overlay_gradient_location_1": 0,
"bg_overlay_gradient_location_2": 100,
"form_padding_top": 0,
"form_padding_right": 0,
"form_padding_bottom": 0,
"form_padding_left": 0,
"form_padding_unit": "px",
"form_padding_link": true,
"form_border_radius_top": 0,
"form_border_radius_right": 0,
"form_border_radius_bottom": 0,
"form_border_radius_left": 0,
"form_border_radius_unit": "px",
"form_border_radius_link": true,
"instant_form_padding_top": 32,
"instant_form_padding_right": 32,
"instant_form_padding_bottom": 32,
"instant_form_padding_left": 32,
"instant_form_padding_unit": "px",
"instant_form_padding_link": true,
"instant_form_border_radius_top": 12,
"instant_form_border_radius_right": 12,
"instant_form_border_radius_bottom": 12,
"instant_form_border_radius_left": 12,
"instant_form_border_radius_unit": "px",
"instant_form_border_radius_link": true
},
"properties": {
"primary_color": {
"type": "string"
},
"text_color": {
"type": "string"
},
"text_color_on_primary": {
"type": "string"
},
"field_spacing": {
"type": "string"
},
"submit_button_alignment": {
"type": "string"
},
"bg_type": {
"type": "string"
},
"bg_color": {
"type": "string"
},
"bg_image": {
"type": "string"
},
"bg_image_id": {
"type": "integer"
},
"bg_image_position": {
"type": "object",
"properties": {
"x": {
"type": "number",
"format": "float"
},
"y": {
"type": "number",
"format": "float"
}
},
"additionalProperties": false
},
"bg_image_attachment": {
"type": "string"
},
"bg_image_repeat": {
"type": "string"
},
"bg_image_size": {
"type": "string"
},
"bg_image_size_custom": {
"type": "integer"
},
"bg_image_size_custom_unit": {
"type": "string"
},
"bg_gradient": {
"type": "string"
},
"gradient_type": {
"type": "string"
},
"bg_gradient_type": {
"type": "string"
},
"bg_gradient_color_1": {
"type": "string"
},
"bg_gradient_color_2": {
"type": "string"
},
"bg_gradient_angle": {
"type": "integer"
},
"bg_gradient_location_1": {
"type": "integer"
},
"bg_gradient_location_2": {
"type": "integer"
},
"bg_overlay_size": {
"type": "string"
},
"bg_gradient_overlay_type": {
"type": "string"
},
"bg_overlay_opacity": {
"type": "number"
},
"bg_overlay_image": {
"type": "string"
},
"bg_overlay_image_id": {
"type": "integer"
},
"bg_image_overlay_color": {
"type": "string"
},
"bg_overlay_custom_size_unit": {
"type": "string"
},
"bg_overlay_custom_size": {
"type": "integer"
},
"bg_overlay_blend_mode": {
"type": "string"
},
"bg_overlay_position": {
"type": "object",
"properties": {
"x": {
"type": "number",
"format": "float"
},
"y": {
"type": "number",
"format": "float"
}
},
"additionalProperties": false
},
"bg_overlay_attachment": {
"type": "string"
},
"bg_overlay_repeat": {
"type": "string"
},
"bg_overlay_gradient": {
"type": "string"
},
"overlay_gradient_type": {
"type": "string"
},
"bg_overlay_gradient_type": {
"type": "string"
},
"bg_overlay_gradient_color_1": {
"type": "string"
},
"bg_overlay_gradient_color_2": {
"type": "string"
},
"bg_overlay_gradient_angle": {
"type": "integer"
},
"bg_overlay_gradient_location_1": {
"type": "integer"
},
"bg_overlay_gradient_location_2": {
"type": "integer"
},
"form_padding_top": {
"type": "number"
},
"form_padding_right": {
"type": "number"
},
"form_padding_bottom": {
"type": "number"
},
"form_padding_left": {
"type": "number"
},
"form_padding_unit": {
"type": "string"
},
"form_padding_link": {
"type": "boolean"
},
"form_border_radius_top": {
"type": "number"
},
"form_border_radius_right": {
"type": "number"
},
"form_border_radius_bottom": {
"type": "number"
},
"form_border_radius_left": {
"type": "number"
},
"form_border_radius_unit": {
"type": "string"
},
"form_border_radius_link": {
"type": "boolean"
},
"instant_form_padding_top": {
"type": "number"
},
"instant_form_padding_right": {
"type": "number"
},
"instant_form_padding_bottom": {
"type": "number"
},
"instant_form_padding_left": {
"type": "number"
},
"instant_form_padding_unit": {
"type": "string"
},
"instant_form_padding_link": {
"type": "boolean"
},
"instant_form_border_radius_top": {
"type": "number"
},
"instant_form_border_radius_right": {
"type": "number"
},
"instant_form_border_radius_bottom": {
"type": "number"
},
"instant_form_border_radius_left": {
"type": "number"
},
"instant_form_border_radius_unit": {
"type": "string"
},
"instant_form_border_radius_link": {
"type": "boolean"
}
},
"additionalProperties": false
},
"_srfm_email_notification": {
"type": "array",
"title": "",
"description": "",
"default": [
{
"id": 1,
"status": true,
"is_raw_format": false,
"name": "Admin Notification Email",
"email_to": "{admin_email}",
"email_reply_to": "{admin_email}",
"from_name": "{site_title}",
"from_email": "{admin_email}",
"email_cc": "{admin_email}",
"email_bcc": "{admin_email}",
"subject": "New Form Submission - {form_title}",
"email_body": "{all_data}"
}
],
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"status": {
"type": "boolean"
},
"is_raw_format": {
"type": "boolean"
},
"name": {
"type": "string"
},
"email_to": {
"type": "string"
},
"email_reply_to": {
"type": "string"
},
"from_name": {
"type": "string"
},
"from_email": {
"type": "string"
},
"email_cc": {
"type": "string"
},
"email_bcc": {
"type": "string"
},
"subject": {
"type": "string"
},
"email_body": {
"type": "string"
}
},
"additionalProperties": false
}
},
"_srfm_compliance": {
"type": "array",
"title": "",
"description": "",
"default": [
{
"id": "gdpr",
"gdpr": false,
"do_not_store_entries": false,
"auto_delete_entries": false,
"auto_delete_days": ""
}
],
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"gdpr": {
"type": "boolean"
},
"do_not_store_entries": {
"type": "boolean"
},
"auto_delete_entries": {
"type": "boolean"
},
"auto_delete_days": {
"type": "string"
}
},
"additionalProperties": false
}
},
"_srfm_form_confirmation": {
"type": "array",
"title": "",
"description": "",
"default": [
{
"id": 1,
"confirmation_type": "same page",
"page_url": "",
"custom_url": "",
"message": "\t\t<p style=\"text-align: center;\">\n\t\t\t<img src=\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzEiIHZpZXdCb3g9IjAgMCAzMiAzMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoCiAgICAgICAgZD0iTTIxLjAyNjggMTIuMjcyOUwxNC4xOTk2IDE5LjEwMDFMMTEuODcyNCAxNi43NzI5TTE1Ljk5OTYgMS4xMDAxQzguMDQ2NzEgMS4xMDAxIDEuNTk5NjEgNy41NDcyIDEuNTk5NjEgMTUuNTAwMUMxLjU5OTYxIDIzLjQ1MyA4LjA0NjcxIDI5LjkwMDEgMTUuOTk5NiAyOS45MDAxQzIzLjk1MjUgMjkuOTAwMSAzMC4zOTk2IDIzLjQ1MyAzMC4zOTk2IDE1LjUwMDFDMzAuMzk5NiA3LjU0NzIgMjMuOTUyNSAxLjEwMDEgMTUuOTk5NiAxLjEwMDFaIgogICAgICAgIHN0cm9rZT0iIzE2QTM0QSIgc3Ryb2tlLXdpZHRoPSIyLjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgLz4KPC9zdmc+\" alt=\"\" aria-hidden=\"true\" />\n\t\t</p>\n\t\t<h2 style=\"text-align: center;\">Thank you</h2>\n\t\t",
"submission_action": "hide form"
}
],
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"confirmation_type": {
"type": "string"
},
"page_url": {
"type": "string"
},
"custom_url": {
"type": "string"
},
"message": {
"type": "string"
},
"submission_action": {
"type": "string"
},
"enable_query_params": {
"type": "boolean"
},
"query_params": {
"type": "array"
}
},
"additionalProperties": false
}
},
"_srfm_form_restriction": {
"type": "string",
"title": "",
"description": "",
"default": "{\"status\":false,\"maxEntries\":0,\"date\":\"\",\"hours\":\"12\",\"minutes\":\"00\",\"meridiem\":\"AM\",\"message\":\"This form is now closed as we've received all the entries.\"}"
}
},
"required": false
},
"template": {
"description": "The theme file to use to display the post.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Unique identifier for the post.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Whether to bypass Trash and force deletion.",
"required": false
}
}
}
]
},
"/wp/v2/sureforms_form/(?P<id>[\\d]+)/autosaves": {
"namespace": "wp/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "The ID for the parent of the autosave.",
"type": "integer",
"required": false
},
"context": {
"description": "Scope under which the request is made; determines fields present in response.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent": {
"description": "The ID for the parent of the autosave.",
"type": "integer",
"required": false
},
"date": {
"description": "The date the post was published, in the site's timezone.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "The date the post was published, as GMT.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "An alphanumeric identifier for the post unique to its type.",
"type": "string",
"required": false
},
"status": {
"description": "A named status for the post.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private"
],
"required": false
},
"password": {
"description": "A password to protect access to the content and excerpt.",
"type": "string",
"required": false
},
"title": {
"description": "The title for the post.",
"type": "object",
"properties": {
"raw": {
"description": "Title for the post, as it exists in the database.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "HTML title for the post, transformed for display.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "The content for the post.",
"type": "object",
"properties": {
"raw": {
"description": "Content for the post, as it exists in the database.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "HTML content for the post, transformed for display.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"block_version": {
"description": "Version of the content block format used by the post.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Whether the content is protected with a password.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "The ID for the author of the post.",
"type": "integer",
"required": false
},
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": {
"_uag_custom_page_level_css": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"site-sidebar-layout": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-content-layout": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-site-content-layout": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-content-style": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-sidebar-style": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-global-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-banner-title-visibility": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-main-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-above-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-below-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-mobile-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"site-post-title": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-breadcrumbs-content": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-featured-img": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"footer-sml-layout": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"theme-transparent-header-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"adv-header-id-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"stick-header-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-above-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-main-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-below-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"astra-migrate-meta-layouts": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-page-background-enabled": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-page-background-meta": {
"type": "object",
"title": "",
"description": "",
"default": {
"desktop": {
"background-color": "var(--ast-global-color-4)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"tablet": {
"background-color": "",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"mobile": {
"background-color": "",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
}
},
"properties": {
"desktop": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"tablet": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"mobile": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"ast-content-background-meta": {
"type": "object",
"title": "",
"description": "",
"default": {
"desktop": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"tablet": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"mobile": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
}
},
"properties": {
"desktop": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"tablet": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"mobile": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"_srfm_form_custom_css": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_use_label_as_placeholder": {
"type": "boolean",
"title": "",
"description": "",
"default": false
},
"_srfm_submit_button_text": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_is_inline_button": {
"type": "boolean",
"title": "",
"description": "",
"default": false
},
"_srfm_submit_width_backend": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_button_border_radius": {
"type": "integer",
"title": "",
"description": "",
"default": 0
},
"_srfm_submit_alignment": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_submit_alignment_backend": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_submit_width": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_inherit_theme_button": {
"type": "boolean",
"title": "",
"description": "",
"default": false
},
"_srfm_additional_classes": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_submit_type": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_captcha_security_type": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_form_recaptcha": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"_srfm_is_ai_generated": {
"type": "boolean",
"title": "",
"description": "",
"default": false
},
"_srfm_instant_form_settings": {
"type": "object",
"title": "",
"description": "",
"default": {
"bg_type": "color",
"bg_color": "#ffffff",
"bg_image": "",
"site_logo": "",
"cover_type": "color",
"cover_color": "#111C44",
"cover_image": "",
"enable_instant_form": false,
"form_container_width": 620,
"single_page_form_title": true,
"use_banner_as_page_background": false
},
"properties": {
"site_logo": {
"type": "string"
},
"site_logo_id": {
"type": "integer"
},
"cover_type": {
"type": "string"
},
"cover_color": {
"type": "string"
},
"cover_image": {
"type": "string"
},
"cover_image_id": {
"type": "integer"
},
"bg_type": {
"type": "string"
},
"bg_color": {
"type": "string"
},
"bg_image": {
"type": "string"
},
"bg_image_id": {
"type": "integer"
},
"enable_instant_form": {
"type": "boolean"
},
"form_container_width": {
"type": "integer"
},
"single_page_form_title": {
"type": "boolean"
},
"use_banner_as_page_background": {
"type": "boolean"
}
},
"additionalProperties": false
},
"_srfm_forms_styling": {
"type": "object",
"title": "",
"description": "",
"default": {
"primary_color": "#111C44",
"text_color": "#1E1E1E",
"text_color_on_primary": "#FFFFFF",
"field_spacing": "medium",
"submit_button_alignment": "left",
"bg_type": "color",
"bg_color": "#ffffff",
"bg_image": "",
"bg_image_position": {
"x": 0.5,
"y": 0.5
},
"bg_image_attachment": "scroll",
"bg_image_repeat": "no-repeat",
"bg_image_size": "cover",
"bg_image_size_custom": 100,
"bg_image_size_custom_unit": "%",
"gradient_type": "basic",
"bg_gradient_type": "linear",
"bg_gradient_color_1": "#FFC9B2",
"bg_gradient_color_2": "#C7CBFF",
"bg_gradient_angle": 90,
"bg_gradient_location_1": 0,
"bg_gradient_location_2": 100,
"bg_overlay_size": "cover",
"bg_gradient_overlay_type": "",
"bg_overlay_opacity": 1,
"bg_overlay_image": "",
"bg_image_overlay_color": "#FFFFFF75",
"bg_overlay_custom_size_unit": "%",
"bg_overlay_custom_size": 100,
"bg_overlay_position": {
"x": 0.5,
"y": 0.5
},
"bg_overlay_attachment": "scroll",
"bg_overlay_repeat": "no-repeat",
"bg_overlay_blend_mode": "normal",
"overlay_gradient_type": "basic",
"bg_overlay_gradient_type": "linear",
"bg_overlay_gradient_color_1": "#FFC9B2",
"bg_overlay_gradient_color_2": "#C7CBFF",
"bg_overlay_gradient_angle": 90,
"bg_overlay_gradient_location_1": 0,
"bg_overlay_gradient_location_2": 100,
"form_padding_top": 0,
"form_padding_right": 0,
"form_padding_bottom": 0,
"form_padding_left": 0,
"form_padding_unit": "px",
"form_padding_link": true,
"form_border_radius_top": 0,
"form_border_radius_right": 0,
"form_border_radius_bottom": 0,
"form_border_radius_left": 0,
"form_border_radius_unit": "px",
"form_border_radius_link": true,
"instant_form_padding_top": 32,
"instant_form_padding_right": 32,
"instant_form_padding_bottom": 32,
"instant_form_padding_left": 32,
"instant_form_padding_unit": "px",
"instant_form_padding_link": true,
"instant_form_border_radius_top": 12,
"instant_form_border_radius_right": 12,
"instant_form_border_radius_bottom": 12,
"instant_form_border_radius_left": 12,
"instant_form_border_radius_unit": "px",
"instant_form_border_radius_link": true
},
"properties": {
"primary_color": {
"type": "string"
},
"text_color": {
"type": "string"
},
"text_color_on_primary": {
"type": "string"
},
"field_spacing": {
"type": "string"
},
"submit_button_alignment": {
"type": "string"
},
"bg_type": {
"type": "string"
},
"bg_color": {
"type": "string"
},
"bg_image": {
"type": "string"
},
"bg_image_id": {
"type": "integer"
},
"bg_image_position": {
"type": "object",
"properties": {
"x": {
"type": "number",
"format": "float"
},
"y": {
"type": "number",
"format": "float"
}
},
"additionalProperties": false
},
"bg_image_attachment": {
"type": "string"
},
"bg_image_repeat": {
"type": "string"
},
"bg_image_size": {
"type": "string"
},
"bg_image_size_custom": {
"type": "integer"
},
"bg_image_size_custom_unit": {
"type": "string"
},
"bg_gradient": {
"type": "string"
},
"gradient_type": {
"type": "string"
},
"bg_gradient_type": {
"type": "string"
},
"bg_gradient_color_1": {
"type": "string"
},
"bg_gradient_color_2": {
"type": "string"
},
"bg_gradient_angle": {
"type": "integer"
},
"bg_gradient_location_1": {
"type": "integer"
},
"bg_gradient_location_2": {
"type": "integer"
},
"bg_overlay_size": {
"type": "string"
},
"bg_gradient_overlay_type": {
"type": "string"
},
"bg_overlay_opacity": {
"type": "number"
},
"bg_overlay_image": {
"type": "string"
},
"bg_overlay_image_id": {
"type": "integer"
},
"bg_image_overlay_color": {
"type": "string"
},
"bg_overlay_custom_size_unit": {
"type": "string"
},
"bg_overlay_custom_size": {
"type": "integer"
},
"bg_overlay_blend_mode": {
"type": "string"
},
"bg_overlay_position": {
"type": "object",
"properties": {
"x": {
"type": "number",
"format": "float"
},
"y": {
"type": "number",
"format": "float"
}
},
"additionalProperties": false
},
"bg_overlay_attachment": {
"type": "string"
},
"bg_overlay_repeat": {
"type": "string"
},
"bg_overlay_gradient": {
"type": "string"
},
"overlay_gradient_type": {
"type": "string"
},
"bg_overlay_gradient_type": {
"type": "string"
},
"bg_overlay_gradient_color_1": {
"type": "string"
},
"bg_overlay_gradient_color_2": {
"type": "string"
},
"bg_overlay_gradient_angle": {
"type": "integer"
},
"bg_overlay_gradient_location_1": {
"type": "integer"
},
"bg_overlay_gradient_location_2": {
"type": "integer"
},
"form_padding_top": {
"type": "number"
},
"form_padding_right": {
"type": "number"
},
"form_padding_bottom": {
"type": "number"
},
"form_padding_left": {
"type": "number"
},
"form_padding_unit": {
"type": "string"
},
"form_padding_link": {
"type": "boolean"
},
"form_border_radius_top": {
"type": "number"
},
"form_border_radius_right": {
"type": "number"
},
"form_border_radius_bottom": {
"type": "number"
},
"form_border_radius_left": {
"type": "number"
},
"form_border_radius_unit": {
"type": "string"
},
"form_border_radius_link": {
"type": "boolean"
},
"instant_form_padding_top": {
"type": "number"
},
"instant_form_padding_right": {
"type": "number"
},
"instant_form_padding_bottom": {
"type": "number"
},
"instant_form_padding_left": {
"type": "number"
},
"instant_form_padding_unit": {
"type": "string"
},
"instant_form_padding_link": {
"type": "boolean"
},
"instant_form_border_radius_top": {
"type": "number"
},
"instant_form_border_radius_right": {
"type": "number"
},
"instant_form_border_radius_bottom": {
"type": "number"
},
"instant_form_border_radius_left": {
"type": "number"
},
"instant_form_border_radius_unit": {
"type": "string"
},
"instant_form_border_radius_link": {
"type": "boolean"
}
},
"additionalProperties": false
},
"_srfm_email_notification": {
"type": "array",
"title": "",
"description": "",
"default": [
{
"id": 1,
"status": true,
"is_raw_format": false,
"name": "Admin Notification Email",
"email_to": "{admin_email}",
"email_reply_to": "{admin_email}",
"from_name": "{site_title}",
"from_email": "{admin_email}",
"email_cc": "{admin_email}",
"email_bcc": "{admin_email}",
"subject": "New Form Submission - {form_title}",
"email_body": "{all_data}"
}
],
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"status": {
"type": "boolean"
},
"is_raw_format": {
"type": "boolean"
},
"name": {
"type": "string"
},
"email_to": {
"type": "string"
},
"email_reply_to": {
"type": "string"
},
"from_name": {
"type": "string"
},
"from_email": {
"type": "string"
},
"email_cc": {
"type": "string"
},
"email_bcc": {
"type": "string"
},
"subject": {
"type": "string"
},
"email_body": {
"type": "string"
}
},
"additionalProperties": false
}
},
"_srfm_compliance": {
"type": "array",
"title": "",
"description": "",
"default": [
{
"id": "gdpr",
"gdpr": false,
"do_not_store_entries": false,
"auto_delete_entries": false,
"auto_delete_days": ""
}
],
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"gdpr": {
"type": "boolean"
},
"do_not_store_entries": {
"type": "boolean"
},
"auto_delete_entries": {
"type": "boolean"
},
"auto_delete_days": {
"type": "string"
}
},
"additionalProperties": false
}
},
"_srfm_form_confirmation": {
"type": "array",
"title": "",
"description": "",
"default": [
{
"id": 1,
"confirmation_type": "same page",
"page_url": "",
"custom_url": "",
"message": "\t\t<p style=\"text-align: center;\">\n\t\t\t<img src=\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzEiIHZpZXdCb3g9IjAgMCAzMiAzMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoCiAgICAgICAgZD0iTTIxLjAyNjggMTIuMjcyOUwxNC4xOTk2IDE5LjEwMDFMMTEuODcyNCAxNi43NzI5TTE1Ljk5OTYgMS4xMDAxQzguMDQ2NzEgMS4xMDAxIDEuNTk5NjEgNy41NDcyIDEuNTk5NjEgMTUuNTAwMUMxLjU5OTYxIDIzLjQ1MyA4LjA0NjcxIDI5LjkwMDEgMTUuOTk5NiAyOS45MDAxQzIzLjk1MjUgMjkuOTAwMSAzMC4zOTk2IDIzLjQ1MyAzMC4zOTk2IDE1LjUwMDFDMzAuMzk5NiA3LjU0NzIgMjMuOTUyNSAxLjEwMDEgMTUuOTk5NiAxLjEwMDFaIgogICAgICAgIHN0cm9rZT0iIzE2QTM0QSIgc3Ryb2tlLXdpZHRoPSIyLjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgLz4KPC9zdmc+\" alt=\"\" aria-hidden=\"true\" />\n\t\t</p>\n\t\t<h2 style=\"text-align: center;\">Thank you</h2>\n\t\t",
"submission_action": "hide form"
}
],
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"confirmation_type": {
"type": "string"
},
"page_url": {
"type": "string"
},
"custom_url": {
"type": "string"
},
"message": {
"type": "string"
},
"submission_action": {
"type": "string"
},
"enable_query_params": {
"type": "boolean"
},
"query_params": {
"type": "array"
}
},
"additionalProperties": false
}
},
"_srfm_form_restriction": {
"type": "string",
"title": "",
"description": "",
"default": "{\"status\":false,\"maxEntries\":0,\"date\":\"\",\"hours\":\"12\",\"minutes\":\"00\",\"meridiem\":\"AM\",\"message\":\"This form is now closed as we've received all the entries.\"}"
}
},
"required": false
},
"template": {
"description": "The theme file to use to display the post.",
"type": "string",
"required": false
}
}
}
]
},
"/wp/v2/sureforms_form/(?P<parent>[\\d]+)/autosaves/(?P<id>[\\d]+)": {
"namespace": "wp/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "The ID for the parent of the autosave.",
"type": "integer",
"required": false
},
"id": {
"description": "The ID for the autosave.",
"type": "integer",
"required": false
},
"context": {
"description": "Scope under which the request is made; determines fields present in response.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
}
]
}
}