Starts the next eligible call using the mobile phone bridge.
curl --request POST \
--url https://api.leadping.ai/phone-call/next/mobile/{requestId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.leadping.ai/phone-call/next/mobile/{requestId}"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)using RestSharp;
var options = new RestClientOptions("https://api.leadping.ai/phone-call/next/mobile/{requestId}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
HttpResponse<String> response = Unirest.post("https://api.leadping.ai/phone-call/next/mobile/{requestId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{}")
.asString();const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.leadping.ai/phone-call/next/mobile/{requestId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.leadping.ai/phone-call/next/mobile/{requestId}"
payload := strings.NewReader("{}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.leadping.ai/phone-call/next/mobile/{requestId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"leadName": "<string>",
"callSessionId": "<string>",
"browserCallApproval": {
"destinationNumber": "<string>",
"callerNumber": "<string>",
"clientState": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"maximumDurationSeconds": 123
},
"isDemo": true,
"status": "scheduled",
"statusReason": "<string>",
"direction": "<string>",
"conversationId": "<string>",
"organizationId": "<string>",
"leadId": "<string>",
"phoneNumber": "<string>",
"toPhoneNumber": "<string>",
"fromPhoneNumberId": "<string>",
"fromPhoneNumber": "<string>",
"callerId": "<string>",
"selectionReason": "NearestLocation",
"wasManuallyOverridden": true,
"campaignId": "<string>",
"sourceId": "<string>",
"endedAt": "2023-11-07T05:31:56Z",
"queuedAt": "2023-11-07T05:31:56Z",
"ringingAt": "2023-11-07T05:31:56Z",
"answeredAt": "2023-11-07T05:31:56Z",
"durationSeconds": 123,
"billingStatus": "<string>",
"billableAmount": 123,
"voicemailUrl": "<string>",
"consoleEntries": [
{
"adminOnly": true,
"id": "<string>",
"stage": "<string>",
"status": "<string>",
"message": "<string>",
"occurredAt": "2023-11-07T05:31:56Z"
}
],
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"modifiedAt": "2023-11-07T05:31:56Z"
}{
"type": "about:blank",
"title": "Bad Request",
"status": 400,
"detail": "The request could not be completed."
}{
"type": "about:blank",
"title": "Unauthorized",
"status": 401,
"detail": "The request could not be completed."
}{
"type": "about:blank",
"title": "Forbidden",
"status": 403,
"detail": "The request could not be completed."
}{
"type": "about:blank",
"title": "Request Failed",
"status": 415,
"detail": "The request could not be completed."
}{
"type": "about:blank",
"title": "Too Many Requests",
"status": 429,
"detail": "The request could not be completed."
}Calls
Starts the next eligible call using the mobile phone bridge.
Applies the supplied inbox filters and uses the mobile dialing flow.
POST
/
phone-call
/
next
/
mobile
/
{requestId}
Starts the next eligible call using the mobile phone bridge.
curl --request POST \
--url https://api.leadping.ai/phone-call/next/mobile/{requestId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.leadping.ai/phone-call/next/mobile/{requestId}"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)using RestSharp;
var options = new RestClientOptions("https://api.leadping.ai/phone-call/next/mobile/{requestId}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
HttpResponse<String> response = Unirest.post("https://api.leadping.ai/phone-call/next/mobile/{requestId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{}")
.asString();const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.leadping.ai/phone-call/next/mobile/{requestId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.leadping.ai/phone-call/next/mobile/{requestId}"
payload := strings.NewReader("{}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.leadping.ai/phone-call/next/mobile/{requestId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"leadName": "<string>",
"callSessionId": "<string>",
"browserCallApproval": {
"destinationNumber": "<string>",
"callerNumber": "<string>",
"clientState": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"maximumDurationSeconds": 123
},
"isDemo": true,
"status": "scheduled",
"statusReason": "<string>",
"direction": "<string>",
"conversationId": "<string>",
"organizationId": "<string>",
"leadId": "<string>",
"phoneNumber": "<string>",
"toPhoneNumber": "<string>",
"fromPhoneNumberId": "<string>",
"fromPhoneNumber": "<string>",
"callerId": "<string>",
"selectionReason": "NearestLocation",
"wasManuallyOverridden": true,
"campaignId": "<string>",
"sourceId": "<string>",
"endedAt": "2023-11-07T05:31:56Z",
"queuedAt": "2023-11-07T05:31:56Z",
"ringingAt": "2023-11-07T05:31:56Z",
"answeredAt": "2023-11-07T05:31:56Z",
"durationSeconds": 123,
"billingStatus": "<string>",
"billableAmount": 123,
"voicemailUrl": "<string>",
"consoleEntries": [
{
"adminOnly": true,
"id": "<string>",
"stage": "<string>",
"status": "<string>",
"message": "<string>",
"occurredAt": "2023-11-07T05:31:56Z"
}
],
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"modifiedAt": "2023-11-07T05:31:56Z"
}{
"type": "about:blank",
"title": "Bad Request",
"status": 400,
"detail": "The request could not be completed."
}{
"type": "about:blank",
"title": "Unauthorized",
"status": 401,
"detail": "The request could not be completed."
}{
"type": "about:blank",
"title": "Forbidden",
"status": 403,
"detail": "The request could not be completed."
}{
"type": "about:blank",
"title": "Request Failed",
"status": 415,
"detail": "The request could not be completed."
}{
"type": "about:blank",
"title": "Too Many Requests",
"status": 429,
"detail": "The request could not be completed."
}Authorizations
Body
application/jsonapplication/*+json
The filters and paging options for the requested records.
Defines cursor pagination, sorting, search, exact-match filters, and range filters for a structured API query.
Response
The call selected for mobile dialing, or an empty response when no eligible lead remains.
Describes a Leadping phone call, including participants, direction, provider state, timing, voicemail, and billing details.
Describes the durable business outcome of a Leadping phone call after provider status normalization.
Available options:
scheduled, queued, initiated, ringing, in_progress, active, completed, ended, busy, no_answer, failed, canceled, missed, transferred, voicemail, blocked_billing, blocked_phone_number_status, blocked_configuration, blocked_permission, configuration_required 
