Jump to Content
Documentation ViaSayPlatform DocumentationVideo TutorialsAdvanced GuidesAPI Reference
HomePlatform DocumentationAPI ReferenceChangelogDiscussions
v1.0

Platform DocumentationVideo TutorialsAdvanced GuidesAPI ReferenceLog InDocumentation ViaSay
API Reference
Log In
v1.0

Messaging v1.1

  • Introduction
  • Send a messagepost
    • Rate limit
    • Examples
  • Receive a messagepost
    • Attachment payloads
    • Request authenticity signature
    • Expected response code
    • Body examples
  • Change log

Message Trigger v1.1

  • Introduction
  • Trigger a messagepost
    • Request authenticity signature

Widget Javascript API

  • Introduction
  • Available methods
  • Widget events
  • Widget Attributes

Agent Handover v1.0

  • Introduction
  • Accepting a handover requestpost
  • Receiving a user message for an ongoing conversationpost
  • Sending an event on behalf of a human agentpost

Data Compliance API

  • Introduction
  • Request authenticity signature
  • Data Deletionpost
  • Data Exportpost

WhatsApp Push v1.0

  • Introduction
  • Launch your WhatsApp Push campaignpost
    • Request authenticity signature
    • Example 1 - Template with Image and 2 CTA buttons
    • Example 2 - Template with 2 quick reply buttons
  • Webhooks
Powered by 

Introduction

Javascript API to interact with the Laiye Chatbot widget from the hosting page.

To use the Widget Javascript API, once the widget is loaded, you can listen to the event destygo_widget_loaded on document. You will have available as a global variable of window a DestygoChat object.

To use the API, use the DestygoChat.apiMethod().