HTTP Control API is now available

2013-10-02 23:16:42
Blog picture

Most of the apps built using VoxImplant have some client application that uses our Web or Mobile SDK, or some other type of the endpoint communicating with VoxImplant (like SIP client), but there are a couple of scenarios when there is no client application involved. The most common one is a callback scenario where the platform makes calls to a different destination and join these calls when required. Or another one - automated notifications or surveys, where you call your customer and playback some important message or get the feedback.

We are happy to announce our new API available for VoxImplant developers, which makes these scenarios possible and easy to implement. We call it Control API (since it's created for controlling sessions, unlike Provisioning API created to let you add/edit/delete different VoxImplant entities, like app Users, Rules, etc.). Description of the API is available here, "How To" is available here. If you want to, you can easily implement REST API for calls on top of the Control API platforms like Twilio or Plivo offer. But you can make even more interesting things using it since you can control your JavaScript app running in the VoxImplant Cloud and even transfer data in POST body. Here is how it works:

  1. Developer makes HTTP request to the Voximplant Cloud using the StartScenarios function of HTTP API specifying rule_id. Rule_id is the identifier of some Rule in one of your applications. You can obtain it by calling the GetRules function of HTTP API.
  2. The session is created in the cloud and the AppEvents.Started event is dispatched in your scenario. You can start making calls in the event handler or after the event was dispatched.
  3. media_session_access_url is returned in response to let developers control the created session.
  4. When a developer makes an HTTP request to media_session_access_url AppEvents.HttpRequest event is dispatched in the scenario. Developers can process it and return some data right away or use httpRequest to notify external web service about some event that can happen later.

We are going to prepare some tutorials in addition to this How To to let you see how fast and easy implementing different scenarios using HTTP Control API is.

Sign Up for a free Voximplant developer account or talk to our experts

Add your comment


Your comment has been added and will be published after moderation.

Recommended posts

Personalized Service 101: What it is and How to Deliver it

Personalized Service 101: What it is and How to Deliver it

For many consumers, personalized customer service is key to good customer experiences (CX). According to a 2020 survey by Gladly, close to two-thirds of respondents said that “lack of personalization makes [them] feel like a ticket number.” Businesses wishing to meet and exceed customer expectations need to make personalized service a top priority. But personalization goes beyond making movie recommendations or using a customer’s name in an email subject line. When it comes to personalized service, it’s paramount that you deliver relevant, valuable, and speedy support to promote positive customer experiences. In this article, we’ll break down what personalized service means, why it’s so important to CX, and how you can deliver personalization service to your customers.

Speech Technologies For Your Business – The Future of CX

Speech Technologies For Your Business – The Future of CX

Striving to offer the best service possible, contact centers are usually very quick to adopt new technologies and try out innovative solutions. Successful implementation of speech technologies can create a great competitive advantage for a company.