Tropo Documentation

Tropo offers two APIs to automate calls and text messages: Scripting and WebAPI. These APIs both do the same thing, and simply offer you a choice in your programming style. We also offer a REST API that manages and controls your existing applications, whether those apps use WebAPI or Scripting API.

Tropo Scripting API

The hosted offering of Tropo, the Scripting API enables you to build communications applications in JavaScript, PHP, Ruby, Python, and Groovy, then host them in the Tropo cloud. Your script runs on our servers, very similar to the way a web application runs on a web server, except instead of interacting with the user via a web browser, a Tropo application interacts with the user via voice (using a standard telephone or Voice Over IP/SIP) or text messages. You can connect to your back end resources by making HTTP calls out to your servers, similar to how a browser-based JavaScript application uses AJAX to talk to the server side.

Tropo WebAPI

The WebAPI is a web-service API that lets you build communications applications that run on your servers and drive the Tropo cloud using JSON over HTTP. It uses the same request-response model many web developers are already comfortable using, communicating with applications running on your own server, feeding requests and processing responses back and forth as needed.

Tropo REST API

After you've written a Tropo application with our Scripting or WebAPI, the Tropo REST API lets you configure and control those applications through the use of RESTful methods. This includes the ability to create new Tropo apps, add phone numbers to them, delete applications, and much more.