Frontman : Enterprise Chatbot Platform
  • 👋Frontman | Enterprise Chatbot Platform
    • 🚀How to Get Started with Frontman
    • 💰Pricing
    • 📞Schedule Demo & Contact Founding Team
  • 😍Create your First Chatbot
  • 📊Dashboard
  • 〽️Story Builder
    • ➕How to Build your First Chatbot Flow
    • ➕Building Blocks
    • ➕Cards
      • ➕Display Cards
        • Bot Says
        • Image/GIF
        • Carousel
        • Quick Reply
        • Phraser Card
        • Audio
        • Video
        • Multiple Choice
        • User Input
        • Range Slider
        • Rating
        • Date Picker
        • Auto suggest
        • Custom Form
        • Website
        • Book Meeting
      • ➕Utility Cards
        • Go-to
        • Setup user attribute
        • Email
        • JSON API
        • Google Sheets
        • Run-IF Card
        • Typing Delay
        • Comments
        • Goal Tracker
        • A/B Splitter
        • Custom Script
        • End Conversation
        • SMS
        • Slack
        • Export via Zapier
        • Whatsapp Template
      • ➕Plugin Cards
        • Shiprocket Track Card
        • Shopify
          • Cancel Order
          • Track Order
          • Return Order
        • Zoho CRM
        • Salesforce CRM
        • Hubspot CRM
        • Odoo CRM
        • Pipedrive CRM
        • Active Campaign CRM
    • ➕Chatbot Details
    • ➕Export Chatbot
    • ➕Direct Link
    • ➕Clone Block
  • 🔆Instinct AI
    • Train AI
      • Data Loaders
        • Document Loader
        • Crawl Website
        • Notes
        • Google Drive
        • Amazon S3
        • Gitbook
        • Microsoft OneDrive
        • Notion
        • RSS
        • Confluence
        • Shopify Blog
        • Zendesk
        • Knowledge Base(Makerobos)
        • Shopify AI Search
        • Image Parser
      • Data Bank
    • AI Agents
      • Wikipedia
      • Youtube Search
      • Function Calling
      • Recent News
      • Web Search
      • Run Block
      • Shopify AI Search
      • Task Master
    • Private Notes
    • Feedback
    • Insights
  • 📺Style Builder
    • ➕Setup Avatar
    • ➕Setup Chatscreen
    • ➕Setup Homescreen
  • ☁️Publish
    • ➕Install Frontman on your Website
    • ➕Track Visitor with your Frontman
    • ➕Custom Display Settings
    • ➕Conversational landing page (Progressive)
    • ➕Embed Frontman
    • ➕Security
    • ➕Language
    • ➕Time Zone
    • ➕Hibernate Frontman
  • 📊Analytics
    • ➕Session
    • ➕Active Users
    • ➕Total Messages
    • ➕Total Visits
    • ➕Traffic Stats
    • ➕User Activity
    • ➕Resources
    • ➕Goal Tracker
  • 🧑‍🤝‍🧑Audience
    • ➕User Attributes
    • ➕How to set filters
    • ➕How to export User’s data
    • ➕Customize Table
  • ⚒️Marketing Tools
    • Teaser Message
    • Frontman Apps
      • Persistent Menu
      • Broadcast message
      • Get Subscribers
      • Knowledge Base
  • 📖Knowledge Base
    • ➕Overview
    • ➕Collections
    • ➕Articles
    • ➕Reports
  • ⚙️Account Settings
    • ➕My Profile
    • ➕Company Details
    • ➕My Plan
    • ➕Plans and Pricing
    • ➕Order History
    • ➕Billing Preference
    • ➕Invoice History
    • ➕Developers Hub
      • ➕API Key
      • ➕Postman Collection
      • ➕Google Application
      • ➕Amazon SNS
      • ➕SMTP
      • ➕Whatsapp Template Messaging
      • ➕LLM's
      • ➕Data Loaders
    • ➕Applications
    • ➕Manage Teams
    • ➕Manager Account
    • 🪧Report a Issue
Powered by GitBook
On this page
  • Unlocking Integration Potential:
  • Understanding HTTP Methods:
  • Crafting Your Request:
  • Query Parameters:
  • Supported Content Types:
  • Testing Your Request:
  1. Story Builder
  2. Cards
  3. Utility Cards

JSON API

PreviousEmailNextGoogle Sheets

Last updated 11 months ago

The Story Builder empowers you to unlock the potential of powerful integrations with your own server or third-party systems using JSON API. This functionality allows you to:

  • Export Data: Seamlessly export user data and conversation insights to external systems like Learning Management Systems (LMS) or Customer Relationship Management (CRM) platforms.

  • Personalized Content: Craft dynamic content within your stories, tailoring the conversation experience based on user data retrieved from external sources.

Unlocking Integration Potential:

For detailed examples and guidance on implementing integrations, refer to the provided Github repository. This resource will equip you with the knowledge to leverage JSON API effectively.

Understanding HTTP Methods:

The Story Builder utilizes the following HTTP methods for interacting with external APIs:

  • GET: Retrieve data from a specified URL.

  • POST: Create a new resource on the server.

  • PUT: Update an existing resource entirely.

  • PATCH: Update specific parts of an existing resource.

  • DELETE: Remove a resource from the server.

Crafting Your Request:

To construct an API request within the Story Builder, follow these steps:

  1. Enter URL: Specify the complete URL of the endpoint you wish to interact with.

  2. Body (Optional): For POST, PUT, and PATCH requests, provide the data you intend to send to the server in JSON format.

  3. Enter Params (Optional): Define any additional parameters required by the specific API endpoint.

  1. Headers (Optional): Set custom headers for your request, if necessary.

Query Parameters:

  • URL Preview: Visualize the constructed URL with any query parameters included.

  • Query: Specify key-value pairs to be appended to the URL as query parameters.

  • Add Item: Easily add additional query parameters as needed.

Supported Content Types:

The Story Builder allows you to choose from various content types for your request body:

  • None: No body data is sent.

  • Structured: Structured data format (specific format may depend on the external API).

  • Multipart form: Data sent in multipart form format.

  • Form URL Encoded: Data encoded using the application/x-www-form-urlencoded content type.

  • Text: Plain text data.

  • JSON: JSON-formatted data (commonly used for API requests).

  • XML: Data in XML format.

  • YAML: Data in YAML format.

  • PLAIN: Raw, unformatted text data.

Testing Your Request:

The Story Builder provides a "Test Request" functionality to send a test request and view the response from the external API. This allows you to verify the accuracy and functionality of your integration before deployment.

〽️
➕
➕
"GET" is used to Retrieve Data
POST: Create a new resource on the server.
PUT: Update an existing resource entirely.
PATCH: Update specific parts of an existing resource.
DELETE: Remove a resource from the server.