Get the org's STIR/SHAKEN attestation posture snapshot
curl --request GET \
--url https://api.orbit.devotel.io/api/v1/compliance/attestation/posture \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.orbit.devotel.io/api/v1/compliance/attestation/posture"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orbit.devotel.io/api/v1/compliance/attestation/posture', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/compliance/attestation/posture",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/compliance/attestation/posture"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.orbit.devotel.io/api/v1/compliance/attestation/posture")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/compliance/attestation/posture")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"policy": {
"flag_unverified_inbound": true,
"updated_at": "2023-11-07T05:31:56Z"
},
"originating": {
"summary": {
"total": 123,
"meeting_target": 123,
"below_target": 123,
"by_level": {
"A": 123,
"B": 123,
"C": 123
}
},
"numbers": [
{
"phone_number": "<string>",
"meets_target": true
}
],
"numbers_truncated": true
},
"inbound": {
"window_days": 123,
"window_start": "2023-11-07T05:31:56Z",
"window_end": "2023-11-07T05:31:56Z",
"summary": {
"total": 123,
"verified": 123,
"unverified": 123,
"spoof_risk": 123,
"verified_rate": 123
}
}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}Compliance
Get the org's STIR/SHAKEN attestation posture snapshot
Returns a compliance / fraud posture snapshot: the STIR/SHAKEN attestation level applied to each of the organization’s originating numbers (owned → A, leased pool → B) measured against the attestation target, plus an inbound Identity-header verification summary over the last 30 days classified against the policy. Read-only — it reports on existing data and places no calls.
GET
/
api
/
v1
/
compliance
/
attestation
/
posture
Get the org's STIR/SHAKEN attestation posture snapshot
curl --request GET \
--url https://api.orbit.devotel.io/api/v1/compliance/attestation/posture \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.orbit.devotel.io/api/v1/compliance/attestation/posture"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orbit.devotel.io/api/v1/compliance/attestation/posture', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/compliance/attestation/posture",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/compliance/attestation/posture"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.orbit.devotel.io/api/v1/compliance/attestation/posture")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/compliance/attestation/posture")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"policy": {
"flag_unverified_inbound": true,
"updated_at": "2023-11-07T05:31:56Z"
},
"originating": {
"summary": {
"total": 123,
"meeting_target": 123,
"below_target": 123,
"by_level": {
"A": 123,
"B": 123,
"C": 123
}
},
"numbers": [
{
"phone_number": "<string>",
"meets_target": true
}
],
"numbers_truncated": true
},
"inbound": {
"window_days": 123,
"window_start": "2023-11-07T05:31:56Z",
"window_end": "2023-11-07T05:31:56Z",
"summary": {
"total": 123,
"verified": 123,
"unverified": 123,
"spoof_risk": 123,
"verified_rate": 123
}
}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z"
}
}⌘I