Plivo Java helper Library
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Plivo Java Helper Library


The Plivo Java helper simplifies the process of making PLIVO API Calls and generating PLIVO XML.

See Plivo Documentation for more information.

Pre-built jars


Use this if you have issues with conflicting jars in your project. See the pom.xml for the list of dependencies you will need to include.


Manual Install

Download and Install Maven3

Maven in 5 minutes guide

Generating a release

To generate the final release,

mvn install -Dmaven.test.skip=true

Note: The parameter -Dmaven.test.skip=true will skip all test and generate the release.

Use the Library in your Java IDE

Create Stubs for Eclipse

mvn eclipse:eclipse

Create stubs for idea

mvn idea:idea

How to use

Making a Call.

RestAPI restAPI = new RestAPI("<AUTH_ID>", "<AUTH_TOKEN>", "v1");

LinkedHashMap<String, String> params = new LinkedHashMap<String, String>();
	params.put("from", "xxxxxxxxxx");
	params.put("to", "xxxxxxxxxx");
	params.put("answer_url", "http://server/url/answer.xml");

	Call response;
	try {
		response = restAPI.makeCall(params);
	catch (PlivoException e) {

Check the examples

Note GPG public key