Home / Companies / Voiceflow / Blog / Post Details
Content Deep Dive

Create a webpage to talk to your assistant using Voiceflow Dialog API

Blog post from Voiceflow

Post Details
Company
Date Published
Author
Nicolas Arcay Bermejo
Word Count
434
Company Posts That Month
8
Language
English
Hacker News Points
-
Post removed?
No
Summary

To get started with this project, you'll need your Voiceflow Assistant Dialog API key. You must have this key every time you want to make a request to the /interact endpoint. The source of this project is publicly available on Github, where you can fork it and tweak it as you like. This project structure includes index.html, styles.css, scripts.js, siriwave.umd.min.js, and an image directory with selected images from Unsplash. The main function for interacting with the Voiceflow Dialog API is the `interact()` function in the scripts.js file, which sends a POST request to the Dialog API with the necessary headers, including the Version ID and API key. It also includes a config object in the body of the request to configure certain aspects of the interaction, such as enabling Text-to-Speech (TTS) and removing SSML tags. The response from the Dialog API is then processed by the `displayResponse()` function, which iterates through the items in the response and renders them on the webpage.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Voice AI 1 No monthly metrics for this publish month.
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.