curl --request GET \
--url https://api.phonovation.com/v1/campaign/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.phonovation.com/v1/campaign/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)using RestSharp;
var options = new RestClientOptions("https://api.phonovation.com/v1/campaign/{id}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
HttpResponse<String> response = Unirest.get("https://api.phonovation.com/v1/campaign/{id}")
.header("Authorization", "Bearer <token>")
.asString();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.phonovation.com/v1/campaign/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.phonovation.com/v1/campaign/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"totalSent": 100,
"delivered": 92,
"undelivered": 3,
"pending": 5
}{
"title": "Forbidden",
"status": 403,
"detail": "Authenticated user is not a recognized client administrator"
}{
"title": "<string>",
"status": 499,
"detail": "<string>",
"type": "<string>",
"instance": "<string>"
}View campaign delivery results
Retrieve the processing and delivery summary for a campaign.
curl --request GET \
--url https://api.phonovation.com/v1/campaign/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.phonovation.com/v1/campaign/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)using RestSharp;
var options = new RestClientOptions("https://api.phonovation.com/v1/campaign/{id}");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
HttpResponse<String> response = Unirest.get("https://api.phonovation.com/v1/campaign/{id}")
.header("Authorization", "Bearer <token>")
.asString();<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.phonovation.com/v1/campaign/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.phonovation.com/v1/campaign/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"totalSent": 100,
"delivered": 92,
"undelivered": 3,
"pending": 5
}{
"title": "Forbidden",
"status": 403,
"detail": "Authenticated user is not a recognized client administrator"
}{
"title": "<string>",
"status": 499,
"detail": "<string>",
"type": "<string>",
"instance": "<string>"
}Authorizations
A UI-generated Phonovation Personal Access Token (PAT) is the recommended option for most integrations. OAuth/OIDC JWT access tokens are also accepted when an OAuth lifecycle is required.
Send either token as:
Authorization: Bearer <token>
PAT values begin with phv_pat_. Generate a PAT once in the Phonovation UI,
store it securely, and reuse it across requests. You do not need to generate
or refresh a token for every SMS. Preserve the exact casing in
Bearer phv_pat_....
Path Parameters
The public UUID returned when the campaign request was accepted.
Response
The latest campaign delivery totals.
At-a-glance delivery totals for a campaign that has been marked ready.
Number of accepted recipients recorded when the campaign was marked ready.
100
Receipts with a parsed status beginning with DELIV.
92
Processed receipts that are not classified as delivered.
3
Accepted recipients with no processed delivered or undelivered receipt yet.
5