📚

API Documentation

Welcome to the Just Deliver It API 2.2 Documentation. Integrate our powerful voice messaging services into your applications.

Getting Started

🔑 Authentication

All API requests require authentication using your API key. Include your API key in the request headers:

Authorization: Bearer YOUR_API_KEY

⚠️ Security: Keep your API key secure and never expose it in client-side code.

🌐 Base URL

All API endpoints are relative to:

https://api.22.rvmpro.com/campaigns

All requests should be made via POST method with form data.

API Endpoints

📊 Campaign Functions

The Campaigns functions are designed to let you create, view and manipulate campaigns.

Create

Creates a campaign that performs voicemail drops to supplied phone numbers.

API Value: create

List

Retrieves a list of all campaigns associated with your account.

API Value: list

Overview

Returns detailed information about a specific campaign.

API Value: overview

Channels

Manages campaign channels and routing configuration.

API Value: channels

Start

Starts a previously created campaign.

API Value: start

Pause

Temporarily pauses an active campaign.

API Value: pause

Stop

Permanently stops an active campaign.

API Value: stop

🚫 Blacklist Functions

Add

Add phone numbers to your blacklist to prevent future drops.

Endpoint: Blacklist Add

Load

Retrieve your current blacklist entries.

Endpoint: Blacklist Load

📈 Reports Functions

Campaigns

Campaign performance reports

Details

Detailed campaign analytics

Transaction

Transaction history and billing

Agent

Agent performance metrics

🛡️ Reputation Functions

Check

Check the reputation status of phone numbers before campaigns.

Endpoint: Reputation Check

History

View historical reputation data and trends.

Endpoint: Reputation History

Code Examples

🐘 PHP Example

<?php
$cu = curl_init();
curl_setopt($cu, CURLOPT_URL, 'https://api.22.rvmpro.com/campaigns');
curl_setopt($cu, CURLOPT_POST, 1);
curl_setopt($cu, CURLOPT_RETURNTRANSFER, 1);

$post_data = [
    'api' => 'overview',
    'token' => 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX',
    'c_campaign_id' => '0000000001'
];

curl_setopt($cu, CURLOPT_POSTFIELDS, $post_data);

try {
    $response = json_decode(curl_exec($cu), true);
    if ($response === FALSE) {
        die("Curl error: " . curl_error($cu));
    }
} catch (Exception $e) {
    $error_msg = $e->getMessage();
    $error = true;
}

curl_close($cu);
?>

⚡ JavaScript Example

const apiData = {
    api: 'overview',
    token: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX',
    c_campaign_id: '0000000001'
};

fetch('https://api.22.rvmpro.com/campaigns', {
    method: 'POST',
    headers: {
        'Content-Type': 'application/x-www-form-urlencoded',
    },
    body: new URLSearchParams(apiData)
})
.then(response => response.json())
.then(data => {
    console.log('Success:', data);
})
.catch((error) => {
    console.error('Error:', error);
});

Need Help?

Our developer support team is here to help you integrate our API successfully.