LogoLogo
WebsiteGuide & TutorialBlogBook a Demo
1.0.0
1.0.0
  • Acquire Developers Hub
  • Acquire
    • Acquire Build Requirement
      • Requirement For Acquire
      • Acquire Speedtest
  • JS API
    • JS Live Chat API
      • Description
      • Installation
      • Visitor
      • Thread
      • Conversation
      • User Verification
    • Quick Link Support
      • One Click Button
      • Social Media Share
    • Backend JS SDK
      • Setup Backend JS SDK
      • Demo Backend SDK
    • Advanced
      • Widget UI
      • Reference
  • Co Browse APIs
    • Acquire Co Browse
      • Co Browse API
  • Acquire API Events
    • WebRTC Related Events
  • iOS
    • SDK Setup Guide
      • Getting Started
      • Integration Guide (Core)
      • Integration Guide (Lite)
      • Manual Setup iOS
      • Acquire Account ID
    • SDK Configuration Example
    • iOS Cobrowse
    • Theme Setting
    • iOS Push Notifications
    • Verify your users
  • Android
    • Getting Started
      • Integration Guide (Core)
      • Integration Guide (Lite)
      • Start using Acquire
    • Acquire APIs
    • Acquire Delegates
    • Custom UI/widget
    • Cross Platform Integrations
  • Webhook API
    • Webhooks Basic
      • Introduction
      • Webhook Integrate Steps
      • Webhook Format
    • Webhook Events
      • On Chat Start
      • On Chat Accept
      • On Chat Message
      • On Chat Close
  • REST APIs
    • OAuth
      • Authorization
      • Tracklog
    • Profiles API
      • Profile List
      • Thread
      • Feedback
      • Profile Details
      • Message
      • Tags
      • Profile Agents
      • Campaigns
      • Profile Add Update
      • Profile Delete
      • Profile Visit History
      • Sender Emails
    • Chat
      • Chat Notes
    • Analytics
      • Chat Statistics
      • Team Analytics
      • Conversion Rate
      • Chat Tag
      • Co browsing
    • Agent
      • Agents List
      • Agent add
      • Edit / Get-agent
      • Update
    • Trigger
      • Triggers List
      • Triggers Detail
    • Operating Hours
      • Save Operating Hours
      • Get Operating Hours
    • Cobrowse
  • Chatbot API
    • Chat Bot
      • Integrate Your Chatbot
      • Dialog Flow V1 Chat-Bot
      • Dialog Flow V2 Chat-Bot
      • Dialog Flow Fulfillment & Custom Response
      • IBM Watson Integration
      • Amazon Lex Bot
      • Azure's QnA Maker
      • Webhook Calling & User Verification
      • Webhook For Reset Password
  • Knowledge Base APIs
    • Help Docs Setup
      • Get FAQ Categories
      • Get Setup Details
      • Get Side List
      • Get Article
      • Get Recent Article
      • Get Categorized Articles
      • Get Suggestion
  • Errors
    • API Error Handling
      • HTTP Responses
Powered by GitBook
On this page
  • Step 1. Login Acquire Dashboard
  • Step 2. Create HTML Page
  • Step 3. Get ACCOUNT_UID And Agent Details
  • How to get Agents details using API
  • Step 4. Open HTML Page
  1. JS API
  2. Backend JS SDK

Demo Backend SDK

PreviousSetup Backend JS SDKNextAdvanced

Last updated 5 years ago

If you want to load acquire full backend on any page or inside your backend then go acquire backend js sdk page () and setup sdk. First you'll need to load acquire script and use below acquire js code to configure SDK and indentify agent and account details so we can load full visitor list and all required parts of acquire.io to let agent handle all chats, visitor list etc.

Step 1. Login Acquire Dashboard

If you want to create your backend sdk then first login acquire dashboad (). When you logged into you can see your all visitor in backend SDK.

Step 2. Create HTML Page

Step 3. Get ACCOUNT_UID And Agent Details

Acquire Dashboard in top right corner in click on profile name and you see ACCOUNT_UID use this and Dashboard in open Agent menu you see here agent all details.

How to get Agents details using API

Setup Agent API :

Acquire agent API setup process steps:

Step 4. Open HTML Page

After all setup load HTML page in browser and see all live agents details. You can use this page as a iframe.

After login dashboad you create a HTML page and include sdk script <script src="https://s.acquire.io/bare-backend.js"></script> and use backend sdk setup code ().

if you want to get all agents details use acquire agent REST API ( ). Agent API in you can get agents all details and make a own dashboard.

first get acquire API token ( ) and save in anywhere secure (like : database) after make functionality to get token use secure way.

Use agents list API () for all data show in a table view.

If you want to create new agent use agents add API () and make a form to save new agent.

For edit agent details use agent edit API ( ) . Edit API in you can get particular agent details by id and show in input.

After above process you use update API () for edit agent's details save/ update.

Setup Backend JS SDK
https://developer.acquire.io/rest-apis/agent
https://app.acquire.io/setting/token
https://developer.acquire.io/rest-apis/agent/agents-list
https://developer.acquire.io/rest-apis/agent/agent-add
https://developer.acquire.io/rest-apis/agent/edit-get-agent
https://developer.acquire.io/rest-apis/agent/update
Setup Backend JS SDK
app.acquire.io
app.acquire.io
Acquire Login
Agents List
Visitors List