From f1fe50b84dc532f0225b36a438c327eb77697ec6 Mon Sep 17 00:00:00 2001 From: Hari Prasad V Atri <32796206+hari97atri@users.noreply.github.com> Date: Sun, 8 Nov 2020 17:24:36 +0530 Subject: [PATCH 1/2] Update index.html --- index.html | 4609 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 4496 insertions(+), 113 deletions(-) diff --git a/index.html b/index.html index b71cea9..ea8abfc 100644 --- a/index.html +++ b/index.html @@ -1,11 +1,10 @@ - - - - - + + + + - API Reference + Introduction – API Reference - - - + + + - - + + NAV - Navbar + Navbar
- +
- shell + shell + python
-

Introduction

+

Introduction

The Beaconstac API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.

-

Authentication

+

Authentication

To authorize, use this code:

-
# With shell, you can just pass the correct header with each request
-curl "https://beaconstac.mobstac.com/api/2.0/"
+
# With shell, you can just pass the correct header with each request
+curl "https://api.beaconstac.com/api/2.0/"
   -H "Authorization: Token YOUR_TOKEN"
 
@@ -363,11 +425,11 @@

Authentication

  1. Login to the Beaconstac dashboard.
  2. -
  3. Go to your 'Account' section using the drop-down on the top-right.
  4. -
  5. In the 'Account Details' section, copy the 'Developer Token' value.
  6. +
  7. Go to your 'Account' section using the drop-down on the top-right.
  8. +
  9. In the 'Account Details' section, copy the 'Developer Token' value.
-

Account Page

+

Account Page

Beaconstac expects for the API key to be included in all API requests to the server in a header that looks like the following:

@@ -376,8 +438,8 @@

Authentication

-

Beaconstac

Campaign

-

Campaign is type of marketing strategy which can in the form of custom url, markdown card, form and schedule.

+

API

Campaign

+

Campaign is a type of marketing strategy in the form of Custom Url, Landing Pages or Feedback Forms to facilitate engagement between users and your business.

@@ -388,7 +450,7 @@

Beaconstac

Campaign

- + @@ -403,6 +465,48 @@

Beaconstac

Campaign

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -415,8 +519,4285 @@

Beaconstac

Campaign

id integer read only

Unique identifier of the object

content_type integer required

Campaign Type (0 for 'No campaign')

content_type integer required

Campaign Type (0 for 'No campaign')

custom_url URL required if content_type is 1

User configured URL associated with the campaign

schedule integer required if content_type is 4

Schedule associated with the campaign

app_links object required if content_type is 5

Schedule associated with the campaign

vcard_plus object required if content_type is 6

Schedule associated with the campaign

social_media object required if content_type is 8

Schedule associated with the campaign

facebook_page object required if content_type is 9

Schedule associated with the campaign

coupon object required if content_type is 10

Schedule associated with the campaign

business_card object required if content_type is 11

Schedule associated with the campaign

pdf object required if content_type is 13

Schedule associated with the campaign

restaurant_menu object required if content_type is 14

Schedule associated with the campaign

phone object required if content_type is 4

Schedule associated with the campaign

sms object required if content_type is 4

Schedule associated with the campaign

email object required if content_type is 4

Schedule associated with the campaign

start_date timestamp ``

Starts the campaign from the specified date

end_date timestamp ``

Ends the campaign on the specified date

age_gate integer ``

Prompts an age gate form when viewing the contents, restricting if viewer is younger than specified age

campaign_active boolean read only

Current campaign status

updated timestamp read only

Last updated timestamp of the campaign

-

Campaign Notification

-

Campaign notification is the brief overview of the campaign, used to alert the user. This can only be used with beacon and geofence objects.

+ +

Beaconstac API supports the following campaign types.

+

Landing Page (Markdown Card)

+

Create mobile-friendly landing pages for users to view/interact with your content.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Attributes
id integer read only

Unique identifier of the object

title string required

Name of the Landing page

version integer

Version of landing page (1 or 2)

default boolean readonly

Indicates whether page is a default page

card_theme integer

Theme for the page

custom_theme integer

ID of the custom theme

custom_theme_data object readonly

Details of the custom theme used

theme_data object readonly

Details of the card theme used

markdown_body string

Data to be displayed in markdown format

html_body string

Data to be displayed in HTML format

css_body string

CSS styling for the page

organization integer required

ID of the organization the Landing page belongs to

maintainer integer

ID of the user the Landing page is maintained by

created timestamp read only

Creation timestamp

updated timestamp read only

Updation timestamp

+

Get all landing pages

curl "https://api.beaconstac.com/api/2.0/markdowncards/"
+  -H "Authorization: Token YOUR_TOKEN"
+
+
+

The above command returns JSON structured like this:

+
+
{
+    "count": 2,
+    "next": null,
+    "previous": null,
+    "results": [
+        {
+            "id": 26290,
+            "card_theme_data": {
+                "id": 7,
+                "name": "Best offers V2",
+                "css_link": "https://d3nvy39jvu7woe.cloudfront.net/static/css/markdown_template_css/best_offers_v2.css",
+                "example_markdown": "![](https://d3nvy39jvu7woe.cloudfront.net/static/images/markdown_templates/best_offers/default_image.jpeg)\n \n ## Half Price, Happy Hour\n ### Happy Hour Is Back\n \n [Know More](https://en.wikipedia.org/wiki/Cappuccino)\n \n [Call Us](tel:+12122475489) \n **Half off any Cappuccino blended beverage.\n Weekdays: 3pm to 5pm**. A cappuccino is an Italian coffee drink that is traditionally prepared with double espresso, hot milk, and steamed milk foam. Cream may be used instead of milk and is often topped with cinnamon. It is typically smaller in volume than a caffe latte, with a thicker layer of micro foam.",
+                "script_url": "https://d3nvy39jvu7woe.cloudfront.net/None",
+                "preview_image_url": "static/images/markdown_templates/best_offers/preview_image.jpg"
+            },
+            "version": 2,
+            "default": true,
+            "title": "Default markdown card",
+            "markdown_body": "![](https://d9ic2hg1x4ep8.cloudfront.net/default_images/coffee_default.jpeg)\n\n## Half Price, Happy Hour\n### Happy Hour Is Back\n\n[Know More](https://en.wikipedia.org/wiki/Cappuccino)\n\n[Call Us](tel:+12122475489)\n\n**Half off any Cappuccino blended beverage.\nWeekdays: 3pm to 5pm**. A cappuccino is an Italian coffee drink that is traditionally prepared with double espresso, hot milk, and steamed milk foam. Cream may be used instead of milk and is often topped with cinnamon. It is typically smaller in volume than a caffè latte, with a thicker layer of micro foam.",
+            "html_body": "<p><img alt=\"\" src=\"https://d9ic2hg1x4ep8.cloudfront.net/default_images/coffee_default.jpeg\" /></p>\n<h2>Half Price, Happy Hour</h2>\n<h3>Happy Hour Is Back</h3>\n<p><a href=\"https://en.wikipedia.org/wiki/Cappuccino\">Know More</a></p>\n<p><a href=\"tel:+12122475489\">Call Us</a></p>\n<p><strong>Half off any Cappuccino blended beverage.\nWeekdays: 3pm to 5pm</strong>. A cappuccino is an Italian coffee drink that is traditionally prepared with double espresso, hot milk, and steamed milk foam. Cream may be used instead of milk and is often topped with cinnamon. It is typically smaller in volume than a caffè latte, with a thicker layer of micro foam.</p>",
+            "css_body": "",
+            "fb_pixel_id": "",
+            "fb_pixel_event": "",
+            "google_conversion_id": "",
+            "theme": null,
+            "kit_type": "AK",
+            "meta": {},
+            "created": "2020-04-21T15:57:02.521336+05:30",
+            "modified": "2020-11-06T10:51:01.082796+05:30",
+            "organization": 15406,
+            "maintainer": 15189,
+            "card_theme": 7,
+            "custom_theme": null,
+            "theme_data": {},
+            "custom_theme_data": {}
+        },
+        {
+            "id": 34918,
+            "card_theme_data": {
+                "id": 6,
+                "name": "Broadcast information",
+                "css_link": "https://d3nvy39jvu7woe.cloudfront.net/static/css/markdown_template_css/broadcast_information.css",
+                "example_markdown": "# Sub Urban Museum\n #### Unwinding the history of Mesopotamia\n \n The history of Mesopotamia ranges from the earliest human occupation in the Lower Paleolithic period up to the Late antiquity. This history is pieced together from evidence retrieved from archaeological excavations and, after the introduction of writing in the late 4th millennium BC, an increasing amount of historical sources.\n \n [READ MORE](https://www.google.com)\n",
+                "script_url": "https://d3nvy39jvu7woe.cloudfront.net/None",
+                "preview_image_url": "static/images/markdown_templates/broadcast_information/preview_image.jpg"
+            },
+            "version": 2,
+            "default": false,
+            "title": "loop",
+            "markdown_body": "# Sub Urban Museum\n#### Unwinding the history of Mesopotamia\n\nThe history of Mesopotamia ranges from the earliest human occupation in the Lower Paleolithic period up to the Late antiquity. This history is pieced together from evidence retrieved from archaeological excavations and, after the introduction of writing in the late 4th millennium BC, an increasing amount of historical sources.\n\n[READ MORE](https://www.google.com)",
+            "html_body": "<h1 id=\"sub-urban-museum\" style=\"color: #9D9D9D\">Sub Urban Museum</h1>\n        <h4 id=\"unwinding-the-history-of-mesopotamia\">Unwinding the history of Mesopotamia</h4>\n        <p>The history of Mesopotamia ranges from the earliest human occupation in the Lower Paleolithic period up to the Late antiquity. This history is pieced together from evidence retrieved from archaeological excavations and, after the introduction of writing in the late 4th millennium BC, an increasing amount of historical sources.</p>\n        <p><a href=\"https://www.google.com\">READ MORE</a></p>",
+            "css_body": "",
+            "fb_pixel_id": "",
+            "fb_pixel_event": "PageView",
+            "google_conversion_id": "",
+            "theme": "6",
+            "kit_type": "AK",
+            "meta": {
+                "creator_id": 15189,
+                "updater_id": 15189,
+                "creator_email": "hari.a+5678@mobstac.com",
+                "updater_email": "hari.a+5678@mobstac.com"
+            },
+            "created": "2020-08-21T18:55:28.359434+05:30",
+            "modified": "2020-08-21T18:55:28.367234+05:30",
+            "organization": 15406,
+            "maintainer": 15189,
+            "card_theme": 6,
+            "custom_theme": null,
+            "theme_data": {
+                "id": "6",
+                "font": "PT Sans",
+                "name": "Broadcast info",
+                "colors": {
+                    "text": "#ffffff",
+                    "buttonBackground": "#E9DD26",
+                    "buttonText": "#4a4a4a",
+                    "backgroundColor": "#282828"
+                },
+                "background": {
+                    "href": "https://d3nvy39jvu7woe.cloudfront.net/static/images/markdown_templates/broadcast_information/background.jpg",
+                    "brightness": 0,
+                    "layout": ""
+                }
+            },
+            "custom_theme_data": {
+                "id": "6",
+                "font": "PT Sans",
+                "name": "Broadcast info",
+                "colors": {
+                    "text": "#ffffff",
+                    "buttonBackground": "#E9DD26",
+                    "buttonText": "#4a4a4a",
+                    "backgroundColor": "#282828"
+                },
+                "background": {
+                    "href": "https://d3nvy39jvu7woe.cloudfront.net/static/images/markdown_templates/broadcast_information/background.jpg",
+                    "brightness": 0,
+                    "layout": ""
+                }
+            }
+        }
+    ]
+}
+
+

Returns a list of all landing pages. The landing pages are returned sorted by last updated.

+ +

Filter arguments:

+ +
    +
  1. title: exact, icontains
  2. +
+ +

Search Fields:

+ +
    +
  1. title
  2. +
+ +

Ordering fields:

+ +
    +
  1. -modified
  2. +
+

Retrieve a Landing Page

curl "https://api.beaconstac.com/api/2.0/markdowncards/{markdown_card_id}"
+  -H "Authorization: Token YOUR_TOKEN"
+
+
+

The above command returns JSON structured like this:

+
+
{
+    "id": 34918,
+    "card_theme_data": {
+        "id": 6,
+        "name": "Broadcast information",
+        "css_link": "https://d3nvy39jvu7woe.cloudfront.net/static/css/markdown_template_css/broadcast_information.css",
+        "example_markdown": "# Sub Urban Museum\n #### Unwinding the history of Mesopotamia\n \n The history of Mesopotamia ranges from the earliest human occupation in the Lower Paleolithic period up to the Late antiquity. This history is pieced together from evidence retrieved from archaeological excavations and, after the introduction of writing in the late 4th millennium BC, an increasing amount of historical sources.\n \n [READ MORE](https://www.google.com)\n",
+        "script_url": "https://d3nvy39jvu7woe.cloudfront.net/None",
+        "preview_image_url": "static/images/markdown_templates/broadcast_information/preview_image.jpg"
+    },
+    "version": 2,
+    "default": false,
+    "title": "loop",
+    "markdown_body": "# Sub Urban Museum\n#### Unwinding the history of Mesopotamia\n\nThe history of Mesopotamia ranges from the earliest human occupation in the Lower Paleolithic period up to the Late antiquity. This history is pieced together from evidence retrieved from archaeological excavations and, after the introduction of writing in the late 4th millennium BC, an increasing amount of historical sources.\n\n[READ MORE](https://www.google.com)",
+    "html_body": "<h1 id=\"sub-urban-museum\" style=\"color: #9D9D9D\">Sub Urban Museum</h1>\n        <h4 id=\"unwinding-the-history-of-mesopotamia\">Unwinding the history of Mesopotamia</h4>\n        <p>The history of Mesopotamia ranges from the earliest human occupation in the Lower Paleolithic period up to the Late antiquity. This history is pieced together from evidence retrieved from archaeological excavations and, after the introduction of writing in the late 4th millennium BC, an increasing amount of historical sources.</p>\n        <p><a href=\"https://www.google.com\">READ MORE</a></p>",
+    "css_body": "",
+    "fb_pixel_id": "",
+    "fb_pixel_event": "PageView",
+    "google_conversion_id": "",
+    "theme": "6",
+    "kit_type": "AK",
+    "meta": {},
+    "created": "2020-08-21T18:55:28.359434+05:30",
+    "modified": "2020-08-21T18:55:28.367234+05:30",
+    "organization": 15406,
+    "maintainer": 15189,
+    "card_theme": 6,
+    "custom_theme": null,
+    "theme_data": {
+        "id": "6",
+        "font": "PT Sans",
+        "name": "Broadcast info",
+        "colors": {
+            "text": "#ffffff",
+            "buttonBackground": "#E9DD26",
+            "buttonText": "#4a4a4a",
+            "backgroundColor": "#282828"
+        },
+        "background": {
+            "href": "https://d3nvy39jvu7woe.cloudfront.net/static/images/markdown_templates/broadcast_information/background.jpg",
+            "brightness": 0,
+            "layout": ""
+        }
+    },
+    "custom_theme_data": {
+        "id": "6",
+        "font": "PT Sans",
+        "name": "Broadcast info",
+        "colors": {
+            "text": "#ffffff",
+            "buttonBackground": "#E9DD26",
+            "buttonText": "#4a4a4a",
+            "backgroundColor": "#282828"
+        },
+        "background": {
+            "href": "https://d3nvy39jvu7woe.cloudfront.net/static/images/markdown_templates/broadcast_information/background.jpg",
+            "brightness": 0,
+            "layout": ""
+        }
+    }
+}
+
+

Retrieves the details of an existing landing page. You need only supply the unique landing page identifier that was returned upon listing.

+

Create new landing page

curl --location --request POST 'https://api.beaconstac.com/api/2.0/markdowncards/' \
+--header 'Authorization: Token YOUR_TOKEN' \
+--header 'Content-Type: application/json' \
+--data-raw '{
+    "organization": 15406,
+    "title": "",
+    "markdown_body": "",
+    "html_body": "",
+    "css_body": ""
+}'
+
+
+

The above command returns JSON structured like this:

+
+
{
+    "id": 41818,
+    "card_theme_data": null,
+    "version": 2,
+    "default": false,
+    "title": "",
+    "markdown_body": "",
+    "html_body": "",
+    "css_body": "",
+    "fb_pixel_id": "",
+    "fb_pixel_event": "",
+    "google_conversion_id": "",
+    "theme": null,
+    "kit_type": "AK",
+    "meta": {},
+    "created": "2020-11-06T15:04:47.016755+05:30",
+    "modified": "2020-11-06T15:04:47.022575+05:30",
+    "organization": 15406,
+    "maintainer": 15189,
+    "card_theme": null,
+    "custom_theme": null,
+    "theme_data": {},
+    "custom_theme_data": {}
+}
+

Update Landing Page

curl "https://api.beaconstac.com/api/2.0/maarkdowncards/{landing_page_id}"
+  -X PUT
+  -H "Authorization: Token YOUR_TOKEN"
+  -d "{'id':landing_page_id, 'title':'new title'"
+
+
+

The above command returns JSON structured like this:

+
+
{
+    "id": 41819,
+    "card_theme_data": {
+        "id": 6,
+        "name": "Broadcast information",
+        "css_link": "https://d3nvy39jvu7woe.cloudfront.net/static/css/markdown_template_css/broadcast_information.css",
+        "example_markdown": "# Sub Urban Museum\n #### Unwinding the history of Mesopotamia\n \n The history of Mesopotamia ranges from the earliest human occupation in the Lower Paleolithic period up to the Late antiquity. This history is pieced together from evidence retrieved from archaeological excavations and, after the introduction of writing in the late 4th millennium BC, an increasing amount of historical sources.\n \n [READ MORE](https://www.google.com)\n",
+        "script_url": "https://d3nvy39jvu7woe.cloudfront.net/None",
+        "preview_image_url": "static/images/markdown_templates/broadcast_information/preview_image.jpg"
+    },
+    "version": 2,
+    "default": false,
+    "title": "t78",
+    "markdown_body": "# Sub Urban Museum\n#### Unwinding the history of Mesopotamia\n\nThe history of Mesopotamia ranges from the earliest human occupation in the Lower Paleolithic period up to the Late antiquity. This history is pieced together from evidence retrieved from archaeological excavations and, after the introduction of writing in the late 4th millennium BC, an increasing amount of historical sources.\n\n[READ MORE](https://www.google.com)",
+    "html_body": "<h1 id=\"sub-urban-museum\" style=\"color: #9D9D9D\">Sub Urban Museum</h1>\n        <h4 id=\"unwinding-the-history-of-mesopotamia\">Unwinding the history of Mesopotamia</h4>\n        <p>The history of Mesopotamia ranges from the earliest human occupation in the Lower Paleolithic period up to the Late antiquity. This history is pieced together from evidence retrieved from archaeological excavations and, after the introduction of writing in the late 4th millennium BC, an increasing amount of historical sources.</p>\n        <p><a href=\"https://www.google.com\">READ MORE</a></p>",
+    "css_body": "",
+    "fb_pixel_id": "",
+    "fb_pixel_event": "PageView",
+    "google_conversion_id": "",
+    "theme": "6",
+    "kit_type": "AK",
+    "meta": {
+        "creator_id": 15189,
+        "updater_id": 15189,
+        "creator_email": "hari.a+5678@mobstac.com",
+        "updater_email": "hari.a+5678@mobstac.com"
+    },
+    "created": "2020-11-06T15:20:18.026375+05:30",
+    "modified": "2020-11-06T15:20:18.032442+05:30",
+    "organization": 15406,
+    "maintainer": 15189,
+    "card_theme": 6,
+    "custom_theme": null,
+    "theme_data": {
+        "id": "6",
+        "font": "PT Sans",
+        "name": "Broadcast info",
+        "colors": {
+            "text": "#ffffff",
+            "buttonBackground": "#E9DD26",
+            "buttonText": "#4a4a4a",
+            "backgroundColor": "#282828"
+        },
+        "background": {
+            "href": "https://d3nvy39jvu7woe.cloudfront.net/static/images/markdown_templates/broadcast_information/background.jpg",
+            "brightness": 0,
+            "layout": ""
+        }
+    },
+    "custom_theme_data": {
+        "id": "6",
+        "font": "PT Sans",
+        "name": "Broadcast info",
+        "colors": {
+            "text": "#ffffff",
+            "buttonBackground": "#E9DD26",
+            "buttonText": "#4a4a4a",
+            "backgroundColor": "#282828"
+        },
+        "background": {
+            "href": "https://d3nvy39jvu7woe.cloudfront.net/static/images/markdown_templates/broadcast_information/background.jpg",
+            "brightness": 0,
+            "layout": ""
+        }
+    }
+}
+
+

Updates the specified landing page by setting the values of the parameters passed. Any parameters not provided will be left unchanged. However, the request should contain the required fields. Please refer to the Landing Page object.

+

Forms

+

Create Feedback Forms for collecting information for surveys, maarketing etc from your customers.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Attributes
id integer read only

Unique identifier of the object

title string required

Name of the Landing page

form_id integer read only

Unique identity field for Form

default boolean readonly

Indicates whether page is a default form

sms_structure object

Structure to send SMS based on Thank You screen seen

email_structure object

Structure to receive email based on Thank You screen seen

meta object readonly

meta fields for Form

url URL readonly

URL to preview the Form

form_response_count integer read only

Total number of responses received by the Form

form_type string

type of the Feedback Form

form_structure object

Complete structure of the Form

organization integer required

ID of the organization the Landing page belongs to

maintainer integer

ID of the user the Landing page is maintained by

created timestamp read only

Creation timestamp

updated timestamp read only

Updation timestamp

+

Get all Feedback Forms

curl "https://api.beaconstac.com/api/2.0/forms/"
+  -H "Authorization: Token YOUR_TOKEN"
+
+
+

The above command returns JSON structured like this:

+
+
{
+    "count": 2,
+    "next": null,
+    "previous": null,
+    "results": [
+        {
+            "id": 49958,
+            "form_structure": {
+                "id": "EN78iMBv",
+                "type": "form",
+                "logic": [
+                    {
+                        "ref": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5",
+                        "type": "field",
+                        "actions": [
+                            {
+                                "action": "add",
+                                "details": {
+                                    "value": {
+                                        "type": "constant",
+                                        "value": 1
+                                    },
+                                    "target": {
+                                        "type": "variable",
+                                        "value": "score"
+                                    }
+                                },
+                                "condition": {
+                                    "op": "is",
+                                    "vars": [
+                                        {
+                                            "type": "field",
+                                            "value": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5"
+                                        },
+                                        {
+                                            "type": "choice",
+                                            "value": "6d60fc0e-6645-4966-84d8-10b90e37960e"
+                                        }
+                                    ]
+                                }
+                            }
+                        ]
+                    },
+                    {
+                        "ref": "5a0f2b02-2302-4029-bfaf-ddb3d9446713",
+                        "type": "field",
+                        "actions": [
+                            {
+                                "action": "add",
+                                "details": {
+                                    "value": {
+                                        "type": "constant",
+                                        "value": 1
+                                    },
+                                    "target": {
+                                        "type": "variable",
+                                        "value": "score"
+                                    }
+                                },
+                                "condition": {
+                                    "op": "is",
+                                    "vars": [
+                                        {
+                                            "type": "field",
+                                            "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                        },
+                                        {
+                                            "type": "choice",
+                                            "value": "6c24ccce-a159-4cf6-866c-9cd4d3bb4650"
+                                        }
+                                    ]
+                                }
+                            },
+                            {
+                                "action": "add",
+                                "details": {
+                                    "value": {
+                                        "type": "constant",
+                                        "value": 1
+                                    },
+                                    "target": {
+                                        "type": "variable",
+                                        "value": "score"
+                                    }
+                                },
+                                "condition": {
+                                    "op": "is",
+                                    "vars": [
+                                        {
+                                            "type": "field",
+                                            "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                        },
+                                        {
+                                            "type": "choice",
+                                            "value": "cca8c5c0-7536-4e95-bd88-4444066c2a39"
+                                        }
+                                    ]
+                                }
+                            },
+                            {
+                                "action": "add",
+                                "details": {
+                                    "value": {
+                                        "type": "constant",
+                                        "value": 1
+                                    },
+                                    "target": {
+                                        "type": "variable",
+                                        "value": "score"
+                                    }
+                                },
+                                "condition": {
+                                    "op": "is",
+                                    "vars": [
+                                        {
+                                            "type": "field",
+                                            "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                        },
+                                        {
+                                            "type": "choice",
+                                            "value": "1539a61e-73d8-48cb-a04d-3a61b082d689"
+                                        }
+                                    ]
+                                }
+                            },
+                            {
+                                "action": "add",
+                                "details": {
+                                    "value": {
+                                        "type": "constant",
+                                        "value": 1
+                                    },
+                                    "target": {
+                                        "type": "variable",
+                                        "value": "score"
+                                    }
+                                },
+                                "condition": {
+                                    "op": "is",
+                                    "vars": [
+                                        {
+                                            "type": "field",
+                                            "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                        },
+                                        {
+                                            "type": "choice",
+                                            "value": "80afef6d-fb4e-4dda-a973-99e9353dbb9a"
+                                        }
+                                    ]
+                                }
+                            },
+                            {
+                                "action": "add",
+                                "details": {
+                                    "value": {
+                                        "type": "constant",
+                                        "value": 1
+                                    },
+                                    "target": {
+                                        "type": "variable",
+                                        "value": "score"
+                                    }
+                                },
+                                "condition": {
+                                    "op": "is",
+                                    "vars": [
+                                        {
+                                            "type": "field",
+                                            "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                        },
+                                        {
+                                            "type": "choice",
+                                            "value": "e4af5729-08f4-433b-9e5c-c7fbf64cba7a"
+                                        }
+                                    ]
+                                }
+                            }
+                        ]
+                    },
+                    {
+                        "ref": "ce43e9ac-2e20-4318-9a45-e2143f29c13b",
+                        "type": "field",
+                        "actions": [
+                            {
+                                "action": "add",
+                                "details": {
+                                    "value": {
+                                        "type": "constant",
+                                        "value": 1
+                                    },
+                                    "target": {
+                                        "type": "variable",
+                                        "value": "score"
+                                    }
+                                },
+                                "condition": {
+                                    "op": "is",
+                                    "vars": [
+                                        {
+                                            "type": "field",
+                                            "value": "ce43e9ac-2e20-4318-9a45-e2143f29c13b"
+                                        },
+                                        {
+                                            "type": "choice",
+                                            "value": "b7cb8a79-e557-4a3c-990c-9ac835c8c7c7"
+                                        }
+                                    ]
+                                }
+                            }
+                        ]
+                    },
+                    {
+                        "ref": "083443e3-69e4-4bd8-a84a-05e6d14dabed",
+                        "type": "field",
+                        "actions": [
+                            {
+                                "action": "add",
+                                "details": {
+                                    "value": {
+                                        "type": "constant",
+                                        "value": 1
+                                    },
+                                    "target": {
+                                        "type": "variable",
+                                        "value": "score"
+                                    }
+                                },
+                                "condition": {
+                                    "op": "is",
+                                    "vars": [
+                                        {
+                                            "type": "field",
+                                            "value": "083443e3-69e4-4bd8-a84a-05e6d14dabed"
+                                        },
+                                        {
+                                            "type": "choice",
+                                            "value": "a0d57cef-6603-45b1-9cac-eb7e6387c76a"
+                                        }
+                                    ]
+                                }
+                            }
+                        ]
+                    },
+                    {
+                        "ref": "00a0cdbb-12a2-4ce1-9e0d-806996936828",
+                        "type": "field",
+                        "actions": [
+                            {
+                                "action": "jump",
+                                "details": {
+                                    "to": {
+                                        "type": "thankyou",
+                                        "value": "f4b1a41d-c28a-4b8c-941b-a681f4c25e2b"
+                                    }
+                                },
+                                "condition": {
+                                    "op": "greater_equal_than",
+                                    "vars": [
+                                        {
+                                            "type": "variable",
+                                            "value": "score"
+                                        },
+                                        {
+                                            "type": "constant",
+                                            "value": 1
+                                        }
+                                    ]
+                                }
+                            },
+                            {
+                                "action": "jump",
+                                "details": {
+                                    "to": {
+                                        "type": "thankyou",
+                                        "value": "8778f1ad-dfed-4e46-8c82-7c537acfcb63"
+                                    }
+                                },
+                                "condition": {
+                                    "op": "always",
+                                    "vars": []
+                                }
+                            }
+                        ]
+                    }
+                ],
+                "theme": {
+                    "href": "https://api.typeform.com/themes/ZyKW7J"
+                },
+                "title": "[COVID-19] Clinics and hospitals-",
+                "_links": {
+                    "display": "https://eddypro.typeform.com/to/EN78iMBv"
+                },
+                "fields": [
+                    {
+                        "id": "LrVKT5W75DqM",
+                        "ref": "cf81e0bf-7f04-4d29-a2a2-c99b47c1cedd",
+                        "type": "statement",
+                        "title": "This self-declaration form is put together in alignment with World Health Organization's Covid-19 outbreak guidelines. \n\nKeep us informed so that we can help you stay safe in these challenging times",
+                        "properties": {
+                            "hide_marks": false,
+                            "button_text": "Continue"
+                        }
+                    },
+                    {
+                        "id": "mxq7yWTTFp2z",
+                        "ref": "bb5aa51c-e8d4-4f47-8371-3856c6dea423",
+                        "type": "email",
+                        "title": "What's your email id?",
+                        "properties": {
+                            "description": "This will help us keep you informed in the event a COVID-19 positive case is discovered in our premises"
+                        },
+                        "validations": {
+                            "required": true
+                        }
+                    },
+                    {
+                        "id": "sfcPRmbPXrBh",
+                        "ref": "ea4ee3b0-5dc3-4c66-9071-b2dde0dea41a",
+                        "type": "phone_number",
+                        "title": "What's your mobile number?",
+                        "properties": {
+                            "description": "This will help us keep you informed in the event a COVID-19 positive case is discovered in our premises",
+                            "default_country_code": "US"
+                        },
+                        "validations": {
+                            "required": true
+                        }
+                    },
+                    {
+                        "id": "Uyt2dOSfDf9b",
+                        "ref": "094fd986-95bf-4ff5-9a42-4ad25145fe11",
+                        "type": "short_text",
+                        "title": "Which doctor are you here to consult today?",
+                        "properties": {
+                            "description": "(Doctor name)"
+                        },
+                        "validations": {
+                            "required": true
+                        }
+                    },
+                    {
+                        "id": "p4Dncq4aCPFL",
+                        "ref": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5",
+                        "type": "multiple_choice",
+                        "title": "Have you travelled to an international or domestic location in the past 3 weeks?",
+                        "attachment": {
+                            "href": "https://images.typeform.com/images/fkaRQkYF6sdw",
+                            "type": "image"
+                        },
+                        "properties": {
+                            "choices": [
+                                {
+                                    "id": "jzm8UyOGAr2S",
+                                    "ref": "6d60fc0e-6645-4966-84d8-10b90e37960e",
+                                    "label": "Yes"
+                                },
+                                {
+                                    "id": "rEZWuczwNMYI",
+                                    "ref": "0e002a1c-25aa-4eae-9563-66e2fe40665a",
+                                    "label": "No"
+                                }
+                            ],
+                            "randomize": false,
+                            "allow_other_choice": false,
+                            "vertical_alignment": true,
+                            "allow_multiple_selection": false
+                        },
+                        "validations": {
+                            "required": true
+                        }
+                    },
+                    {
+                        "id": "2f0xaRAQ105b",
+                        "ref": "b99521ba-9e6f-4357-8ed5-acf6740833d7",
+                        "type": "multiple_choice",
+                        "title": "What's your gender?",
+                        "properties": {
+                            "choices": [
+                                {
+                                    "id": "oTiJkMzdNzpz",
+                                    "ref": "fe283bb3-7f06-43d1-83e8-dd48e663e904",
+                                    "label": "Male"
+                                },
+                                {
+                                    "id": "W7pPmMR0yZZ2",
+                                    "ref": "bc0f3b2e-786d-41c4-b1e1-771878288ea5",
+                                    "label": "Female"
+                                }
+                            ],
+                            "randomize": false,
+                            "allow_other_choice": false,
+                            "vertical_alignment": true,
+                            "allow_multiple_selection": false
+                        },
+                        "validations": {
+                            "required": false
+                        }
+                    },
+                    {
+                        "id": "VagUfsjqqv8M",
+                        "ref": "5a0f2b02-2302-4029-bfaf-ddb3d9446713",
+                        "type": "multiple_choice",
+                        "title": "Have you experienced any of these symptoms in the last 2 weeks?",
+                        "attachment": {
+                            "href": "https://images.typeform.com/images/Wy9iM7YpWDKf",
+                            "type": "image"
+                        },
+                        "properties": {
+                            "choices": [
+                                {
+                                    "id": "dOp0UwxhLaNp",
+                                    "ref": "6c24ccce-a159-4cf6-866c-9cd4d3bb4650",
+                                    "label": "Cold and cough"
+                                },
+                                {
+                                    "id": "myhzlcJkFZxZ",
+                                    "ref": "c7955809-de34-43df-b116-102e16c85a86",
+                                    "label": "Running nose"
+                                },
+                                {
+                                    "id": "MOJBX0LuA4MR",
+                                    "ref": "cca8c5c0-7536-4e95-bd88-4444066c2a39",
+                                    "label": "Shortness of breath"
+                                },
+                                {
+                                    "id": "zvCcGulPnG2i",
+                                    "ref": "1539a61e-73d8-48cb-a04d-3a61b082d689",
+                                    "label": "Sore throat"
+                                },
+                                {
+                                    "id": "AG5zZRIwyXAi",
+                                    "ref": "80afef6d-fb4e-4dda-a973-99e9353dbb9a",
+                                    "label": "Fever"
+                                },
+                                {
+                                    "id": "4Rh5FP3b2kPj",
+                                    "ref": "e4af5729-08f4-433b-9e5c-c7fbf64cba7a",
+                                    "label": "Unsure"
+                                },
+                                {
+                                    "id": "4WdWqbjUgfyn",
+                                    "ref": "e1b0c83f-704a-4526-be14-0b31572b84c1",
+                                    "label": "None of the above"
+                                }
+                            ],
+                            "randomize": false,
+                            "allow_other_choice": false,
+                            "vertical_alignment": true,
+                            "allow_multiple_selection": false
+                        },
+                        "validations": {
+                            "required": true
+                        }
+                    },
+                    {
+                        "id": "MGyAC20eTLxR",
+                        "ref": "ce43e9ac-2e20-4318-9a45-e2143f29c13b",
+                        "type": "multiple_choice",
+                        "title": "Do any of your family members have the above symptoms?",
+                        "attachment": {
+                            "href": "https://images.typeform.com/images/bYducJ2kQEzi",
+                            "type": "image"
+                        },
+                        "properties": {
+                            "choices": [
+                                {
+                                    "id": "Xm7HLpweaBmZ",
+                                    "ref": "b7cb8a79-e557-4a3c-990c-9ac835c8c7c7",
+                                    "label": "Yes"
+                                },
+                                {
+                                    "id": "Hus3HyZbz7Vt",
+                                    "ref": "90e2efeb-a40d-4540-a1b7-b5c0bfd177d1",
+                                    "label": "No"
+                                }
+                            ],
+                            "randomize": false,
+                            "allow_other_choice": false,
+                            "vertical_alignment": true,
+                            "allow_multiple_selection": false
+                        },
+                        "validations": {
+                            "required": true
+                        }
+                    },
+                    {
+                        "id": "bRxcw7475rQC",
+                        "ref": "083443e3-69e4-4bd8-a84a-05e6d14dabed",
+                        "type": "multiple_choice",
+                        "title": "Have you been in contact with someone with flu in the past 2 weeks?",
+                        "attachment": {
+                            "href": "https://images.typeform.com/images/QkbPABHjUrqQ",
+                            "type": "image"
+                        },
+                        "properties": {
+                            "choices": [
+                                {
+                                    "id": "WbdRVnK5smN1",
+                                    "ref": "a0d57cef-6603-45b1-9cac-eb7e6387c76a",
+                                    "label": "Yes"
+                                },
+                                {
+                                    "id": "0lOo7nJPjsSc",
+                                    "ref": "88a8788c-adcf-47ad-af25-890ae332da53",
+                                    "label": "No"
+                                },
+                                {
+                                    "id": "3oxXV0eAn4x5",
+                                    "ref": "0b3f78b9-569e-4bb1-9fb9-c62ca505f466",
+                                    "label": "Not sure"
+                                }
+                            ],
+                            "randomize": false,
+                            "allow_other_choice": false,
+                            "vertical_alignment": true,
+                            "allow_multiple_selection": false
+                        },
+                        "validations": {
+                            "required": true
+                        }
+                    },
+                    {
+                        "id": "TTsgOiIXpWfq",
+                        "ref": "00a0cdbb-12a2-4ce1-9e0d-806996936828",
+                        "type": "statement",
+                        "title": "I declare all above to be true. I am aware that I may be held liable for knowingly providing incorrect information",
+                        "properties": {
+                            "hide_marks": false,
+                            "button_text": "Continue"
+                        }
+                    }
+                ],
+                "settings": {
+                    "meta": {
+                        "allow_indexing": false
+                    },
+                    "is_trial": false,
+                    "language": "en",
+                    "is_public": true,
+                    "progress_bar": "percentage",
+                    "notifications": {
+                        "self": {
+                            "enabled": true,
+                            "message": "Your typeform {{form:title}} has a new response:\n{{form:all_answers}}\n\nTeam Beaconstac\n",
+                            "subject": "Typeform: New response for {{form:title}}",
+                            "recipients": [
+                                "hari.a+5678@mobstac.com"
+                            ]
+                        },
+                        "respondent": {
+                            "enabled": true,
+                            "message": "Hello,\nWe’ve received your submission.\n{{form:all_answers}}\nThank you & have a nice day!",
+                            "subject": "Typeform: Thank you for filling out {{form:title}}",
+                            "recipient": "{{field:bb5aa51c-e8d4-4f47-8371-3856c6dea423}}"
+                        }
+                    },
+                    "show_progress_bar": true,
+                    "are_uploads_public": false,
+                    "show_typeform_branding": false
+                },
+                "variables": {
+                    "score": 0
+                },
+                "workspace": {
+                    "href": "https://api.typeform.com/workspaces/11932656"
+                },
+                "welcome_screens": [
+                    {
+                        "id": "63wzoZe1KYAZ",
+                        "ref": "c4474bbc-156f-4e1d-b585-057bd0461eaf",
+                        "title": "We are dedicated to prevent the spread of the novel coronavirus.\n\nFill in the form to get access & enjoy a risk-free time inside!",
+                        "attachment": {
+                            "href": "https://images.typeform.com/images/ctp4n62CsDMm",
+                            "type": "image"
+                        },
+                        "properties": {
+                            "button_text": "GET STARTED",
+                            "show_button": true
+                        }
+                    }
+                ],
+                "thankyou_screens": [
+                    {
+                        "id": "Y3kFCjKvnSCW",
+                        "ref": "8778f1ad-dfed-4e46-8c82-7c537acfcb63",
+                        "title": "Present this screen at the entrance to get access",
+                        "attachment": {
+                            "href": "https://images.typeform.com/images/btDfqrgjA7wN",
+                            "type": "image"
+                        },
+                        "properties": {
+                            "button_mode": "reload",
+                            "button_text": "again",
+                            "share_icons": false,
+                            "show_button": true
+                        }
+                    },
+                    {
+                        "id": "dfF2JIC8jbHQ",
+                        "ref": "f4b1a41d-c28a-4b8c-941b-a681f4c25e2b",
+                        "title": "Based on your answers, we have a few additional queries, please speak with our representative",
+                        "attachment": {
+                            "href": "https://images.typeform.com/images/yvbArZPNmXj5",
+                            "type": "image"
+                        },
+                        "properties": {
+                            "button_mode": "reload",
+                            "button_text": "again",
+                            "share_icons": false,
+                            "show_button": true
+                        }
+                    },
+                    {
+                        "id": "DefaultTyScreen",
+                        "ref": "default_tys",
+                        "title": "Done! Your information was sent perfectly.",
+                        "properties": {
+                            "share_icons": false,
+                            "show_button": false
+                        }
+                    }
+                ]
+            },
+            "default": false,
+            "title": "[COVID-19] Clinics and hospitals-",
+            "url": "https://eddypro.typeform.com/to/EN78iMBv",
+            "form_id": "EN78iMBv",
+            "form_type": "TY",
+            "sms_structure": {},
+            "email_structure": {},
+            "meta": {},
+            "created": "2020-08-10T13:02:37.625442+05:30",
+            "updated": "2020-08-10T13:02:37.625457+05:30",
+            "organization": 15406,
+            "maintainer": null,
+            "beacons": [],
+            "form_response_count": 0
+        },
+        {
+            "id": 36089,
+            "form_structure": {
+                "id": "bDhj3L",
+                "theme": {
+                    "href": "https://api.typeform.com/themes/paovnB"
+                },
+                "title": "My First Form",
+                "_links": {
+                    "display": "https://eddypro.typeform.com/to/bDhj3L"
+                },
+                "fields": [
+                    {
+                        "id": "OSCqemyVcxLI",
+                        "ref": "short_text_1_1587465774379",
+                        "type": "short_text",
+                        "title": "Name",
+                        "validations": {
+                            "required": true
+                        }
+                    },
+                    {
+                        "id": "DE0VQqzvlzXq",
+                        "ref": "number_2_1587465774379",
+                        "type": "number",
+                        "title": "Age",
+                        "validations": {
+                            "required": false
+                        }
+                    },
+                    {
+                        "id": "cWc1GdugqN8u",
+                        "ref": "statement_3_1587465774379",
+                        "type": "statement",
+                        "title": "Bloom",
+                        "properties": {
+                            "hide_marks": false,
+                            "button_text": "Continue"
+                        }
+                    },
+                    {
+                        "id": "KNWUvR8axps7",
+                        "ref": "dropdown_4_1587465774379",
+                        "type": "dropdown",
+                        "title": "Choose one",
+                        "properties": {
+                            "choices": [
+                                {
+                                    "label": "Generic"
+                                },
+                                {
+                                    "label": "Random"
+                                },
+                                {
+                                    "label": "Unique"
+                                },
+                                {
+                                    "label": "Blah"
+                                }
+                            ],
+                            "randomize": false,
+                            "alphabetical_order": false
+                        },
+                        "validations": {
+                            "required": false
+                        }
+                    },
+                    {
+                        "id": "J4riKwVFzXVA",
+                        "ref": "website_5_1587465774379",
+                        "type": "website",
+                        "title": "Website",
+                        "properties": {
+                            "description": "your website"
+                        },
+                        "validations": {
+                            "required": false
+                        }
+                    }
+                ],
+                "settings": {
+                    "meta": {
+                        "allow_indexing": false
+                    },
+                    "is_trial": false,
+                    "language": "en",
+                    "is_public": true,
+                    "progress_bar": "percentage",
+                    "notifications": {
+                        "self": {
+                            "enabled": true,
+                            "message": "Your typeform {{form:title}} has a new response\n\n{{form:all_answers}}",
+                            "subject": "Typeform: new response for {{form:title}}",
+                            "recipients": [
+                                "hari.a+5678@mobstac.com",
+                                "hari97atri@gmail.com"
+                            ]
+                        }
+                    },
+                    "show_progress_bar": true,
+                    "show_typeform_branding": false
+                },
+                "workspace": {
+                    "href": "https://api.typeform.com/workspaces/11932656"
+                },
+                "thankyou_screens": [
+                    {
+                        "ref": "default_tys",
+                        "title": "Done! Your information was sent perfectly.",
+                        "properties": {
+                            "share_icons": false,
+                            "show_button": false
+                        }
+                    }
+                ]
+            },
+            "default": false,
+            "title": "My First Form",
+            "url": "https://eddypro.typeform.com/to/bDhj3L",
+            "form_id": "bDhj3L",
+            "form_type": "TY",
+            "sms_structure": {},
+            "email_structure": {},
+            "meta": {},
+            "created": "2020-04-21T16:10:11.337751+05:30",
+            "updated": "2020-04-21T16:12:54.996821+05:30",
+            "organization": 15406,
+            "maintainer": null,
+            "beacons": [],
+            "form_response_count": 2
+        }
+    ]
+}
+
+

Returns a list of all Feedback forms. The Forms are returned sorted by last updated.

+ +

Filter arguments:

+ +
    +
  1. title: exact, icontains
  2. +
  3. url: exact, icontains
  4. +
+ +

Search Fields:

+ +
    +
  1. title
  2. +
  3. url
  4. +
  5. form_id
  6. +
  7. form_type
  8. +
+ +

Ordering fields:

+ +
    +
  1. created
  2. +
  3. updated
  4. +
  5. url
  6. +
  7. title
  8. +
+

Retrieve a Landing Page

curl "https://api.beaconstac.com/api/2.0/markdowncards/{form_id}"
+  -H "Authorization: Token YOUR_TOKEN"
+
+
+

The above command returns JSON structured like this:

+
+
{
+    "id": 49958,
+    "form_structure": {
+        "id": "EN78iMBv",
+        "type": "form",
+        "logic": [
+            {
+                "ref": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "6d60fc0e-6645-4966-84d8-10b90e37960e"
+                                }
+                            ]
+                        }
+                    }
+                ]
+            },
+            {
+                "ref": "5a0f2b02-2302-4029-bfaf-ddb3d9446713",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "6c24ccce-a159-4cf6-866c-9cd4d3bb4650"
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "cca8c5c0-7536-4e95-bd88-4444066c2a39"
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "1539a61e-73d8-48cb-a04d-3a61b082d689"
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "80afef6d-fb4e-4dda-a973-99e9353dbb9a"
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "e4af5729-08f4-433b-9e5c-c7fbf64cba7a"
+                                }
+                            ]
+                        }
+                    }
+                ]
+            },
+            {
+                "ref": "ce43e9ac-2e20-4318-9a45-e2143f29c13b",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "ce43e9ac-2e20-4318-9a45-e2143f29c13b"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "b7cb8a79-e557-4a3c-990c-9ac835c8c7c7"
+                                }
+                            ]
+                        }
+                    }
+                ]
+            },
+            {
+                "ref": "083443e3-69e4-4bd8-a84a-05e6d14dabed",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "083443e3-69e4-4bd8-a84a-05e6d14dabed"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "a0d57cef-6603-45b1-9cac-eb7e6387c76a"
+                                }
+                            ]
+                        }
+                    }
+                ]
+            },
+            {
+                "ref": "00a0cdbb-12a2-4ce1-9e0d-806996936828",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "jump",
+                        "details": {
+                            "to": {
+                                "type": "thankyou",
+                                "value": "f4b1a41d-c28a-4b8c-941b-a681f4c25e2b"
+                            }
+                        },
+                        "condition": {
+                            "op": "greater_equal_than",
+                            "vars": [
+                                {
+                                    "type": "variable",
+                                    "value": "score"
+                                },
+                                {
+                                    "type": "constant",
+                                    "value": 1
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "jump",
+                        "details": {
+                            "to": {
+                                "type": "thankyou",
+                                "value": "8778f1ad-dfed-4e46-8c82-7c537acfcb63"
+                            }
+                        },
+                        "condition": {
+                            "op": "always",
+                            "vars": []
+                        }
+                    }
+                ]
+            }
+        ],
+        "theme": {
+            "href": "https://api.typeform.com/themes/ZyKW7J"
+        },
+        "title": "[COVID-19] Clinics and hospitals-",
+        "_links": {
+            "display": "https://eddypro.typeform.com/to/EN78iMBv"
+        },
+        "fields": [
+            {
+                "id": "LrVKT5W75DqM",
+                "ref": "cf81e0bf-7f04-4d29-a2a2-c99b47c1cedd",
+                "type": "statement",
+                "title": "This self-declaration form is put together in alignment with World Health Organization's Covid-19 outbreak guidelines. \n\nKeep us informed so that we can help you stay safe in these challenging times",
+                "properties": {
+                    "hide_marks": false,
+                    "button_text": "Continue"
+                }
+            },
+            {
+                "id": "mxq7yWTTFp2z",
+                "ref": "bb5aa51c-e8d4-4f47-8371-3856c6dea423",
+                "type": "email",
+                "title": "What's your email id?",
+                "properties": {
+                    "description": "This will help us keep you informed in the event a COVID-19 positive case is discovered in our premises"
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "sfcPRmbPXrBh",
+                "ref": "ea4ee3b0-5dc3-4c66-9071-b2dde0dea41a",
+                "type": "phone_number",
+                "title": "What's your mobile number?",
+                "properties": {
+                    "description": "This will help us keep you informed in the event a COVID-19 positive case is discovered in our premises",
+                    "default_country_code": "US"
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "Uyt2dOSfDf9b",
+                "ref": "094fd986-95bf-4ff5-9a42-4ad25145fe11",
+                "type": "short_text",
+                "title": "Which doctor are you here to consult today?",
+                "properties": {
+                    "description": "(Doctor name)"
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "p4Dncq4aCPFL",
+                "ref": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5",
+                "type": "multiple_choice",
+                "title": "Have you travelled to an international or domestic location in the past 3 weeks?",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/fkaRQkYF6sdw",
+                    "type": "image"
+                },
+                "properties": {
+                    "choices": [
+                        {
+                            "id": "jzm8UyOGAr2S",
+                            "ref": "6d60fc0e-6645-4966-84d8-10b90e37960e",
+                            "label": "Yes"
+                        },
+                        {
+                            "id": "rEZWuczwNMYI",
+                            "ref": "0e002a1c-25aa-4eae-9563-66e2fe40665a",
+                            "label": "No"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "2f0xaRAQ105b",
+                "ref": "b99521ba-9e6f-4357-8ed5-acf6740833d7",
+                "type": "multiple_choice",
+                "title": "What's your gender?",
+                "properties": {
+                    "choices": [
+                        {
+                            "id": "oTiJkMzdNzpz",
+                            "ref": "fe283bb3-7f06-43d1-83e8-dd48e663e904",
+                            "label": "Male"
+                        },
+                        {
+                            "id": "W7pPmMR0yZZ2",
+                            "ref": "bc0f3b2e-786d-41c4-b1e1-771878288ea5",
+                            "label": "Female"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": false
+                }
+            },
+            {
+                "id": "VagUfsjqqv8M",
+                "ref": "5a0f2b02-2302-4029-bfaf-ddb3d9446713",
+                "type": "multiple_choice",
+                "title": "Have you experienced any of these symptoms in the last 2 weeks?",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/Wy9iM7YpWDKf",
+                    "type": "image"
+                },
+                "properties": {
+                    "choices": [
+                        {
+                            "id": "dOp0UwxhLaNp",
+                            "ref": "6c24ccce-a159-4cf6-866c-9cd4d3bb4650",
+                            "label": "Cold and cough"
+                        },
+                        {
+                            "id": "myhzlcJkFZxZ",
+                            "ref": "c7955809-de34-43df-b116-102e16c85a86",
+                            "label": "Running nose"
+                        },
+                        {
+                            "id": "MOJBX0LuA4MR",
+                            "ref": "cca8c5c0-7536-4e95-bd88-4444066c2a39",
+                            "label": "Shortness of breath"
+                        },
+                        {
+                            "id": "zvCcGulPnG2i",
+                            "ref": "1539a61e-73d8-48cb-a04d-3a61b082d689",
+                            "label": "Sore throat"
+                        },
+                        {
+                            "id": "AG5zZRIwyXAi",
+                            "ref": "80afef6d-fb4e-4dda-a973-99e9353dbb9a",
+                            "label": "Fever"
+                        },
+                        {
+                            "id": "4Rh5FP3b2kPj",
+                            "ref": "e4af5729-08f4-433b-9e5c-c7fbf64cba7a",
+                            "label": "Unsure"
+                        },
+                        {
+                            "id": "4WdWqbjUgfyn",
+                            "ref": "e1b0c83f-704a-4526-be14-0b31572b84c1",
+                            "label": "None of the above"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "MGyAC20eTLxR",
+                "ref": "ce43e9ac-2e20-4318-9a45-e2143f29c13b",
+                "type": "multiple_choice",
+                "title": "Do any of your family members have the above symptoms?",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/bYducJ2kQEzi",
+                    "type": "image"
+                },
+                "properties": {
+                    "choices": [
+                        {
+                            "id": "Xm7HLpweaBmZ",
+                            "ref": "b7cb8a79-e557-4a3c-990c-9ac835c8c7c7",
+                            "label": "Yes"
+                        },
+                        {
+                            "id": "Hus3HyZbz7Vt",
+                            "ref": "90e2efeb-a40d-4540-a1b7-b5c0bfd177d1",
+                            "label": "No"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "bRxcw7475rQC",
+                "ref": "083443e3-69e4-4bd8-a84a-05e6d14dabed",
+                "type": "multiple_choice",
+                "title": "Have you been in contact with someone with flu in the past 2 weeks?",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/QkbPABHjUrqQ",
+                    "type": "image"
+                },
+                "properties": {
+                    "choices": [
+                        {
+                            "id": "WbdRVnK5smN1",
+                            "ref": "a0d57cef-6603-45b1-9cac-eb7e6387c76a",
+                            "label": "Yes"
+                        },
+                        {
+                            "id": "0lOo7nJPjsSc",
+                            "ref": "88a8788c-adcf-47ad-af25-890ae332da53",
+                            "label": "No"
+                        },
+                        {
+                            "id": "3oxXV0eAn4x5",
+                            "ref": "0b3f78b9-569e-4bb1-9fb9-c62ca505f466",
+                            "label": "Not sure"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "TTsgOiIXpWfq",
+                "ref": "00a0cdbb-12a2-4ce1-9e0d-806996936828",
+                "type": "statement",
+                "title": "I declare all above to be true. I am aware that I may be held liable for knowingly providing incorrect information",
+                "properties": {
+                    "hide_marks": false,
+                    "button_text": "Continue"
+                }
+            }
+        ],
+        "settings": {
+            "meta": {
+                "allow_indexing": false
+            },
+            "is_trial": false,
+            "language": "en",
+            "is_public": true,
+            "progress_bar": "percentage",
+            "notifications": {
+                "self": {
+                    "enabled": true,
+                    "message": "Your typeform {{form:title}} has a new response:\n{{form:all_answers}}\n\nTeam Beaconstac\n",
+                    "subject": "Typeform: New response for {{form:title}}",
+                    "recipients": [
+                        "hari.a+5678@mobstac.com"
+                    ]
+                },
+                "respondent": {
+                    "enabled": true,
+                    "message": "Hello,\nWe’ve received your submission.\n{{form:all_answers}}\nThank you & have a nice day!",
+                    "subject": "Typeform: Thank you for filling out {{form:title}}",
+                    "recipient": "{{field:bb5aa51c-e8d4-4f47-8371-3856c6dea423}}"
+                }
+            },
+            "show_progress_bar": true,
+            "are_uploads_public": false,
+            "show_typeform_branding": false
+        },
+        "variables": {
+            "score": 0
+        },
+        "workspace": {
+            "href": "https://api.typeform.com/workspaces/11932656"
+        },
+        "welcome_screens": [
+            {
+                "id": "63wzoZe1KYAZ",
+                "ref": "c4474bbc-156f-4e1d-b585-057bd0461eaf",
+                "title": "We are dedicated to prevent the spread of the novel coronavirus.\n\nFill in the form to get access & enjoy a risk-free time inside!",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/ctp4n62CsDMm",
+                    "type": "image"
+                },
+                "properties": {
+                    "button_text": "GET STARTED",
+                    "show_button": true
+                }
+            }
+        ],
+        "thankyou_screens": [
+            {
+                "id": "Y3kFCjKvnSCW",
+                "ref": "8778f1ad-dfed-4e46-8c82-7c537acfcb63",
+                "title": "Present this screen at the entrance to get access",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/btDfqrgjA7wN",
+                    "type": "image"
+                },
+                "properties": {
+                    "button_mode": "reload",
+                    "button_text": "again",
+                    "share_icons": false,
+                    "show_button": true
+                }
+            },
+            {
+                "id": "dfF2JIC8jbHQ",
+                "ref": "f4b1a41d-c28a-4b8c-941b-a681f4c25e2b",
+                "title": "Based on your answers, we have a few additional queries, please speak with our representative",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/yvbArZPNmXj5",
+                    "type": "image"
+                },
+                "properties": {
+                    "button_mode": "reload",
+                    "button_text": "again",
+                    "share_icons": false,
+                    "show_button": true
+                }
+            },
+            {
+                "id": "DefaultTyScreen",
+                "ref": "default_tys",
+                "title": "Done! Your information was sent perfectly.",
+                "properties": {
+                    "share_icons": false,
+                    "show_button": false
+                }
+            }
+        ]
+    },
+    "default": false,
+    "title": "[COVID-19] Clinics and hospitals-",
+    "url": "https://eddypro.typeform.com/to/EN78iMBv",
+    "form_id": "EN78iMBv",
+    "form_type": "TY",
+    "sms_structure": {},
+    "email_structure": {},
+    "meta": {},
+    "created": "2020-08-10T13:02:37.625442+05:30",
+    "updated": "2020-08-10T13:02:37.625457+05:30",
+    "organization": 15406,
+    "maintainer": null,
+    "beacons": [],
+    "form_response_count": 0
+}
+
+

Retrieves the details of an existing Feedback Form. You need only supply the unique Form identifier that was returned upon listing.

+

Create new Feedback Form

curl --location --request POST 'https://api.beaconstac.com/api/2.0/forms/' \
+--header 'Authorization: Token e00a6e1c0068b9f04ac56ca5a6b2cbd483d5fb3e' \
+--header 'Content-Type: application/json' \
+--data-raw '{
+    "form_structure": {
+        "type": "form",
+        "logic": [
+            {
+                "ref": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "6d60fc0e-6645-4966-84d8-10b90e37960e"
+                                }
+                            ]
+                        }
+                    }
+                ]
+            },
+            {
+                "ref": "5a0f2b02-2302-4029-bfaf-ddb3d9446713",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "6c24ccce-a159-4cf6-866c-9cd4d3bb4650"
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "cca8c5c0-7536-4e95-bd88-4444066c2a39"
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "1539a61e-73d8-48cb-a04d-3a61b082d689"
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "80afef6d-fb4e-4dda-a973-99e9353dbb9a"
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "e4af5729-08f4-433b-9e5c-c7fbf64cba7a"
+                                }
+                            ]
+                        }
+                    }
+                ]
+            },
+            {
+                "ref": "ce43e9ac-2e20-4318-9a45-e2143f29c13b",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "ce43e9ac-2e20-4318-9a45-e2143f29c13b"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "b7cb8a79-e557-4a3c-990c-9ac835c8c7c7"
+                                }
+                            ]
+                        }
+                    }
+                ]
+            },
+            {
+                "ref": "083443e3-69e4-4bd8-a84a-05e6d14dabed",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "083443e3-69e4-4bd8-a84a-05e6d14dabed"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "a0d57cef-6603-45b1-9cac-eb7e6387c76a"
+                                }
+                            ]
+                        }
+                    }
+                ]
+            },
+            {
+                "ref": "00a0cdbb-12a2-4ce1-9e0d-806996936828",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "jump",
+                        "details": {
+                            "to": {
+                                "type": "thankyou",
+                                "value": "f4b1a41d-c28a-4b8c-941b-a681f4c25e2b"
+                            }
+                        },
+                        "condition": {
+                            "op": "greater_equal_than",
+                            "vars": [
+                                {
+                                    "type": "variable",
+                                    "value": "score"
+                                },
+                                {
+                                    "type": "constant",
+                                    "value": 1
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "jump",
+                        "details": {
+                            "to": {
+                                "type": "thankyou",
+                                "value": "8778f1ad-dfed-4e46-8c82-7c537acfcb63"
+                            }
+                        },
+                        "condition": {
+                            "op": "always",
+                            "vars": []
+                        }
+                    }
+                ]
+            }
+        ],
+        "theme": {
+            "href": "https://api.typeform.com/themes/ZyKW7J"
+        },
+        "title": "Test Form",
+        "_links": {
+            "display": "https://eddypro.typeform.com/to/EN78iMBv"
+        },
+        "fields": [
+            {
+                "ref": "cf81e0bf-7f04-4d29-a2a2-c99b47c1cedd",
+                "type": "statement",
+                "title": "This self-declaration form is put together in alignment with World Health Organization'\''s Covid-19 outbreak guidelines. \n\nKeep us informed so that we can help you stay safe in these challenging times",
+                "properties": {
+                    "hide_marks": false,
+                    "button_text": "Continue"
+                }
+            },
+            {
+                "ref": "bb5aa51c-e8d4-4f47-8371-3856c6dea423",
+                "type": "email",
+                "title": "What'\''s your email id?",
+                "properties": {
+                    "description": "This will help us keep you informed in the event a COVID-19 positive case is discovered in our premises"
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "ref": "ea4ee3b0-5dc3-4c66-9071-b2dde0dea41a",
+                "type": "phone_number",
+                "title": "What'\''s your mobile number?",
+                "properties": {
+                    "description": "This will help us keep you informed in the event a COVID-19 positive case is discovered in our premises",
+                    "default_country_code": "US"
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "ref": "094fd986-95bf-4ff5-9a42-4ad25145fe11",
+                "type": "short_text",
+                "title": "Which doctor are you here to consult today?",
+                "properties": {
+                    "description": "(Doctor name)"
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "ref": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5",
+                "type": "multiple_choice",
+                "title": "Have you travelled to an international or domestic location in the past 3 weeks?",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/fkaRQkYF6sdw",
+                    "type": "image"
+                },
+                "properties": {
+                    "choices": [
+                        {
+                            "ref": "6d60fc0e-6645-4966-84d8-10b90e37960e",
+                            "label": "Yes"
+                        },
+                        {
+                            "ref": "0e002a1c-25aa-4eae-9563-66e2fe40665a",
+                            "label": "No"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "ref": "b99521ba-9e6f-4357-8ed5-acf6740833d7",
+                "type": "multiple_choice",
+                "title": "What'\''s your gender?",
+                "properties": {
+                    "choices": [
+                        {
+                            "ref": "fe283bb3-7f06-43d1-83e8-dd48e663e904",
+                            "label": "Male"
+                        },
+                        {
+                            "ref": "bc0f3b2e-786d-41c4-b1e1-771878288ea5",
+                            "label": "Female"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": false
+                }
+            },
+            {
+                "ref": "5a0f2b02-2302-4029-bfaf-ddb3d9446713",
+                "type": "multiple_choice",
+                "title": "Have you experienced any of these symptoms in the last 2 weeks?",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/Wy9iM7YpWDKf",
+                    "type": "image"
+                },
+                "properties": {
+                    "choices": [
+                        {
+                            "ref": "6c24ccce-a159-4cf6-866c-9cd4d3bb4650",
+                            "label": "Cold and cough"
+                        },
+                        {
+                            "ref": "c7955809-de34-43df-b116-102e16c85a86",
+                            "label": "Running nose"
+                        },
+                        {
+                            "ref": "cca8c5c0-7536-4e95-bd88-4444066c2a39",
+                            "label": "Shortness of breath"
+                        },
+                        {
+                            "ref": "1539a61e-73d8-48cb-a04d-3a61b082d689",
+                            "label": "Sore throat"
+                        },
+                        {
+                            "ref": "80afef6d-fb4e-4dda-a973-99e9353dbb9a",
+                            "label": "Fever"
+                        },
+                        {
+                            "ref": "e4af5729-08f4-433b-9e5c-c7fbf64cba7a",
+                            "label": "Unsure"
+                        },
+                        {
+                            "ref": "e1b0c83f-704a-4526-be14-0b31572b84c1",
+                            "label": "None of the above"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "ref": "ce43e9ac-2e20-4318-9a45-e2143f29c13b",
+                "type": "multiple_choice",
+                "title": "Do any of your family members have the above symptoms?",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/bYducJ2kQEzi",
+                    "type": "image"
+                },
+                "properties": {
+                    "choices": [
+                        {
+                            "ref": "b7cb8a79-e557-4a3c-990c-9ac835c8c7c7",
+                            "label": "Yes"
+                        },
+                        {
+                            "ref": "90e2efeb-a40d-4540-a1b7-b5c0bfd177d1",
+                            "label": "No"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "ref": "083443e3-69e4-4bd8-a84a-05e6d14dabed",
+                "type": "multiple_choice",
+                "title": "Have you been in contact with someone with flu in the past 2 weeks?",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/QkbPABHjUrqQ",
+                    "type": "image"
+                },
+                "properties": {
+                    "choices": [
+                        {
+                            "ref": "a0d57cef-6603-45b1-9cac-eb7e6387c76a",
+                            "label": "Yes"
+                        },
+                        {
+                            "ref": "88a8788c-adcf-47ad-af25-890ae332da53",
+                            "label": "No"
+                        },
+                        {
+                            "ref": "0b3f78b9-569e-4bb1-9fb9-c62ca505f466",
+                            "label": "Not sure"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "ref": "00a0cdbb-12a2-4ce1-9e0d-806996936828",
+                "type": "statement",
+                "title": "I declare all above to be true. I am aware that I may be held liable for knowingly providing incorrect information",
+                "properties": {
+                    "hide_marks": false,
+                    "button_text": "Continue"
+                }
+            }
+        ],
+        "settings": {
+            "meta": {
+                "allow_indexing": false
+            },
+            "is_trial": false,
+            "language": "en",
+            "is_public": true,
+            "progress_bar": "percentage",
+            "notifications": {
+                "self": {
+                    "enabled": true,
+                    "message": "Your typeform {{form:title}} has a new response:\n{{form:all_answers}}\n\nTeam Beaconstac\n",
+                    "subject": "Typeform: New response for {{form:title}}",
+                    "recipients": [
+                        "hari.a+5678@mobstac.com"
+                    ]
+                },
+                "respondent": {
+                    "enabled": true,
+                    "message": "Hello,\nWe’ve received your submission.\n{{form:all_answers}}\nThank you & have a nice day!",
+                    "subject": "Typeform: Thank you for filling out {{form:title}}",
+                    "recipient": "{{field:bb5aa51c-e8d4-4f47-8371-3856c6dea423}}"
+                }
+            },
+            "show_progress_bar": true,
+            "are_uploads_public": false,
+            "show_typeform_branding": false
+        },
+        "variables": {
+            "score": 0
+        },
+        "workspace": {
+            "href": "https://api.typeform.com/workspaces/11932656"
+        },
+        "welcome_screens": [
+            {
+                "ref": "c4474bbc-156f-4e1d-b585-057bd0461eaf",
+                "title": "We are dedicated to prevent the spread of the novel coronavirus.\n\nFill in the form to get access & enjoy a risk-free time inside!",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/ctp4n62CsDMm",
+                    "type": "image"
+                },
+                "properties": {
+                    "button_text": "GET STARTED",
+                    "show_button": true
+                }
+            }
+        ],
+        "thankyou_screens": [
+            {
+                "ref": "8778f1ad-dfed-4e46-8c82-7c537acfcb63",
+                "title": "Present this screen at the entrance to get access",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/btDfqrgjA7wN",
+                    "type": "image"
+                },
+                "properties": {
+                    "button_mode": "reload",
+                    "button_text": "again",
+                    "share_icons": false,
+                    "show_button": true
+                }
+            },
+            {
+                "ref": "f4b1a41d-c28a-4b8c-941b-a681f4c25e2b",
+                "title": "Based on your answers, we have a few additional queries, please speak with our representative",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/yvbArZPNmXj5",
+                    "type": "image"
+                },
+                "properties": {
+                    "button_mode": "reload",
+                    "button_text": "again",
+                    "share_icons": false,
+                    "show_button": true
+                }
+            },
+            {
+                "ref": "default_tys",
+                "title": "Done! Your information was sent perfectly.",
+                "properties": {
+                    "share_icons": false,
+                    "show_button": false
+                }
+            }
+        ]
+    },
+    "default": false,
+    "title": "Test Form",
+    "url": "https://eddypro.typeform.com/to/EN78iMBv",
+    "form_id": "EN78iMBv",
+    "form_type": "TY",
+    "sms_structure": {},
+    "email_structure": {},
+    "meta": {},
+    "created": "2020-08-10T13:02:37.625442+05:30",
+    "updated": "2020-08-10T13:02:37.625457+05:30",
+    "organization": 15406,
+    "beacons": [],
+    "form_response_count": 0
+}'
+
+
+

The above command returns JSON structured like this:

+
+
{
+    "id": 54024,
+    "form_structure": {
+        "id": "jLMqrBWb",
+        "type": "form",
+        "logic": [
+            {
+                "ref": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "6d60fc0e-6645-4966-84d8-10b90e37960e"
+                                }
+                            ]
+                        }
+                    }
+                ]
+            },
+            {
+                "ref": "5a0f2b02-2302-4029-bfaf-ddb3d9446713",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "6c24ccce-a159-4cf6-866c-9cd4d3bb4650"
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "cca8c5c0-7536-4e95-bd88-4444066c2a39"
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "1539a61e-73d8-48cb-a04d-3a61b082d689"
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "80afef6d-fb4e-4dda-a973-99e9353dbb9a"
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "e4af5729-08f4-433b-9e5c-c7fbf64cba7a"
+                                }
+                            ]
+                        }
+                    }
+                ]
+            },
+            {
+                "ref": "ce43e9ac-2e20-4318-9a45-e2143f29c13b",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "ce43e9ac-2e20-4318-9a45-e2143f29c13b"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "b7cb8a79-e557-4a3c-990c-9ac835c8c7c7"
+                                }
+                            ]
+                        }
+                    }
+                ]
+            },
+            {
+                "ref": "083443e3-69e4-4bd8-a84a-05e6d14dabed",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "083443e3-69e4-4bd8-a84a-05e6d14dabed"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "a0d57cef-6603-45b1-9cac-eb7e6387c76a"
+                                }
+                            ]
+                        }
+                    }
+                ]
+            },
+            {
+                "ref": "00a0cdbb-12a2-4ce1-9e0d-806996936828",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "jump",
+                        "details": {
+                            "to": {
+                                "type": "thankyou",
+                                "value": "f4b1a41d-c28a-4b8c-941b-a681f4c25e2b"
+                            }
+                        },
+                        "condition": {
+                            "op": "greater_equal_than",
+                            "vars": [
+                                {
+                                    "type": "variable",
+                                    "value": "score"
+                                },
+                                {
+                                    "type": "constant",
+                                    "value": 1
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "jump",
+                        "details": {
+                            "to": {
+                                "type": "thankyou",
+                                "value": "8778f1ad-dfed-4e46-8c82-7c537acfcb63"
+                            }
+                        },
+                        "condition": {
+                            "op": "always",
+                            "vars": []
+                        }
+                    }
+                ]
+            }
+        ],
+        "theme": {
+            "href": "https://api.typeform.com/themes/ZyKW7J"
+        },
+        "title": "Test Form",
+        "_links": {
+            "display": "https://eddypro.typeform.com/to/jLMqrBWb"
+        },
+        "fields": [
+            {
+                "id": "iujQmehHWkpv",
+                "ref": "cf81e0bf-7f04-4d29-a2a2-c99b47c1cedd",
+                "type": "statement",
+                "title": "This self-declaration form is put together in alignment with World Health Organization's Covid-19 outbreak guidelines. \n\nKeep us informed so that we can help you stay safe in these challenging times",
+                "properties": {
+                    "hide_marks": false,
+                    "button_text": "Continue"
+                }
+            },
+            {
+                "id": "I7nuPFZhjE1K",
+                "ref": "bb5aa51c-e8d4-4f47-8371-3856c6dea423",
+                "type": "email",
+                "title": "What's your email id?",
+                "properties": {
+                    "description": "This will help us keep you informed in the event a COVID-19 positive case is discovered in our premises"
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "hJseJYIAeZEI",
+                "ref": "ea4ee3b0-5dc3-4c66-9071-b2dde0dea41a",
+                "type": "phone_number",
+                "title": "What's your mobile number?",
+                "properties": {
+                    "description": "This will help us keep you informed in the event a COVID-19 positive case is discovered in our premises",
+                    "default_country_code": "US"
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "dTLRFH28YFK2",
+                "ref": "094fd986-95bf-4ff5-9a42-4ad25145fe11",
+                "type": "short_text",
+                "title": "Which doctor are you here to consult today?",
+                "properties": {
+                    "description": "(Doctor name)"
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "EbrryKpXStuY",
+                "ref": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5",
+                "type": "multiple_choice",
+                "title": "Have you travelled to an international or domestic location in the past 3 weeks?",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/r2CKCdiPMd9V",
+                    "type": "image"
+                },
+                "properties": {
+                    "choices": [
+                        {
+                            "id": "ohcRUpEmwijj",
+                            "ref": "6d60fc0e-6645-4966-84d8-10b90e37960e",
+                            "label": "Yes"
+                        },
+                        {
+                            "id": "hpka5skZ1nIr",
+                            "ref": "0e002a1c-25aa-4eae-9563-66e2fe40665a",
+                            "label": "No"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "KH9u7f7VFoTV",
+                "ref": "b99521ba-9e6f-4357-8ed5-acf6740833d7",
+                "type": "multiple_choice",
+                "title": "What's your gender?",
+                "properties": {
+                    "choices": [
+                        {
+                            "id": "360nrWWKRZnJ",
+                            "ref": "fe283bb3-7f06-43d1-83e8-dd48e663e904",
+                            "label": "Male"
+                        },
+                        {
+                            "id": "TMEsbKqUfsak",
+                            "ref": "bc0f3b2e-786d-41c4-b1e1-771878288ea5",
+                            "label": "Female"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": false
+                }
+            },
+            {
+                "id": "OqjVKoTyVFDu",
+                "ref": "5a0f2b02-2302-4029-bfaf-ddb3d9446713",
+                "type": "multiple_choice",
+                "title": "Have you experienced any of these symptoms in the last 2 weeks?",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/yRu69EkHMZNg",
+                    "type": "image"
+                },
+                "properties": {
+                    "choices": [
+                        {
+                            "id": "WhzCOEpomwRb",
+                            "ref": "6c24ccce-a159-4cf6-866c-9cd4d3bb4650",
+                            "label": "Cold and cough"
+                        },
+                        {
+                            "id": "gcM6gKsyLxf8",
+                            "ref": "c7955809-de34-43df-b116-102e16c85a86",
+                            "label": "Running nose"
+                        },
+                        {
+                            "id": "zU9elRGay8F9",
+                            "ref": "cca8c5c0-7536-4e95-bd88-4444066c2a39",
+                            "label": "Shortness of breath"
+                        },
+                        {
+                            "id": "kLKdXzrGoC3N",
+                            "ref": "1539a61e-73d8-48cb-a04d-3a61b082d689",
+                            "label": "Sore throat"
+                        },
+                        {
+                            "id": "FXddbPLMtE1a",
+                            "ref": "80afef6d-fb4e-4dda-a973-99e9353dbb9a",
+                            "label": "Fever"
+                        },
+                        {
+                            "id": "b14kG1ZtduJz",
+                            "ref": "e4af5729-08f4-433b-9e5c-c7fbf64cba7a",
+                            "label": "Unsure"
+                        },
+                        {
+                            "id": "cax9N9NoPPuw",
+                            "ref": "e1b0c83f-704a-4526-be14-0b31572b84c1",
+                            "label": "None of the above"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "ETpJlnONBDGJ",
+                "ref": "ce43e9ac-2e20-4318-9a45-e2143f29c13b",
+                "type": "multiple_choice",
+                "title": "Do any of your family members have the above symptoms?",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/8CBTm5GvHrww",
+                    "type": "image"
+                },
+                "properties": {
+                    "choices": [
+                        {
+                            "id": "5Rn7zBmmPNHd",
+                            "ref": "b7cb8a79-e557-4a3c-990c-9ac835c8c7c7",
+                            "label": "Yes"
+                        },
+                        {
+                            "id": "YcK1JVDjXohR",
+                            "ref": "90e2efeb-a40d-4540-a1b7-b5c0bfd177d1",
+                            "label": "No"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "GZykpXs0OZ5P",
+                "ref": "083443e3-69e4-4bd8-a84a-05e6d14dabed",
+                "type": "multiple_choice",
+                "title": "Have you been in contact with someone with flu in the past 2 weeks?",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/dUh7kZPXXGvc",
+                    "type": "image"
+                },
+                "properties": {
+                    "choices": [
+                        {
+                            "id": "annon5z1FXhZ",
+                            "ref": "a0d57cef-6603-45b1-9cac-eb7e6387c76a",
+                            "label": "Yes"
+                        },
+                        {
+                            "id": "2FUSodzYL2A5",
+                            "ref": "88a8788c-adcf-47ad-af25-890ae332da53",
+                            "label": "No"
+                        },
+                        {
+                            "id": "nb2bUDb9uTvz",
+                            "ref": "0b3f78b9-569e-4bb1-9fb9-c62ca505f466",
+                            "label": "Not sure"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "jLVj77j8yzTP",
+                "ref": "00a0cdbb-12a2-4ce1-9e0d-806996936828",
+                "type": "statement",
+                "title": "I declare all above to be true. I am aware that I may be held liable for knowingly providing incorrect information",
+                "properties": {
+                    "hide_marks": false,
+                    "button_text": "Continue"
+                }
+            }
+        ],
+        "settings": {
+            "meta": {
+                "allow_indexing": false
+            },
+            "is_trial": false,
+            "language": "en",
+            "is_public": true,
+            "progress_bar": "percentage",
+            "notifications": {
+                "self": {
+                    "enabled": true,
+                    "message": "Your typeform {{form:title}} has a new response:\n{{form:all_answers}}\n\nTeam Beaconstac\n",
+                    "subject": "Typeform: New response for {{form:title}}",
+                    "recipients": [
+                        "hari.a+5678@mobstac.com"
+                    ]
+                },
+                "respondent": {
+                    "enabled": true,
+                    "message": "Hello,\nWe’ve received your submission.\n{{form:all_answers}}\nThank you & have a nice day!",
+                    "subject": "Typeform: Thank you for filling out {{form:title}}",
+                    "recipient": "{{field:bb5aa51c-e8d4-4f47-8371-3856c6dea423}}"
+                }
+            },
+            "show_progress_bar": true,
+            "are_uploads_public": false,
+            "show_time_to_complete": true,
+            "show_typeform_branding": false
+        },
+        "variables": {
+            "score": 0
+        },
+        "workspace": {
+            "href": "https://api.typeform.com/workspaces/11932656"
+        },
+        "welcome_screens": [
+            {
+                "id": "fj9xH9ygOieI",
+                "ref": "c4474bbc-156f-4e1d-b585-057bd0461eaf",
+                "title": "We are dedicated to prevent the spread of the novel coronavirus.\n\nFill in the form to get access & enjoy a risk-free time inside!",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/d32SKu3vqLBg",
+                    "type": "image"
+                },
+                "properties": {
+                    "button_text": "GET STARTED",
+                    "show_button": true
+                }
+            }
+        ],
+        "thankyou_screens": [
+            {
+                "id": "LIe8AepMKkEW",
+                "ref": "8778f1ad-dfed-4e46-8c82-7c537acfcb63",
+                "title": "Present this screen at the entrance to get access",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/XEgYmdcrYX3p",
+                    "type": "image"
+                },
+                "properties": {
+                    "button_mode": "reload",
+                    "button_text": "again",
+                    "share_icons": false,
+                    "show_button": true
+                }
+            },
+            {
+                "id": "YJ9uZJcxDxum",
+                "ref": "f4b1a41d-c28a-4b8c-941b-a681f4c25e2b",
+                "title": "Based on your answers, we have a few additional queries, please speak with our representative",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/pT3fchZA2qfi",
+                    "type": "image"
+                },
+                "properties": {
+                    "button_mode": "reload",
+                    "button_text": "again",
+                    "share_icons": false,
+                    "show_button": true
+                }
+            },
+            {
+                "id": "DefaultTyScreen",
+                "ref": "default_tys",
+                "title": "Done! Your information was sent perfectly.",
+                "properties": {
+                    "share_icons": false,
+                    "show_button": false
+                }
+            }
+        ]
+    },
+    "default": false,
+    "title": "Test Form",
+    "url": "https://eddypro.typeform.com/to/jLMqrBWb",
+    "form_id": "jLMqrBWb",
+    "form_type": "TY",
+    "sms_structure": {},
+    "email_structure": {},
+    "meta": {
+        "creator_id": 15189,
+        "updater_id": 15189,
+        "creator_email": "hari.a+5678@mobstac.com",
+        "updater_email": "hari.a+5678@mobstac.com"
+    },
+    "created": "2020-11-06T16:45:21.449705+05:30",
+    "updated": "2020-11-06T16:45:21.457306+05:30",
+    "organization": 15406,
+    "maintainer": 15189,
+    "beacons": [],
+    "form_response_count": 0
+}
+
+

Create Feedback Form in your account.

+

Update Landing Page

curl "https://api.beaconstac.com/api/2.0/formss/{form_id}"
+  -X PUT
+  -H "Authorization: Token YOUR_TOKEN"
+  -d "{'id':form_id, 'title':'new title'"
+
+
+

The above command returns JSON structured like this:

+
+
{
+    "id": 54024,
+    "form_structure": {
+        "id": "jLMqrBWb",
+        "type": "form",
+        "logic": [
+            {
+                "ref": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "6d60fc0e-6645-4966-84d8-10b90e37960e"
+                                }
+                            ]
+                        }
+                    }
+                ]
+            },
+            {
+                "ref": "5a0f2b02-2302-4029-bfaf-ddb3d9446713",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "6c24ccce-a159-4cf6-866c-9cd4d3bb4650"
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "cca8c5c0-7536-4e95-bd88-4444066c2a39"
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "1539a61e-73d8-48cb-a04d-3a61b082d689"
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "80afef6d-fb4e-4dda-a973-99e9353dbb9a"
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "5a0f2b02-2302-4029-bfaf-ddb3d9446713"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "e4af5729-08f4-433b-9e5c-c7fbf64cba7a"
+                                }
+                            ]
+                        }
+                    }
+                ]
+            },
+            {
+                "ref": "ce43e9ac-2e20-4318-9a45-e2143f29c13b",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "ce43e9ac-2e20-4318-9a45-e2143f29c13b"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "b7cb8a79-e557-4a3c-990c-9ac835c8c7c7"
+                                }
+                            ]
+                        }
+                    }
+                ]
+            },
+            {
+                "ref": "083443e3-69e4-4bd8-a84a-05e6d14dabed",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "add",
+                        "details": {
+                            "value": {
+                                "type": "constant",
+                                "value": 1
+                            },
+                            "target": {
+                                "type": "variable",
+                                "value": "score"
+                            }
+                        },
+                        "condition": {
+                            "op": "is",
+                            "vars": [
+                                {
+                                    "type": "field",
+                                    "value": "083443e3-69e4-4bd8-a84a-05e6d14dabed"
+                                },
+                                {
+                                    "type": "choice",
+                                    "value": "a0d57cef-6603-45b1-9cac-eb7e6387c76a"
+                                }
+                            ]
+                        }
+                    }
+                ]
+            },
+            {
+                "ref": "00a0cdbb-12a2-4ce1-9e0d-806996936828",
+                "type": "field",
+                "actions": [
+                    {
+                        "action": "jump",
+                        "details": {
+                            "to": {
+                                "type": "thankyou",
+                                "value": "f4b1a41d-c28a-4b8c-941b-a681f4c25e2b"
+                            }
+                        },
+                        "condition": {
+                            "op": "greater_equal_than",
+                            "vars": [
+                                {
+                                    "type": "variable",
+                                    "value": "score"
+                                },
+                                {
+                                    "type": "constant",
+                                    "value": 1
+                                }
+                            ]
+                        }
+                    },
+                    {
+                        "action": "jump",
+                        "details": {
+                            "to": {
+                                "type": "thankyou",
+                                "value": "8778f1ad-dfed-4e46-8c82-7c537acfcb63"
+                            }
+                        },
+                        "condition": {
+                            "op": "always",
+                            "vars": []
+                        }
+                    }
+                ]
+            }
+        ],
+        "theme": {
+            "href": "https://api.typeform.com/themes/ZyKW7J"
+        },
+        "title": "Test Form",
+        "_links": {
+            "display": "https://eddypro.typeform.com/to/jLMqrBWb"
+        },
+        "fields": [
+            {
+                "id": "iujQmehHWkpv",
+                "ref": "cf81e0bf-7f04-4d29-a2a2-c99b47c1cedd",
+                "type": "statement",
+                "title": "This self-declaration form is put together in alignment with World Health Organization's Covid-19 outbreak guidelines. \n\nKeep us informed so that we can help you stay safe in these challenging times",
+                "properties": {
+                    "hide_marks": false,
+                    "button_text": "Continue"
+                }
+            },
+            {
+                "id": "I7nuPFZhjE1K",
+                "ref": "bb5aa51c-e8d4-4f47-8371-3856c6dea423",
+                "type": "email",
+                "title": "What's your email id?",
+                "properties": {
+                    "description": "This will help us keep you informed in the event a COVID-19 positive case is discovered in our premises"
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "hJseJYIAeZEI",
+                "ref": "ea4ee3b0-5dc3-4c66-9071-b2dde0dea41a",
+                "type": "phone_number",
+                "title": "What's your mobile number?",
+                "properties": {
+                    "description": "This will help us keep you informed in the event a COVID-19 positive case is discovered in our premises",
+                    "default_country_code": "US"
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "dTLRFH28YFK2",
+                "ref": "094fd986-95bf-4ff5-9a42-4ad25145fe11",
+                "type": "short_text",
+                "title": "Which doctor are you here to consult today?",
+                "properties": {
+                    "description": "(Doctor name)"
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "EbrryKpXStuY",
+                "ref": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5",
+                "type": "multiple_choice",
+                "title": "Have you travelled to an international or domestic location in the past 3 weeks?",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/r2CKCdiPMd9V",
+                    "type": "image"
+                },
+                "properties": {
+                    "choices": [
+                        {
+                            "id": "ohcRUpEmwijj",
+                            "ref": "6d60fc0e-6645-4966-84d8-10b90e37960e",
+                            "label": "Yes"
+                        },
+                        {
+                            "id": "hpka5skZ1nIr",
+                            "ref": "0e002a1c-25aa-4eae-9563-66e2fe40665a",
+                            "label": "No"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "KH9u7f7VFoTV",
+                "ref": "b99521ba-9e6f-4357-8ed5-acf6740833d7",
+                "type": "multiple_choice",
+                "title": "What's your gender?",
+                "properties": {
+                    "choices": [
+                        {
+                            "id": "360nrWWKRZnJ",
+                            "ref": "fe283bb3-7f06-43d1-83e8-dd48e663e904",
+                            "label": "Male"
+                        },
+                        {
+                            "id": "TMEsbKqUfsak",
+                            "ref": "bc0f3b2e-786d-41c4-b1e1-771878288ea5",
+                            "label": "Female"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": false
+                }
+            },
+            {
+                "id": "OqjVKoTyVFDu",
+                "ref": "5a0f2b02-2302-4029-bfaf-ddb3d9446713",
+                "type": "multiple_choice",
+                "title": "Have you experienced any of these symptoms in the last 2 weeks?",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/yRu69EkHMZNg",
+                    "type": "image"
+                },
+                "properties": {
+                    "choices": [
+                        {
+                            "id": "WhzCOEpomwRb",
+                            "ref": "6c24ccce-a159-4cf6-866c-9cd4d3bb4650",
+                            "label": "Cold and cough"
+                        },
+                        {
+                            "id": "gcM6gKsyLxf8",
+                            "ref": "c7955809-de34-43df-b116-102e16c85a86",
+                            "label": "Running nose"
+                        },
+                        {
+                            "id": "zU9elRGay8F9",
+                            "ref": "cca8c5c0-7536-4e95-bd88-4444066c2a39",
+                            "label": "Shortness of breath"
+                        },
+                        {
+                            "id": "kLKdXzrGoC3N",
+                            "ref": "1539a61e-73d8-48cb-a04d-3a61b082d689",
+                            "label": "Sore throat"
+                        },
+                        {
+                            "id": "FXddbPLMtE1a",
+                            "ref": "80afef6d-fb4e-4dda-a973-99e9353dbb9a",
+                            "label": "Fever"
+                        },
+                        {
+                            "id": "b14kG1ZtduJz",
+                            "ref": "e4af5729-08f4-433b-9e5c-c7fbf64cba7a",
+                            "label": "Unsure"
+                        },
+                        {
+                            "id": "cax9N9NoPPuw",
+                            "ref": "e1b0c83f-704a-4526-be14-0b31572b84c1",
+                            "label": "None of the above"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "ETpJlnONBDGJ",
+                "ref": "ce43e9ac-2e20-4318-9a45-e2143f29c13b",
+                "type": "multiple_choice",
+                "title": "Do any of your family members have the above symptoms?",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/8CBTm5GvHrww",
+                    "type": "image"
+                },
+                "properties": {
+                    "choices": [
+                        {
+                            "id": "5Rn7zBmmPNHd",
+                            "ref": "b7cb8a79-e557-4a3c-990c-9ac835c8c7c7",
+                            "label": "Yes"
+                        },
+                        {
+                            "id": "YcK1JVDjXohR",
+                            "ref": "90e2efeb-a40d-4540-a1b7-b5c0bfd177d1",
+                            "label": "No"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "GZykpXs0OZ5P",
+                "ref": "083443e3-69e4-4bd8-a84a-05e6d14dabed",
+                "type": "multiple_choice",
+                "title": "Have you been in contact with someone with flu in the past 2 weeks?",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/dUh7kZPXXGvc",
+                    "type": "image"
+                },
+                "properties": {
+                    "choices": [
+                        {
+                            "id": "annon5z1FXhZ",
+                            "ref": "a0d57cef-6603-45b1-9cac-eb7e6387c76a",
+                            "label": "Yes"
+                        },
+                        {
+                            "id": "2FUSodzYL2A5",
+                            "ref": "88a8788c-adcf-47ad-af25-890ae332da53",
+                            "label": "No"
+                        },
+                        {
+                            "id": "nb2bUDb9uTvz",
+                            "ref": "0b3f78b9-569e-4bb1-9fb9-c62ca505f466",
+                            "label": "Not sure"
+                        }
+                    ],
+                    "randomize": false,
+                    "allow_other_choice": false,
+                    "vertical_alignment": true,
+                    "allow_multiple_selection": false
+                },
+                "validations": {
+                    "required": true
+                }
+            },
+            {
+                "id": "jLVj77j8yzTP",
+                "ref": "00a0cdbb-12a2-4ce1-9e0d-806996936828",
+                "type": "statement",
+                "title": "I declare all above to be true. I am aware that I may be held liable for knowingly providing incorrect information",
+                "properties": {
+                    "hide_marks": false,
+                    "button_text": "Continue"
+                }
+            }
+        ],
+        "settings": {
+            "meta": {
+                "allow_indexing": false
+            },
+            "is_trial": false,
+            "language": "en",
+            "is_public": true,
+            "progress_bar": "percentage",
+            "notifications": {
+                "self": {
+                    "enabled": true,
+                    "message": "Your typeform {{form:title}} has a new response:\n{{form:all_answers}}\n\nTeam Beaconstac\n",
+                    "subject": "Typeform: New response for {{form:title}}",
+                    "recipients": [
+                        "hari.a+5678@mobstac.com"
+                    ]
+                },
+                "respondent": {
+                    "enabled": true,
+                    "message": "Hello,\nWe’ve received your submission.\n{{form:all_answers}}\nThank you & have a nice day!",
+                    "subject": "Typeform: Thank you for filling out {{form:title}}",
+                    "recipient": "{{field:bb5aa51c-e8d4-4f47-8371-3856c6dea423}}"
+                }
+            },
+            "show_progress_bar": true,
+            "are_uploads_public": false,
+            "show_time_to_complete": true,
+            "show_typeform_branding": false
+        },
+        "variables": {
+            "score": 0
+        },
+        "workspace": {
+            "href": "https://api.typeform.com/workspaces/11932656"
+        },
+        "welcome_screens": [
+            {
+                "id": "fj9xH9ygOieI",
+                "ref": "c4474bbc-156f-4e1d-b585-057bd0461eaf",
+                "title": "We are dedicated to prevent the spread of the novel coronavirus.\n\nFill in the form to get access & enjoy a risk-free time inside!",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/d32SKu3vqLBg",
+                    "type": "image"
+                },
+                "properties": {
+                    "button_text": "GET STARTED",
+                    "show_button": true
+                }
+            }
+        ],
+        "thankyou_screens": [
+            {
+                "id": "LIe8AepMKkEW",
+                "ref": "8778f1ad-dfed-4e46-8c82-7c537acfcb63",
+                "title": "Present this screen at the entrance to get access",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/XEgYmdcrYX3p",
+                    "type": "image"
+                },
+                "properties": {
+                    "button_mode": "reload",
+                    "button_text": "again",
+                    "share_icons": false,
+                    "show_button": true
+                }
+            },
+            {
+                "id": "YJ9uZJcxDxum",
+                "ref": "f4b1a41d-c28a-4b8c-941b-a681f4c25e2b",
+                "title": "Based on your answers, we have a few additional queries, please speak with our representative",
+                "attachment": {
+                    "href": "https://images.typeform.com/images/pT3fchZA2qfi",
+                    "type": "image"
+                },
+                "properties": {
+                    "button_mode": "reload",
+                    "button_text": "again",
+                    "share_icons": false,
+                    "show_button": true
+                }
+            },
+            {
+                "id": "DefaultTyScreen",
+                "ref": "default_tys",
+                "title": "Done! Your information was sent perfectly.",
+                "properties": {
+                    "share_icons": false,
+                    "show_button": false
+                }
+            }
+        ]
+    },
+    "default": false,
+    "title": "Test Form",
+    "url": "https://eddypro.typeform.com/to/jLMqrBWb",
+    "form_id": "jLMqrBWb",
+    "form_type": "TY",
+    "sms_structure": {},
+    "email_structure": {},
+    "meta": {
+        "creator_id": 15189,
+        "updater_id": 15189,
+        "creator_email": "hari.a+5678@mobstac.com",
+        "updater_email": "hari.a+5678@mobstac.com"
+    },
+    "created": "2020-11-06T16:45:21.449705+05:30",
+    "updated": "2020-11-06T16:45:21.457306+05:30",
+    "organization": 15406,
+    "maintainer": 15189,
+    "beacons": [],
+    "form_response_count": 0
+}
+
+

Updates the specified Feedback Form by setting the values of the parameters passed. Any parameters not provided will be left unchanged. However, the request should contain the required fields. Please refer to the Landing Page object.

+

Get Form responses

curl --location --request GET 'https://api.beaconstac.com/api/2.0/forms/{form_id}/responses/?page_size={responses_per_page}&since={start_timestamp}&until={end_timestamp}&timezone={timezone}&organization={organization_id}' \
+--header 'Authorization: Token YOUR_TOKEN'
+
+
+

The above command returns JSON structured like this:

+
+
{
+    "count": 3,
+    "previous": null,
+    "next": "https://api.beaconstac.com/api/2.0/forms/54024/responses/?page_size=2&since=1587468650975&until=1604687400000&timezone=Asia%2FKolkata&organization=15406&before=5h7knpm1q0dqd5h70p1k2w7x274jil0b",
+    "results": [
+        {
+            "landing_id": "t7dbyzr0sinwnkqm35sxt7degyy1ka7r",
+            "token": "t7dbyzr0sinwnkqm35sxt7degyy1ka7r",
+            "response_id": "t7dbyzr0sinwnkqm35sxt7degyy1ka7r",
+            "landed_at": "2020-11-06T11:41:55Z",
+            "submitted_at": "2020-11-06T11:42:46Z",
+            "metadata": {
+                "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:82.0) Gecko/20100101 Firefox/82.0",
+                "platform": "other",
+                "referer": "https://eddypro.typeform.com/to/jLMqrBWb?typeform-embed=embed-fullpage",
+                "network_id": "61c96e4853",
+                "browser": "default"
+            },
+            "hidden": {},
+            "calculated": {
+                "score": 0
+            },
+            "answers": [
+                {
+                    "field": {
+                        "id": "I7nuPFZhjE1K",
+                        "ref": "bb5aa51c-e8d4-4f47-8371-3856c6dea423",
+                        "type": "email"
+                    },
+                    "type": "email",
+                    "email": "qwerty@mobstac.com"
+                },
+                {
+                    "field": {
+                        "id": "hJseJYIAeZEI",
+                        "ref": "ea4ee3b0-5dc3-4c66-9071-b2dde0dea41a",
+                        "type": "phone_number"
+                    },
+                    "type": "phone_number",
+                    "phone_number": "+919876543210"
+                },
+                {
+                    "field": {
+                        "id": "dTLRFH28YFK2",
+                        "ref": "094fd986-95bf-4ff5-9a42-4ad25145fe11",
+                        "type": "short_text"
+                    },
+                    "type": "text",
+                    "text": "Qwerty"
+                },
+                {
+                    "field": {
+                        "id": "EbrryKpXStuY",
+                        "ref": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5",
+                        "type": "multiple_choice"
+                    },
+                    "type": "choice",
+                    "choice": {
+                        "id": "hpka5skZ1nIr",
+                        "label": "No"
+                    }
+                },
+                {
+                    "field": {
+                        "id": "KH9u7f7VFoTV",
+                        "ref": "b99521ba-9e6f-4357-8ed5-acf6740833d7",
+                        "type": "multiple_choice"
+                    },
+                    "type": "choice",
+                    "choice": {
+                        "id": "TMEsbKqUfsak",
+                        "label": "Female"
+                    }
+                },
+                {
+                    "field": {
+                        "id": "OqjVKoTyVFDu",
+                        "ref": "5a0f2b02-2302-4029-bfaf-ddb3d9446713",
+                        "type": "multiple_choice"
+                    },
+                    "type": "choice",
+                    "choice": {
+                        "id": "cax9N9NoPPuw",
+                        "label": "None of the above"
+                    }
+                },
+                {
+                    "field": {
+                        "id": "ETpJlnONBDGJ",
+                        "ref": "ce43e9ac-2e20-4318-9a45-e2143f29c13b",
+                        "type": "multiple_choice"
+                    },
+                    "type": "choice",
+                    "choice": {
+                        "id": "YcK1JVDjXohR",
+                        "label": "No"
+                    }
+                },
+                {
+                    "field": {
+                        "id": "GZykpXs0OZ5P",
+                        "ref": "083443e3-69e4-4bd8-a84a-05e6d14dabed",
+                        "type": "multiple_choice"
+                    },
+                    "type": "choice",
+                    "choice": {
+                        "id": "2FUSodzYL2A5",
+                        "label": "No"
+                    }
+                }
+            ],
+            "variables": [
+                {
+                    "key": "score",
+                    "type": "number",
+                    "number": 0
+                }
+            ]
+        },
+        {
+            "landing_id": "5h7knpm1q0dqd5h70p1k2w7x274jil0b",
+            "token": "5h7knpm1q0dqd5h70p1k2w7x274jil0b",
+            "response_id": "5h7knpm1q0dqd5h70p1k2w7x274jil0b",
+            "landed_at": "2020-11-06T11:40:22Z",
+            "submitted_at": "2020-11-06T11:41:47Z",
+            "metadata": {
+                "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:82.0) Gecko/20100101 Firefox/82.0",
+                "platform": "other",
+                "referer": "https://eddypro.typeform.com/to/jLMqrBWb?typeform-embed=embed-fullpage",
+                "network_id": "61c96e4853",
+                "browser": "default"
+            },
+            "hidden": {},
+            "calculated": {
+                "score": 2
+            },
+            "answers": [
+                {
+                    "field": {
+                        "id": "I7nuPFZhjE1K",
+                        "ref": "bb5aa51c-e8d4-4f47-8371-3856c6dea423",
+                        "type": "email"
+                    },
+                    "type": "email",
+                    "email": "test@beaconstac.com"
+                },
+                {
+                    "field": {
+                        "id": "hJseJYIAeZEI",
+                        "ref": "ea4ee3b0-5dc3-4c66-9071-b2dde0dea41a",
+                        "type": "phone_number"
+                    },
+                    "type": "phone_number",
+                    "phone_number": "+914321567890"
+                },
+                {
+                    "field": {
+                        "id": "dTLRFH28YFK2",
+                        "ref": "094fd986-95bf-4ff5-9a42-4ad25145fe11",
+                        "type": "short_text"
+                    },
+                    "type": "text",
+                    "text": "Test"
+                },
+                {
+                    "field": {
+                        "id": "EbrryKpXStuY",
+                        "ref": "5e18502f-3a4e-4894-9f03-dce6d78e0bb5",
+                        "type": "multiple_choice"
+                    },
+                    "type": "choice",
+                    "choice": {
+                        "id": "hpka5skZ1nIr",
+                        "label": "No"
+                    }
+                },
+                {
+                    "field": {
+                        "id": "KH9u7f7VFoTV",
+                        "ref": "b99521ba-9e6f-4357-8ed5-acf6740833d7",
+                        "type": "multiple_choice"
+                    },
+                    "type": "choice",
+                    "choice": {
+                        "id": "TMEsbKqUfsak",
+                        "label": "Female"
+                    }
+                },
+                {
+                    "field": {
+                        "id": "OqjVKoTyVFDu",
+                        "ref": "5a0f2b02-2302-4029-bfaf-ddb3d9446713",
+                        "type": "multiple_choice"
+                    },
+                    "type": "choice",
+                    "choice": {
+                        "id": "WhzCOEpomwRb",
+                        "label": "Cold and cough"
+                    }
+                },
+                {
+                    "field": {
+                        "id": "ETpJlnONBDGJ",
+                        "ref": "ce43e9ac-2e20-4318-9a45-e2143f29c13b",
+                        "type": "multiple_choice"
+                    },
+                    "type": "choice",
+                    "choice": {
+                        "id": "5Rn7zBmmPNHd",
+                        "label": "Yes"
+                    }
+                },
+                {
+                    "field": {
+                        "id": "GZykpXs0OZ5P",
+                        "ref": "083443e3-69e4-4bd8-a84a-05e6d14dabed",
+                        "type": "multiple_choice"
+                    },
+                    "type": "choice",
+                    "choice": {
+                        "id": "nb2bUDb9uTvz",
+                        "label": "Not sure"
+                    }
+                }
+            ],
+            "variables": [
+                {
+                    "key": "score",
+                    "type": "number",
+                    "number": 2
+                }
+            ]
+        }
+    ]
+}
+
+

Redirects users to appropriate URLs (App Store / Play Store) based on the Operating System of the device being used.

+ + + + + + + + + + + + + + + + + + +
Attributes
android_url URL

URL (Google Play Store) for Android users to be redirected to

iphone_url URL

URL (App Store) for iOS users to be redirected to

ipad_url URL

URL (App Store) for iPad or Mac users to be redirected to (redirected to iphone_url if not present)

fallback_url URL required

General URL to be redirected to if device does not satisfy above conditions

+

vCard Plus

+

Create vCards to allow anyone to view your contact information and add it to their device instantly.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Attributes
first_name string required

First name of the recipient

last_name string required

Last name of the recipient

user_image_url URL

URL for profile picture of the recipient

company string

Name of the company the recipient works for

designation string

Designation held by the recipient

summary string

Brief summary to be displayed on the page

phone object

Phone numbers associated with the recipient. Supported keys: mobile, work, home

email string

Recipient email address

website URL

Company/Recipient website URL

logo_url URL

Company/Recipient logo image

address_url URL

Recipient address from Google or Apple maps

address_line1 string

Recipient address line 1 to be displayed

address_line2 string

Recipient address line 1 to be displayed

city string

Recipient city of residence

zip string

Recipient area zip code

state string

Recipient state of residence

country string

Recipient country of residence

customizations object

Landing page customizations

+ +

customization options (supports hex and rgb color formats): background_color, user_info_color

+

Social Media

+

Create a landing page to engage with your users through various social media platforms

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Attributes
title string required

First name of the recipient

urls object required

Supports whatsapp, facebook, instagram, linkedin, twitter and pinterest URLs

logo_url URL

Logo URL associated with your brand

brand_image URL

Image URL associated with your brand

message string

Short display message

sub_text string

Sub text for the message

customizations object

Landing page customizations

+ +

customization options (supports hex and rgb color formats): title_color, message_background_color

+

Facebook page

+

Create a landing page link your facebook page to grow followers and increase likes

+ + + + + + + + + + + + + + + + + + + + + + + + +
Attributes
facebook_page_url URL required

URL associated with your Facebook page

like_button_type string

Type of like button ()

logo_url URL

Logo URL associated with your brand

header string

Header message for the page

sub_text string

Sub text for the header

base_image URL

Base image URL for the page

+

Coupon

+

Create coupon codes campaigns that can be redeemed by users engaging with your business

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Attributes
coupon_code string required

Coupon Code

expires_at timestamp required

Expiry date for coupon in ISO format

timezone timestamp

Expiry date for coupon in ISO format

header string required

Header message for the landing page

message string required

Display message for the page

logo_url URL

Logo URL associated with your brand

website URL

Your brand website

description_header string

Header describing the coupon

description_body string

A brief description for the coupon

terms_and_conditions string

Terms and Conditions associated with this coupon

wallet_pass object

Wallet pass customizations

location URL

URL to locate your business

company_name string

Company name

custom_theme integer

Custom Theme object ID

theme_data object read only

Custom Theme data

customizations object

Landing page customizations

+ + + + + + + + + +
Wallet pass options (shown on iOS devices only)
barcode_format string

Type of barcode to be displaayed (options: PKBarcodeFormatPDF417, PKBarcodeFormatQR, PKBarcodeFormatAztec)

+ +

customization options (supports hex and rgb color formats): header_color, body_color, background_color, coupon_color, button_color

+

Business Card

+

Create a landing page to display your business details that help users connect with you seamlessly.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Attributes
business_name string required

Businesss Name

button_url string required

Button Url

button_title string required

Button Title

contact string required

Contact

logo_url URL

Logo URL associated with your business

aaddress_url URL

Address URL for people to locate your business

website URL

Website URL of your business

headline string

A brief headline to summarise your business operaations

open_hours object

Opening and Closing time for the business for each day

customizations object

Landing page customizations

+ + + + + + + + + + + + + + + +
Contact options
name string required

Name of the contact person

phone string required

Phone number

email string required

email ID for viewers to engage with

+ +

customization options (supports hex and rgb color formats): background_color, opacity, button_color

+

Campaign Notification

+

Campaign notification is the brief overview of the campaign, used to alert the user. This can only be used with Beacon and Geofence objects.

@@ -433,10 +4814,10 @@

Campaign Notification

- + - + @@ -448,7 +4829,7 @@

Campaign Notification

is_default boolean required

Is default notification. Each beacon can have only one notification set as default.

title string

The title of the campaign notification (max 49 characters)

title string

The title of the campaign notification (max 49 characters)

description string

The description of the campaign notification (max 2048 characters)

description string

The description of the campaign notification (max 2048 characters)

icon_url URL

The icon url of the campaign notification

updated timestamp read only

Last updated timestamp of the campaign notification

-

Beacon

+

Beacon

Beacon objects allow you to perform actions on your beacons. You can retrieve individual beacons as well as a list of all your beacons or update a beacon.

@@ -460,7 +4841,7 @@

Beacon

- + @@ -487,7 +4868,7 @@

Beacon

- + @@ -565,7 +4946,7 @@

Beacon

id integer read only

Unique identifier of the object

name string required

The name of the beacon

name string required

The name of the beacon

UUID string required read only

UUID of the beacon associated with the iBeacon protocol, configured on the hardware

eddystone_bid string read only

Instance of the beacon associated with the Eddystone protocol, configured on the hardware

eddystone_url string read only

URL(Deprecated) configured on the hardware

eddystone_url string read only

URL(Deprecated) configured on the hardware

url string read only

URL configured on the hardware

notifications list[CampaignNotification]

CampaignNotification object associated with the beacon based on configured language(s)

-

Get all beacons

curl "https://beaconstac.mobstac.com/api/2.0/beacons/"
+

Get all beacons

curl "https://api.beaconstac.com/api/2.0/beacons/"
   -H "Authorization: Token YOUR_TOKEN"
 
@@ -739,7 +5120,7 @@

Get all beacons

curl "https://beaconstac.mobstac.com/api/2.0/beacons/{beacon_id}"
+

Retrieve a beacon

curl "https://api.beaconstac.com/api/2.0/beacons/{beacon_id}"
   -H "Authorization: Token YOUR_TOKEN"
 
@@ -844,7 +5225,7 @@

Retrieve a beacon

}
 

Retrieves the details of an existing beacon. You need only supply the unique beacon identifier that was returned upon beacon listing

-

Update Beacon

curl "https://beaconstac.mobstac.com/api/2.0/beacons/{beacon_id}"
+

Update Beacon

curl "https://api.beaconstac.com/api/2.0/beacons/{beacon_id}"
   -X PUT
   -H "Authorization: Token YOUR_TOKEN"
   -d "{'id':beacon_id, 'campaign':{'id':campaign_id}}"
@@ -951,7 +5332,7 @@ 

Update Beacon

 }
 

Updates the specified beacon by setting the values of the parameters passed. Any parameters not provided will be left unchanged. However, the request should contain the required fields. Please refer to the Beacon object.

-

NFC Tag

+

NFC Tag

NFCTag objects allow you to perform actions on your nfc tags. You can retrieve individual nfc tags as well as a list of all your tags or update a tag.

@@ -1008,7 +5389,7 @@

NFC Tag

campaign Campaign

Campaign object associated with the nfc tag

-

Get all NFC tags

curl "https://beaconstac.mobstac.com/api/2.0/nfctags/"
+

Get all NFC tags

curl "https://api.beaconstac.com/api/2.0/nfctags/"
   -H "Authorization: Token YOUR_TOKEN"
 
@@ -1127,7 +5508,7 @@

Get all NFC tags

curl "https://beaconstac.mobstac.com/api/2.0/nfctags/{nfctag_id}"
+

Retrieve a NFC tag

curl "https://api.beaconstac.com/api/2.0/nfctags/{nfctag_id}"
   -H "Authorization: Token YOUR_TOKEN"
 
@@ -1172,7 +5553,7 @@

Retrieve a NFC tag

}
 

Retrieves the details of an existing nfc tag. You need only supply the unique nfc tag identifier that was returned upon tags listing.

-

Update NFC tag

curl "https://beaconstac.mobstac.com/api/2.0/nfctags/{nfctag_id}"
+

Update NFC tag

curl "https://api.beaconstac.com/api/2.0/nfctags/{nfctag_id}"
   -X PUT
   -H "Authorization: Token YOUR_TOKEN"
   -d "{'id':nfctag_id, 'campaign':{'id':campaign_id}}"
@@ -1218,7 +5599,7 @@ 

Update NFC tag

}
 

Updates the specified nfc tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged. However, the request should contain the required fields. Please refer to the NFCTag object.

-

QR Code

+

QR Code

QRCode objects allow you to perform actions on your qr codes. You can retrieve individual qr codes as well as a list of all your qr codes or update a qr code.

@@ -1278,7 +5659,7 @@

QR Code

campaign Campaign

Campaign object associated with the qr code

-

Get all QR codes

curl "https://beaconstac.mobstac.com/api/2.0/qrcodes/"
+

Get all QR codes

curl "https://api.beaconstac.com/api/2.0/qrcodes/"
   -H "Authorization: Token YOUR_TOKEN"
 
@@ -1410,7 +5791,7 @@

Get all QR codes

curl "https://beaconstac.mobstac.com/api/2.0/qrcodes/{qrcode_id}"
+

Retrieve a QR code

curl "https://api.beaconstac.com/api/2.0/qrcodes/{qrcode_id}"
   -H "Authorization: Token YOUR_TOKEN"
 
@@ -1460,7 +5841,7 @@

Retrieve a QR code

}
 

Retrieves the details of an existing qr code. You need only supply the unique qr code identifier that was returned upon qr codes listing.

-

Update QR code

curl "https://beaconstac.mobstac.com/api/2.0/qrcodes/{qrcode_id}"
+

Update QR code

Dynamic QR Code

curl "https://api.beaconstac.com/api/2.0/qrcodes/{qrcode_id}"
   -X PUT
   -H "Authorization: Token YOUR_TOKEN"
   -d "{'id':qrcode_id, 'campaign':{'id':campaign_id}}"
@@ -1513,22 +5894,22 @@ 

Update QR code

}
 

Updates the specified qr code by setting the values of the parameters passed. Any parameters not provided will be left unchanged. However, the request should contain the required fields. Please refer to the QRCode object.

-

Create QR code

+

Create QR code

curl -X POST \ - https://beaconstac.mobstac.com/api/2.0/qrcodes/ \ - -H 'Content-Type: application/json' \ - -d '{ - "attributes": { - "color": "#000000", - "margin": "", - "backgroundImage": "", - "logoImage": "" + https://api.beaconstac.com/api/2.0/qrcodes/ \ + -H 'Content-Type: application/json' \ + -d '{ + "attributes": { + "color": "#000000", + "margin": "", + "backgroundImage": "", + "logoImage": "" }, - "name": "test 3", - "qr_type": 2, - "organization": {organization_id}, - "place": {place_id} -}'

+ "name": "test 3", + "qr_type": 2, + "organization": {organization_id}, + "place": {place_id} +}'

The above command returns JSON structured like this:

@@ -1578,7 +5959,7 @@

Create QR code

}

Creates a new qr code. However, the request should contain the required fields.

-

Download a QR code

curl "https://beaconstac.mobstac.com/api/2.0/qrcodes/{qrcode_id}/?size={size}&canvas_type={canvas_type}"
+

Download a QR code

curl "https://api.beaconstac.com/api/2.0/qrcodes/{qrcode_id}/?size={size}&canvas_type={canvas_type}"
   -H "Authorization: Token YOUR_TOKEN"
 
@@ -1591,7 +5972,7 @@

Download a QR code

}
 

Download a QR code in a particular size and image format. Image types supported are PNG, JPEG, SVG and PDF. If no canvas type is sent in the parameters, the QRCode would be generated in all image types supported.

-

Geofence

+

Geofence

Geofence objects allow you to perform actions on your geofences. You can retrieve individual geofences as well as a list of all your geofences or update a geofence

@@ -1654,7 +6035,7 @@

Geofence

notifications list[CampaignNotification]

CampaignNotification object associated with the geofence based on configured language(s)

-

Get all geofences

curl "https://beaconstac.mobstac.com/api/2.0/geofences/"
+

Get all geofences

curl "https://api.beaconstac.com/api/2.0/geofences/"
   -H "Authorization: Token YOUR_TOKEN"
 
@@ -1813,7 +6194,7 @@

Get all geofences

curl "https://beaconstac.mobstac.com/api/2.0/geofences/{geofence_id}"
+

Retrieve a Geofence

curl "https://api.beaconstac.com/api/2.0/geofences/{geofence_id}"
   -H "Authorization: Token YOUR_TOKEN"
 
@@ -1877,7 +6258,7 @@

Retrieve a Geofence

}
 

Retrieves the details of an existing geofence. You need only supply the unique geofence identifier that was returned upon geofence listing.

-

Update Geofence

curl "https://beaconstac.mobstac.com/api/2.0/geofences/{geofence_id}"
+

Update Geofence

curl "https://api.beaconstac.com/api/2.0/geofences/{geofence_id}"
   -X PUT
   -H "Authorization: Token YOUR_TOKEN"
   -d "{'id':geofence_id, 'campaign':{'id':campaign_id}}"
@@ -1943,8 +6324,8 @@ 

Update Geofence

}
 

Updates the specified geofence by setting the values of the parameters passed. Any parameters not provided will be left unchanged. However, the request should contain the required fields. Please refer to the Geofence object.

-

Create Geofence

curl -X POST \
-  https://beaconstac.mobstac.com/api/2.0/geofences/ \
+

Create Geofence

curl -X POST \
+  https://api.beaconstac.com/api/2.0/geofences/ \
   -H 'Content-Type: application/json' \
   -d '{
     "campaign": {
@@ -1989,7 +6370,7 @@ 

Create Geofence

}
 

You can create the geofence by giving it a name, latitude, longitude, radius and a campaign.

-

Place

+

Place

Place objects allow you to view all places in your account and view beacons attached to them.

@@ -2043,7 +6424,7 @@

Place

updated timestamp read only

Last updated timestamp of the place

-

Get all places

curl "https://beaconstac.mobstac.com/api/2.0/places/"
+

Get all places

curl "https://api.beaconstac.com/api/2.0/places/"
   -H "Authorization: Token YOUR_TOKEN"
 
@@ -2120,7 +6501,7 @@

Get all places

Analytics

Product

Product types:

    @@ -2131,7 +6512,7 @@

    Analytics

    Product

from, to parameters should be in EPOCH milliseconds.

-

Product overview

curl "https://beaconstac.mobstac.com/reporting/2.0/?organization={organization_id}&method=Products.getOverview"
+

Product overview

curl "https://api.beaconstac.com/reporting/2.0/?organization={organization_id}&method=Products.getOverview"
   -H "Authorization: Token YOUR_TOKEN"
   -d '{
           "product_type": {type},
@@ -2168,7 +6549,7 @@ 

Product overview

}
 

Get analytics overview for the product type over the time interval.

-

Product performance

curl "https://beaconstac.mobstac.com/reporting/2.0/?organization={organization_id}&method=Products.getPerformance"
+

Product performance

curl "https://api.beaconstac.com/reporting/2.0/?organization={organization_id}&method=Products.getPerformance"
   -H "Authorization: Token YOUR_TOKEN"
   -d '{
           "product_type": {type},
@@ -2258,7 +6639,7 @@ 

Product performance

}
 

Get analytics performace for the product.

-

Product impression detail

curl "https://beaconstac.mobstac.com/reporting/2.0/?organization={organization_id}&method=Products.getImpressionDetail"
+

Product impression detail

curl "https://api.beaconstac.com/reporting/2.0/?organization={organization_id}&method=Products.getImpressionDetail"
   -H "Authorization: Token YOUR_TOKEN"
   -d '{
           "product_type": {type},
@@ -2309,7 +6690,7 @@ 

Product impression detail

}
 

Get impressions details generated by the product. If no place is provided data will be returned for all products of the product type specified in the organization.

-

Product impression distribution

curl "https://beaconstac.mobstac.com/reporting/2.0/?organization={organization_id}&method=Products.getImpressionDistribution"
+

Product impression distribution

curl "https://api.beaconstac.com/reporting/2.0/?organization={organization_id}&method=Products.getImpressionDistribution"
   -H "Authorization: Token YOUR_TOKEN"
   -d '{
           "product_type": {type},
@@ -2353,7 +6734,7 @@ 

Product impression distribution

}

Get impression distribution generated by the product. If no place is provided data will be returned for all products of the product type specified in the organization.

-

Generate product CSV data

curl "https://beaconstac.mobstac.com/reporting/2.0/?organization={organization_id}&method=Csv.getProductData"
+

Generate product CSV data

curl "https://api.beaconstac.com/reporting/2.0/?organization={organization_id}&method=Csv.getProductData"
   -H "Authorization: Token YOUR_TOKEN"
   -d '{
           "product_type": {type},
@@ -2365,7 +6746,7 @@ 

Generate product CSV data

- - + + + From e35a7adcbc2198b468b6dea025cdf980cd42f60d Mon Sep 17 00:00:00 2001 From: Hari Prasad V Atri <32796206+hari97atri@users.noreply.github.com> Date: Sun, 8 Nov 2020 17:28:39 +0530 Subject: [PATCH 2/2] Update index.html --- index.html | 116 ++++++++++++++++++++++++++--------------------------- 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/index.html b/index.html index ea8abfc..72614ea 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - + @@ -201,7 +201,7 @@ - + NAV Navbar @@ -210,8 +210,8 @@
@@ -6804,8 +6804,8 @@

Errors