Languages: every operation supports cURL, Node.js (TypeScript), Python, Go, Ruby, and PHP. The first 15 operations on this page show all six languages; the remaining 213 show cURL and TypeScript — the two most-used.
Numbers API
Numbers endpoints exposed by the Devotel CPaaS API Base path:/api/v1/numbers
Endpoint count: 228
Worked sequences
The endpoint list below documents each operation with its parameters, but the two flows that integrate against this surface — renting a number and porting one in — span several calls, and their response bodies are what you branch on. These two sequences show every call in order with the body each one returns.Sequence 1 — rent a number
Go from inventory search to an active, capability-checked number in three calls. Step 1 — search inventory. Filter by country, line type, capability, and area code. Each result carries the per-number capability list and monthly price, so you can filter before you buy.curl "https://api.orbit.devotel.io/api/v1/numbers/available?country=US&type=local&capabilities=sms,voice&area_code=415&limit=5" \
-H "X-API-Key: dv_live_sk_your_key_here"
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({ apiKey: process.env.ORBIT_API_KEY! })
// Typed helper for GET /numbers/available
const { data } = await orbit.numbers.search({
country: 'US',
type: 'local',
capabilities: ['sms', 'voice'],
area_code: '415',
limit: 5,
})
console.log(data.map((n) => n.number))
from orbit_sdk import OrbitClient
client = OrbitClient.from_env()
# Escape hatch — the same call any typed helper makes
results = client.request(
"GET",
"/numbers/available",
params={
"country": "US",
"type": "local",
"capabilities": "sms,voice",
"area_code": "415",
"limit": "5",
},
)
print([n["number"] for n in results["data"]])
package main
import (
"context"
"fmt"
"net/url"
"os"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client := orbit.NewClientFromAPIKey(os.Getenv("ORBIT_API_KEY"))
q := url.Values{}
q.Set("country", "US")
q.Set("type", "local")
q.Set("capabilities", "sms,voice")
q.Set("area_code", "415")
q.Set("limit", "5")
var available map[string]any
if err := client.Request(context.Background(), "GET", "/numbers/available", q, nil, &available, ""); err != nil {
panic(err)
}
fmt.Println(available)
}
require "orbit_sdk"
client = OrbitSdk::Client.from_env
results = client.request(
"GET",
"/numbers/available",
query: { country: "US", type: "local", capabilities: "sms,voice", area_code: "415", limit: "5" },
)
puts results["data"].map { |n| n["number"] }
<?php
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromApiKey(getenv('ORBIT_API_KEY'));
$available = $client->request('GET', '/numbers/available', [
'country' => 'US',
'type' => 'local',
'capabilities' => 'sms,voice',
'area_code' => '415',
'limit' => '5',
]);
echo json_encode($available['data']);
200
{
"data": [
{
"number": "+14155550100",
"country": "US",
"type": "local",
"region": "California",
"capabilities": ["sms", "voice", "mms"],
"monthly_cost": "1.50",
"currency": "USD"
},
{
"number": "+14155550101",
"country": "US",
"type": "local",
"region": "California",
"capabilities": ["sms", "voice", "mms"],
"monthly_cost": "1.50",
"currency": "USD"
}
],
"meta": {
"request_id": "req_num_001",
"timestamp": "2026-08-27T12:00:00Z"
}
}
For a regulated country (most of the EU/EEA, GB, and several others), run
GET /api/v1/numbers/regulatory-preview?country… before this step — it
returns the documents and data fields the carrier requires, and whether a
compliance profile you already hold satisfies them.201 body
returns the owned-number record — save the id, because every follow-up
operation (configure, suspend, release) addresses the number by it. Billing
starts immediately.
curl -X POST https://api.orbit.devotel.io/api/v1/numbers/purchase \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: rent-2026-08-27-001" \
-d '{
"phone_number": "+14155550100",
"country_code": "US",
"capabilities": ["sms", "voice"]
}'
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({ apiKey: process.env.ORBIT_API_KEY! })
// Typed helper for POST /numbers/purchase. The SDK attaches a stable
// Idempotency-Key for the whole retry chain; to pin your own key on a
// retry, use the escape hatch:
// orbit.request('POST', '/numbers/purchase', body, { idempotencyKey: 'rent-2026-08-27-001' })
const { data } = await orbit.numbers.purchase({ number: '+14155550100' })
console.log(data.id, data.status)
from orbit_sdk import OrbitClient
client = OrbitClient.from_env()
purchased = client.request(
"POST",
"/numbers/purchase",
json_body={
"phone_number": "+14155550100",
"country_code": "US",
"capabilities": ["sms", "voice"],
},
idempotency_key="rent-2026-08-27-001",
)
print(purchased["data"]["id"], purchased["data"]["status"])
package main
import (
"context"
"fmt"
"os"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client := orbit.NewClientFromAPIKey(os.Getenv("ORBIT_API_KEY"))
body := map[string]any{
"phone_number": "+14155550100",
"country_code": "US",
"capabilities": []string{"sms", "voice"},
}
var purchased map[string]any
err := client.Request(context.Background(), "POST", "/numbers/purchase", nil, body, &purchased, "rent-2026-08-27-001")
if err != nil {
panic(err)
}
fmt.Println(purchased)
}
require "orbit_sdk"
client = OrbitSdk::Client.from_env
purchased = client.request(
"POST",
"/numbers/purchase",
json_body: { phone_number: "+14155550100", country_code: "US", capabilities: %w[sms voice] },
idempotency_key: "rent-2026-08-27-001",
)
puts purchased.dig("data", "id")
<?php
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromApiKey(getenv('ORBIT_API_KEY'));
$purchased = $client->request(
'POST',
'/numbers/purchase',
null,
['phone_number' => '+14155550100', 'country_code' => 'US', 'capabilities' => ['sms', 'voice']],
'rent-2026-08-27-001',
);
echo $purchased['data']['id'], " ", $purchased['data']['status'];
201
{
"data": {
"id": "num_abc123",
"number": "+14155550100",
"country": "US",
"type": "local",
"capabilities": ["sms", "voice", "mms"],
"status": "active",
"monthly_cost": "1.50",
"currency": "USD",
"created_at": "2026-08-27T12:00:00Z"
},
"meta": {
"request_id": "req_num_002",
"timestamp": "2026-08-27T12:00:00Z"
}
}
id
to confirm it is active and that the capabilities you ordered are the ones
the carrier actually provisioned — a regulated country can hold the number at
pending_compliance until the required documents clear.
curl https://api.orbit.devotel.io/api/v1/numbers/num_abc123 \
-H "X-API-Key: dv_live_sk_your_key_here"
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({ apiKey: process.env.ORBIT_API_KEY! })
// Typed helper for GET /numbers/{id}
const { data } = await orbit.numbers.get('num_abc123')
console.log(data.status, data.liveness)
from orbit_sdk import OrbitClient
client = OrbitClient.from_env()
number = client.request("GET", "/numbers/num_abc123")
print(number["data"]["status"], number["data"]["liveness"])
package main
import (
"context"
"fmt"
"os"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client := orbit.NewClientFromAPIKey(os.Getenv("ORBIT_API_KEY"))
var number map[string]any
if err := client.Request(context.Background(), "GET", "/numbers/num_abc123", nil, nil, &number, ""); err != nil {
panic(err)
}
fmt.Println(number)
}
require "orbit_sdk"
client = OrbitSdk::Client.from_env
number = client.request("GET", "/numbers/num_abc123")
puts number.dig("data", "status")
<?php
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromApiKey(getenv('ORBIT_API_KEY'));
$number = $client->request('GET', '/numbers/num_abc123');
echo $number['data']['status'], " ", $number['data']['liveness'];
200
{
"data": {
"id": "num_abc123",
"number": "+14155550100",
"country": "US",
"type": "local",
"label": "Support line",
"capabilities": ["sms", "voice", "mms"],
"status": "active",
"liveness": "healthy",
"monthly_cost": "1.50",
"currency": "USD",
"created_at": "2026-08-27T12:00:00Z"
},
"meta": {
"request_id": "req_num_003",
"timestamp": "2026-08-27T12:00:00Z"
}
}
Sequence 2 — port a number in
Move an existing number from a losing carrier onto the platform. A full port runseligibility check → LOA upload → submit → poll status; the check step
is optional but cheap, and it turns a multi-day carrier rejection into an
instant answer.
Step 1 — check eligibility (recommended). Run a live pre-flight against
the losing carrier’s database. The response tells you in seconds whether the
number can port; US and Canadian numbers are checked live, other countries
return check-not-supported and proceed straight to submission.
curl -X POST https://api.orbit.devotel.io/api/v1/numbers/porting/check \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{ "phoneNumber": "+14155551234", "currentCarrier": "Acme Telecom" }'
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({ apiKey: process.env.ORBIT_API_KEY! })
// Escape hatch — /numbers/porting/check sits below the typed surface
const { data } = await orbit.request('POST', '/numbers/porting/check', {
phoneNumber: '+14155551234',
currentCarrier: 'Acme Telecom',
})
console.log(data.check_status)
from orbit_sdk import OrbitClient
client = OrbitClient.from_env()
check = client.request(
"POST",
"/numbers/porting/check",
json_body={"phoneNumber": "+14155551234", "currentCarrier": "Acme Telecom"},
)
print(check["data"]["check_status"])
package main
import (
"context"
"fmt"
"os"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client := orbit.NewClientFromAPIKey(os.Getenv("ORBIT_API_KEY"))
body := map[string]any{
"phoneNumber": "+14155551234",
"currentCarrier": "Acme Telecom",
}
var check map[string]any
if err := client.Request(context.Background(), "POST", "/numbers/porting/check", nil, body, &check, ""); err != nil {
panic(err)
}
fmt.Println(check["data"].(map[string]any)["check_status"])
}
require "orbit_sdk"
client = OrbitSdk::Client.from_env
check = client.request(
"POST",
"/numbers/porting/check",
json_body: { phoneNumber: "+14155551234", currentCarrier: "Acme Telecom" },
)
puts check.dig("data", "check_status")
<?php
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromApiKey(getenv('ORBIT_API_KEY'));
$check = $client->request('POST', '/numbers/porting/check', null, [
'phoneNumber' => '+14155551234',
'currentCarrier' => 'Acme Telecom',
]);
echo $check['data']['check_status'];
200
{
"data": {
"phoneNumber": "+14155551234",
"check_status": "portable",
"carrier": "Acme Telecom"
},
"meta": {
"request_id": "req_port_check_001",
"timestamp": "2026-08-27T12:00:00Z"
}
}
201 body
returns the request id and the starting status — porting requests move
submitted → reviewing → approved → completed, with rejected as the
carrier-declined terminal state. Branch on these values; there is no
pending state.
curl -X POST https://api.orbit.devotel.io/api/v1/numbers/porting \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: port-2026-08-27-001" \
-d '{
"numbers": ["+14155551234"],
"currentCarrier": "Acme Telecom",
"authorizedSigner": "John Doe",
"accountNumber": "ACC-12345",
"accountPin": "4821",
"country": "US",
"contactEmail": "ops@example.com"
}'
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({ apiKey: process.env.ORBIT_API_KEY! })
// Escape hatch — /numbers/porting sits below the typed surface here.
// The stable key dedupes a retry of the same submission.
const { data } = await orbit.request(
'POST',
'/numbers/porting',
{
numbers: ['+14155551234'],
currentCarrier: 'Acme Telecom',
authorizedSigner: 'John Doe',
accountNumber: 'ACC-12345',
accountPin: '4821',
country: 'US',
contactEmail: 'ops@example.com',
},
{ idempotencyKey: 'port-2026-08-27-001' },
)
console.log(data.id, data.status)
from orbit_sdk import OrbitClient
client = OrbitClient.from_env()
port = client.request(
"POST",
"/numbers/porting",
json_body={
"numbers": ["+14155551234"],
"currentCarrier": "Acme Telecom",
"authorizedSigner": "John Doe",
"accountNumber": "ACC-12345",
"accountPin": "4821",
"country": "US",
"contactEmail": "ops@example.com",
},
idempotency_key="port-2026-08-27-001",
)
print(port["data"]["id"], port["data"]["status"])
package main
import (
"context"
"fmt"
"os"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client := orbit.NewClientFromAPIKey(os.Getenv("ORBIT_API_KEY"))
body := map[string]any{
"numbers": []string{"+14155551234"},
"currentCarrier": "Acme Telecom",
"authorizedSigner": "John Doe",
"accountNumber": "ACC-12345",
"accountPin": "4821",
"country": "US",
"contactEmail": "ops@example.com",
}
var port map[string]any
err := client.Request(context.Background(), "POST", "/numbers/porting", nil, body, &port, "port-2026-08-27-001")
if err != nil {
panic(err)
}
fmt.Println(port)
}
require "orbit_sdk"
client = OrbitSdk::Client.from_env
port = client.request(
"POST",
"/numbers/porting",
json_body: {
numbers: ["+14155551234"],
currentCarrier: "Acme Telecom",
authorizedSigner: "John Doe",
accountNumber: "ACC-12345",
accountPin: "4821",
country: "US",
contactEmail: "ops@example.com",
},
idempotency_key: "port-2026-08-27-001",
)
puts port.dig("data", "id"), port.dig("data", "status")
<?php
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromApiKey(getenv('ORBIT_API_KEY'));
$port = $client->request(
'POST',
'/numbers/porting',
null,
[
'numbers' => ['+14155551234'],
'currentCarrier' => 'Acme Telecom',
'authorizedSigner' => 'John Doe',
'accountNumber' => 'ACC-12345',
'accountPin' => '4821',
'country' => 'US',
'contactEmail' => 'ops@example.com',
],
'port-2026-08-27-001',
);
echo $port['data']['id'], " ", $port['data']['status'];
201
{
"data": {
"id": "port_abc123",
"numbers": ["+14155551234"],
"status": "submitted",
"submittedAt": "2026-08-27T12:00:00Z"
},
"meta": {
"request_id": "req_port_001",
"timestamp": "2026-08-27T12:00:00Z"
}
}
recommendedAction when the port is waiting on you (for example, a
supplement on a rejection). Porting typically takes 7–14 business days
depending on the country and carrier — subscribe to the number.ported
webhook instead of polling once you are past submission.
curl https://api.orbit.devotel.io/api/v1/numbers/porting/port_abc123/timeline \
-H "X-API-Key: dv_live_sk_your_key_here"
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({ apiKey: process.env.ORBIT_API_KEY! })
// Escape hatch — the porting timeline sits below the typed surface
const { data } = await orbit.request('GET', '/numbers/porting/port_abc123/timeline')
for (const stage of data.timeline) {
console.log(stage.stage, stage.at, stage.recommendedAction ?? '')
}
from orbit_sdk import OrbitClient
client = OrbitClient.from_env()
timeline = client.request("GET", "/numbers/porting/port_abc123/timeline")
for stage in timeline["data"]["timeline"]:
print(stage["stage"], stage["at"], stage.get("recommendedAction", ""))
package main
import (
"context"
"fmt"
"os"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client := orbit.NewClientFromAPIKey(os.Getenv("ORBIT_API_KEY"))
var timeline map[string]any
if err := client.Request(context.Background(), "GET", "/numbers/porting/port_abc123/timeline", nil, nil, &timeline, ""); err != nil {
panic(err)
}
fmt.Println(timeline["data"])
}
require "orbit_sdk"
client = OrbitSdk::Client.from_env
timeline = client.request("GET", "/numbers/porting/port_abc123/timeline")
timeline.dig("data", "timeline").each { |stage| puts "#{stage['stage']} #{stage['at']}" }
<?php
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromApiKey(getenv('ORBIT_API_KEY'));
$timeline = $client->request('GET', '/numbers/porting/port_abc123/timeline');
foreach ($timeline['data']['timeline'] as $stage) {
echo $stage['stage'], " ", $stage['at'], "\n";
}
200
{
"data": {
"id": "port_abc123",
"status": "approved",
"timeline": [
{
"stage": "submitted",
"at": "2026-08-27T12:00:00Z"
},
{
"stage": "validating_loa",
"at": "2026-08-27T14:20:00Z"
},
{
"stage": "carrier_review",
"at": "2026-08-28T09:05:00Z"
},
{
"stage": "foc_scheduled",
"at": "2026-08-30T11:00:00Z",
"focDate": "2026-09-03",
"recommendedAction": "none"
}
]
},
"meta": {
"request_id": "req_port_timeline_001",
"timestamp": "2026-09-01T12:00:00Z"
}
}
completed, the numbers appear in your
GET /api/v1/numbers/ inventory as active.
Error samples
Two purchase-time rejections account for most failed buys; both return the standard error envelope with a stablecode you can branch on.
Branching on the codes — each SDK surfaces the same code on its typed
error, so the recovery path is one switch:
import { Orbit, OrbitApiError } from '@devotel-orbit/node'
const orbit = new Orbit({ apiKey: process.env.ORBIT_API_KEY! })
try {
const { data } = await orbit.numbers.purchase({ number: '+4915123456789' })
console.log(data.id)
} catch (err) {
if (err instanceof OrbitApiError) {
switch (err.code) {
case 'COMPLIANCE_PROFILE_REQUIRED':
console.error('approve a compliance profile covering the country, then retry with its id')
break
case 'NUMBER_ALREADY_TAKEN':
console.error('re-run the inventory search and submit the next candidate')
break
default:
console.error(err.statusCode, err.code, err.message)
}
} else {
throw err
}
}
from orbit_sdk import OrbitClient, OrbitError
client = OrbitClient.from_env()
try:
purchased = client.request(
"POST",
"/numbers/purchase",
json_body={"phone_number": "+4915123456789", "country_code": "DE"},
)
print(purchased["data"]["id"])
except OrbitError as exc:
if exc.code == "COMPLIANCE_PROFILE_REQUIRED":
print("approve a compliance profile covering the country, then retry with its id")
elif exc.code == "NUMBER_ALREADY_TAKEN":
print("re-run the inventory search and submit the next candidate")
else:
print(exc.status, exc.code, exc.message)
curl -X POST https://api.orbit.devotel.io/api/v1/numbers/purchase \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: rent-de-2026-08-27-001" \
-d '{ "phone_number": "+4915123456789", "country_code": "DE", "capabilities": ["sms","voice"] }'
// Retry-with-profile variant of the same purchase (see the typed/escape-hatch
// pair above) — a stable Idempotency-Key scopes the retry to this attempt.
const res = await fetch('https://api.orbit.devotel.io/api/v1/numbers/purchase', {
method: 'POST',
headers: {
'X-API-Key': process.env.ORBIT_API_KEY!,
'Content-Type': 'application/json',
'Idempotency-Key': 'rent-de-2026-08-27-001',
},
body: JSON.stringify({
phone_number: '+4915123456789',
country_code: 'DE',
capabilities: ['sms', 'voice'],
compliance_profile_id: 'cp_your_profile_id',
}),
})
console.log(res.status, await res.json())
422
{
"error": {
"code": "COMPLIANCE_PROFILE_REQUIRED",
"status": 422,
"message": "DE is a regulated country — the carrier won't activate a number without an approved compliance profile. Create / approve a profile that covers DE in Settings → Compliance, then retry the purchase. No wallet debit was attempted.",
"details": { "country": "DE" }
},
"meta": {
"request_id": "req_num_004",
"timestamp": "2026-08-27T12:01:00Z"
}
}
compliance_profile_id on the retry. No billing happens on this rejection —
your balance is untouched.
Number already owned — the number sold between your search and your
purchase, or is already on an account:
curl -X POST https://api.orbit.devotel.io/api/v1/numbers/purchase \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: rent-us-2026-08-27-002" \
-d '{ "phone_number": "+14155550100", "country_code": "US" }'
// Fresh Idempotency-Key for a fresh attempt — reusing a key that already
// failed would replay the original rejection.
const res = await fetch('https://api.orbit.devotel.io/api/v1/numbers/purchase', {
method: 'POST',
headers: {
'X-API-Key': process.env.ORBIT_API_KEY!,
'Content-Type': 'application/json',
'Idempotency-Key': 'rent-us-2026-08-27-002',
},
body: JSON.stringify({ phone_number: '+14155550100', country_code: 'US' }),
})
console.log(res.status, await res.json())
409
{
"error": {
"code": "NUMBER_ALREADY_TAKEN",
"status": 409,
"message": "This number was just reserved by another user. Please select a different number.",
"details": { "phone_number": "+1415****" }
},
"meta": {
"request_id": "req_num_005",
"timestamp": "2026-08-27T12:02:00Z"
}
}
Connectivity SIM commands — worked accepted envelope
POST /api/v1/numbers/connectivity/sims/{iccid}/commands sends an M2M SMS
command to a SIM device and returns 202 with the dispatched message
record. Because the op is accepted asynchronously, the generated endpoint
page below shows only the envelope placeholder ("data": {}) — the full
record shape you can branch on looks like this:
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims/8942790014173625180/commands" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: sim-cmd-2026-09-21-001" \
-d '{ "to": "+14155552671", "from": "+14155552672", "body": "REBOOT" }'
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({ apiKey: process.env.ORBIT_API_KEY! })
// Async dispatch: the `202` envelope is the ack; poll the message id for
// delivery state.
const { data } = await orbit.numbers.connectivity.simCommand('8942790014173625180', {
to: '+14155552671',
from: '+14155552672',
body: 'REBOOT',
})
console.log(data.id, data.status)
from orbit_sdk import OrbitClient
client = OrbitClient.from_env()
record = client.request(
"POST",
"/numbers/connectivity/sims/8942790014173625180/commands",
json={"to": "+14155552671", "from": "+14155552672", "body": "REBOOT"},
)
print(record["data"]["id"], record["data"]["status"])
package main
import (
"context"
"fmt"
"os"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client := orbit.NewClientFromAPIKey(os.Getenv("ORBIT_API_KEY"))
body := map[string]any{"to": "+14155552671", "from": "+14155552672", "body": "REBOOT"}
var ack map[string]any
if err := client.Request(context.Background(), "POST", "/numbers/connectivity/sims/8942790014173625180/commands", nil, body, &ack, "sim-cmd-2026-09-21-001"); err != nil {
panic(err)
}
fmt.Println(ack)
}
require "orbit_sdk"
client = OrbitSdk::Client.from_env
ack = client.request(
"POST",
"/numbers/connectivity/sims/8942790014173625180/commands",
json: { to: "+14155552671", from: "+14155552672", body: "REBOOT" },
)
puts ack["data"]["id"]
<?php
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromApiKey(getenv('ORBIT_API_KEY'));
$ack = $client->request('POST', '/numbers/connectivity/sims/8942790014173625180/commands', [
'to' => '+14155552671',
'from' => '+14155552672',
'body' => 'REBOOT',
]);
echo json_encode($ack['data']);
202
{
"data": {
"id": "message_cmd_01HZYK4Q2B9F4D3",
"status": "sent",
"channel": "sms",
"to": "+14155552671",
"from": "+14155552672",
"connectivity_sim_iccid": "8942790014173625180"
},
"meta": {
"request_id": "req_sim_cmd_001",
"timestamp": "2026-09-21T12:00:00Z"
}
}
data record mirrors POST /messages/sms plus the
connectivity_sim_iccid tag, so you can reconcile the command against the
SIM lifecycle (see the connectivity SIM lifecycle
guide). A terminated SIM rejects the
dispatch with 409 (no device left to command); an iccid the
organisation does not own returns 404.
List numbers
GET /api/v1/numberscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers');
echo json_encode($result);
{
"data": {
"numbers_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get numbers
GET /api/v1/numbers/{id}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
echo json_encode($result);
{
"data": {
"id": "smo_01JEQS4E7JQ4M2E2H2DM9XE5FH",
"status": "active"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Per-DID configuration activity log
GET /api/v1/numbers/{id}/activity-logaudit_logs, org-scoped + ownership-gated. Read-only; scoped on numbers:read.
Opaque
<created_at>|<id> cursor from the previous page’s meta.pagination.cursor. Omit for the first page.Optional exact audit-action filter (e.g.
number.cnam_registered) for a targeted compliance lookup.cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/activity-log" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/activity-log');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/activity-log")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/activity-log", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/activity-log')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/activity-log');
echo json_encode($result);
{
"data": [
{
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"action": "string",
"actor_user_id": null,
"performed_via": null,
"ip_address": null,
"details": null,
"created_at": "1970-01-01T00:00:00.000Z"
}
],
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"pagination": {
"cursor": "string",
"has_more": false,
"total": 0
}
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Get the branded-caller profile for a number
GET /api/v1/numbers/{id}/branded-caller-profileprofile: null when none has been captured. Pure read; org-ownership gated.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile');
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"profile": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
List branded-calling-analytics
GET /api/v1/numbers/{id}/branded-calling-analyticscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-calling-analytics" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-calling-analytics');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-calling-analytics")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-calling-analytics", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-calling-analytics')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-calling-analytics');
echo json_encode($result);
{
"data": {
"branded_calling_analytics_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List branded-calling-cohort
GET /api/v1/numbers/{id}/branded-calling-cohortcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-calling-cohort" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-calling-cohort');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-calling-cohort")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-calling-cohort", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-calling-cohort')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-calling-cohort');
echo json_encode($result);
{
"data": {
"branded_calling_cohort_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List campaign-assignment
GET /api/v1/numbers/{id}/campaign-assignmentcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment');
echo json_encode($result);
{
"data": {
"campaign_assignment_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List cnam
GET /api/v1/numbers/{id}/cnamcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam');
echo json_encode($result);
{
"data": {
"cnam_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List dip
GET /api/v1/numbers/{id}/cnam/dipcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/dip" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/dip');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/dip")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/dip", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/dip')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/dip');
echo json_encode($result);
{
"data": {
"dip_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List spam-labels
GET /api/v1/numbers/{id}/cnam/spam-labelscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/spam-labels" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/spam-labels');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/spam-labels")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/spam-labels", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/spam-labels')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/spam-labels');
echo json_encode($result);
{
"data": {
"spam_labels_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List cost-analytics
GET /api/v1/numbers/{id}/cost-analyticscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cost-analytics" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cost-analytics');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cost-analytics")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cost-analytics", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cost-analytics')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cost-analytics');
echo json_encode($result);
{
"data": {
"cost_analytics_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get the deliverability score for a number
GET /api/v1/numbers/{id}/deliverability-scorecURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/deliverability-score" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/deliverability-score');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/deliverability-score")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/deliverability-score", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/deliverability-score')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/deliverability-score');
echo json_encode($result);
{
"data": {
"deliverability_score_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get the 411/DA directory listing for a number
GET /api/v1/numbers/{id}/directory-listinglisting: null when nothing has been captured yet. Pure read; no carrier call. Org-ownership gated.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing');
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"listing": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
List documents
GET /api/v1/numbers/{id}/documentscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents');
echo json_encode($result);
{
"data": {
"documents_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List emergency-address
GET /api/v1/numbers/{id}/emergency-addresscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address');
echo json_encode($result);
{
"data": {
"emergency_address_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List the dispatchable emergency locations for a number
Need this flow in Python, Go, Ruby, or PHP? The Worked sequences section renders this surface’s hero flows in the full six-language group.
GET /api/v1/numbers/{id}/emergency-address/locationdevice_key, plus the bounded update history. These dynamic, per-device locations layer on top of the DID’s single static emergency address (GET /numbers/{id}/emergency-address) without replacing it, so a nomadic soft-phone user gets a distinct dispatchable address at call time (RAY BAUM’s Act / Kari’s Law). Returns empty locations/history when nothing has been registered. Pure read; org-ownership gated.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location');
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"locations": {},
"history": [
{
"device_key": "string",
"source": "manual",
"address_summary": "string",
"validation_status": "valid",
"recorded_at": "1970-01-01T00:00:00.000Z"
}
]
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
List fax-routing
GET /api/v1/numbers/{id}/fax-routingcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/fax-routing" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/fax-routing');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/fax-routing")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/fax-routing", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/fax-routing')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/fax-routing');
echo json_encode($result);
{
"data": {
"fax_routing_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List flood-guard
GET /api/v1/numbers/{id}/flood-guardcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/flood-guard" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/flood-guard');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/flood-guard")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/flood-guard", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/flood-guard')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/flood-guard');
echo json_encode($result);
{
"data": {
"flood_guard_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get the deliverability health score for a number
GET /api/v1/numbers/{id}/healthcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/health" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/health');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/health")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/health", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/health')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/health');
echo json_encode($result);
{
"data": {
"numbers_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get the deliverability health trend + forecast for a number
GET /api/v1/numbers/{id}/health/trendcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/health/trend" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/health/trend');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/health/trend")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/health/trend", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/health/trend')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/health/trend');
echo json_encode($result);
{
"data": {
"trend_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List network-events
GET /api/v1/numbers/{id}/network-eventscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/network-events" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/network-events');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/network-events")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/network-events", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/network-events')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/network-events');
echo json_encode($result);
{
"data": {
"network_events_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List port-out-protection
GET /api/v1/numbers/{id}/port-out-protectioncURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection');
echo json_encode($result);
{
"data": {
"port_out_protection_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List regulator
GET /api/v1/numbers/{id}/regulatorcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/regulator" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/regulator');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/regulator")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/regulator", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/regulator')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/regulator');
echo json_encode($result);
{
"data": {
"regulator_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List reputation
GET /api/v1/numbers/{id}/reputationcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation');
echo json_encode($result);
{
"data": {
"reputation_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List scheduled-release
GET /api/v1/numbers/{id}/scheduled-releasecURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release');
echo json_encode($result);
{
"data": {
"scheduled_release_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get SMS spam-complaint feedback loop for a number
GET /api/v1/numbers/{id}/sms-complaintscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints');
echo json_encode($result);
{
"data": {
"phone_number_id": "num_01J8N6A0K1DRMDM3R0T0",
"phone_number": "+14155550142",
"monitored": true,
"rollup": {
"window_days": 30,
"level": "elevated",
"complaint_count": 12,
"message_count": 6200,
"complaint_rate": 0.0019,
"sample_sufficient": true,
"sources": [
"tmobile",
"aggregator"
],
"report_count": 2,
"first_report_at": "2026-08-01T00:00:00.000Z",
"last_report_at": "2026-08-25T23:59:59.000Z",
"auto_suppress_recommended": false
},
"suppression": null,
"thresholds": {
"rate": {
"elevated": 0.001,
"high": 0.002,
"critical": 0.005
},
"absolute_floors": {
"elevated": 5,
"high": 20,
"critical": 100
},
"min_message_sample": 500
},
"reports": [
{
"source": "tmobile",
"period_start": "2026-08-01T00:00:00.000Z",
"period_end": "2026-08-15T23:59:59.000Z",
"complaint_count": 5,
"message_count": 3100,
"reference": "TMO-FBL-2026-08-3317",
"observed_at": "2026-08-16T06:02:44.000Z"
},
{
"source": "aggregator",
"period_start": "2026-08-16T00:00:00.000Z",
"period_end": "2026-08-25T23:59:59.000Z",
"complaint_count": 7,
"message_count": 3100,
"reference": null,
"observed_at": "2026-08-26T06:11:09.000Z"
}
],
"last_ingested_at": "2026-08-26T06:11:09.000Z"
},
"meta": {
"request_id": "req_01J8QDA6NK7W6QF0B2R16",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get the predictive spam-likelihood score for a number
GET /api/v1/numbers/{id}/spam-likelihoodcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/spam-likelihood" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/spam-likelihood');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/spam-likelihood")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/spam-likelihood", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/spam-likelihood')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/spam-likelihood');
echo json_encode($result);
{
"data": {
"spam_likelihood_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List tfv
GET /api/v1/numbers/{id}/tfvcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv');
echo json_encode($result);
{
"data": {
"tfv_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List usage-analytics
GET /api/v1/numbers/{id}/usage-analyticscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/usage-analytics" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/usage-analytics');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/usage-analytics")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/usage-analytics", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/usage-analytics')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/usage-analytics');
echo json_encode($result);
{
"data": {
"usage_analytics_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get the 10DLC warming-tier state for a number
GET /api/v1/numbers/{id}/warmingcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/warming" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/warming');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/warming")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/warming", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/warming')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/warming');
echo json_encode($result);
{
"data": {
"warming_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get the number-warming progression forecast
GET /api/v1/numbers/{id}/warming/progressioncURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/warming/progression" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/warming/progression');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/warming/progression")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/warming/progression", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/warming/progression')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/warming/progression');
echo json_encode($result);
{
"data": {
"progression_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get a number’s inbound call/SMS route
GET /api/v1/numbers/{phoneNumber}/routingtype (e.g. agent, voicemail, ivr, sip_forward, ring_group), its config, any fallback, business-hours gating, caller-ID filtering, and recording override. Returns 404 when no route is configured (treat as the default voicemail behaviour) or when the number is not owned by the caller’s organization. This reads INBOUND handling only; it does not affect outbound calling. Read-only; scoped on the numbers resource (numbers:read or numbers:write). SIP passwords are redacted to ***.
The DID in E.164 (e.g.
+14155550100). A leading + is optional — it is added if missing.cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/%2B14155551234/routing" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/%2B14155551234/routing');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/%2B14155551234/routing")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/%2B14155551234/routing", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/%2B14155551234/routing')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/%2B14155551234/routing');
echo json_encode($result);
{
"data": {},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
List applications
GET /api/v1/numbers/applicationscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/applications" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/applications');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/applications")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/applications", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/applications')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/applications');
echo json_encode($result);
{
"data": {
"applications_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get applications
GET /api/v1/numbers/applications/{id}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
echo json_encode($result);
{
"data": {
"id": "smo_01JEQS4E7JQ4M2E2H2DM9XE5FH",
"status": "active"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
STIR/SHAKEN attestation analytics
GET /api/v1/numbers/attestation-analyticsnumbers:read.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/attestation-analytics" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/attestation-analytics');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/attestation-analytics")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/attestation-analytics", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/attestation-analytics')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/attestation-analytics');
echo json_encode($result);
{
"data": {
"window": "string",
"window_start": "1970-01-01T00:00:00.000Z",
"window_end": "1970-01-01T00:00:00.000Z",
"totals": {
"total": 0,
"answered": 0,
"answer_rate": null
},
"by_level": [
{
"level": "string",
"total": 0,
"answered": 0,
"answer_rate": null,
"share": null,
"answer_rate_lift_vs_c": null
}
],
"downgrade": {
"total": 0,
"share": null,
"by_cause": [
{
"cause": "string",
"count": 0
}
]
},
"trend": [
{
"period": "1970-01-01T00:00:00.000Z",
"a": 0,
"b": 0,
"c": 0,
"unknown": 0
}
]
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Search available numbers to buy
GET /api/v1/numbers/availablenear_lat_lng / near_postal_code + distance), and price. Returns paginated candidates — each with its E.164 number, capabilities, monthly + one-time setup price, two-way-SMS flag, and (when resolved) rate center / state / LATA / distance-in-miles — plus a per-country compliance preflight (required / eligible) so a buyer knows up front whether documents are needed. When every carrier is unavailable or unconfigured the response carries setup_required / inventory_limited hints instead of a hard error. Pass a chosen number to POST /numbers/purchase. Read-only discovery; scoped on the numbers resource (numbers:read or numbers:write).
US rate center (exchange/wire-center) name to restrict to, e.g.
SAN FRANCISCO (Bandwidth/Telnyx local-number-selection parity). US/CA only.US LATA code (Local Access and Transport Area), 3-5 digits, e.g.
132 for New York Metro. Resolved from each candidate’s NANP area code. US only.Twilio-parity geo proximity — restrict to numbers whose NPA centroid is within
distance miles of this point. Format <lat>,<lng>, e.g. 37.7749,-122.4194. US/CA only.Twilio-parity geo proximity via US ZIP code — resolved to its 3-digit prefix centroid. When both
near_lat_lng and near_postal_code are supplied, near_lat_lng wins.cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/available" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/available');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/available")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/available", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/available')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/available');
echo json_encode($result);
{
"data": {
"numbers": [
{
"phoneNumber": "string",
"country": "string",
"type": "string",
"capabilities": [
"string"
],
"monthlyRate": 0,
"setupRate": 0,
"sms_two_way": false,
"rate_center": "string",
"state": "string",
"lata": "string",
"lata_name": "string",
"distance_miles": 0,
"compliance_gating": "pre_order"
}
],
"compliance": {
"country": "string",
"required": false,
"eligible": false,
"gatingMode": "pre_order"
},
"pagination": {
"page": 0,
"limit": 0,
"total": 0,
"total_pages": 0,
"has_more": false
},
"setup_required": false,
"inventory_limited": false
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
List block
GET /api/v1/numbers/available/blockcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/available/block" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/available/block');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/available/block")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/available/block", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/available/block')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/available/block');
echo json_encode($result);
{
"data": {
"block_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List countries with available number inventory
GET /api/v1/numbers/available/countrieslocal, mobile, toll_free) each can supply. Drives the country dropdown on the Buy Numbers page so a buyer only ever sees countries a search can actually fill. Inventory-truthful — a country with zero live stock never appears — aggregated across carriers (carrier names are never surfaced) and cached ~24h. Read-only; scoped on the numbers resource (numbers:read or numbers:write).
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/available/countries" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/available/countries');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/available/countries")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/available/countries", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/available/countries')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/available/countries');
echo json_encode($result);
{
"data": {
"countries": [
{
"code": "string",
"name": "string",
"types": [
"string"
]
}
]
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Get bulk-reserve
GET /api/v1/numbers/bulk-reserve/{id}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
echo json_encode($result);
{
"data": {
"id": "smo_01JEQS4E7JQ4M2E2H2DM9XE5FH",
"status": "active"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List fleets
GET /api/v1/numbers/connectivity/fleetscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/connectivity/fleets" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/connectivity/fleets');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/connectivity/fleets")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/connectivity/fleets", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/connectivity/fleets')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/connectivity/fleets');
echo json_encode($result);
{
"data": {
"fleets_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List network-access
GET /api/v1/numbers/connectivity/fleets/{fleetId}/network-accesscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/connectivity/fleets/fleet_demo/network-access" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/connectivity/fleets/fleet_demo/network-access');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/connectivity/fleets/fleet_demo/network-access")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/connectivity/fleets/fleet_demo/network-access", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/connectivity/fleets/fleet_demo/network-access')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/connectivity/fleets/fleet_demo/network-access');
echo json_encode($result);
{
"data": {
"network_access_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List plans
GET /api/v1/numbers/connectivity/planscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/connectivity/plans" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/connectivity/plans');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/connectivity/plans")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/connectivity/plans", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/connectivity/plans')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/connectivity/plans');
echo json_encode($result);
{
"data": {
"plans_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get a connectivity data plan
GET /api/v1/numbers/connectivity/plans/{id}esim | iot-sim). Plans are DATA-ONLY: outbound voice/SMS capability is never exposed (invariant #45 — outbound MT exits only via the Devotel softswitch). Returns 404 on an unknown plan id. Read-only; requires the numbers:read scope.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/connectivity/plans/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/connectivity/plans/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/connectivity/plans/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/connectivity/plans/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/connectivity/plans/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/connectivity/plans/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
echo json_encode($result);
{
"data": {
"plan": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
List cost-estimate
GET /api/v1/numbers/connectivity/plans/{id}/cost-estimatecURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/connectivity/plans/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cost-estimate" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/connectivity/plans/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cost-estimate');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/connectivity/plans/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cost-estimate")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/connectivity/plans/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cost-estimate", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/connectivity/plans/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cost-estimate')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/connectivity/plans/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cost-estimate');
echo json_encode($result);
{
"data": {
"cost_estimate_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List sims
GET /api/v1/numbers/connectivity/simscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/connectivity/sims');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/connectivity/sims")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/connectivity/sims", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/connectivity/sims')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/connectivity/sims');
echo json_encode($result);
{
"data": {
"sims_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get a connectivity SIM
GET /api/v1/numbers/connectivity/sims/{iccid}ordered, active, suspended, terminated), the subscribed data plan, accumulated usage, and the eUICC / eSIM profile where one is assigned. Org-ownership gated: an ICCID another org owns returns 404, never the SIM. Read-only; requires the numbers:read scope.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims/iccid_demo" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/connectivity/sims/iccid_demo');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/connectivity/sims/iccid_demo")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/connectivity/sims/iccid_demo", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/connectivity/sims/iccid_demo')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/connectivity/sims/iccid_demo');
echo json_encode($result);
{
"data": {},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
List activation
GET /api/v1/numbers/connectivity/sims/{iccid}/esim/activationcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims/iccid_demo/esim/activation" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/connectivity/sims/iccid_demo/esim/activation');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/connectivity/sims/iccid_demo/esim/activation")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/connectivity/sims/iccid_demo/esim/activation", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/connectivity/sims/iccid_demo/esim/activation')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/connectivity/sims/iccid_demo/esim/activation');
echo json_encode($result);
{
"data": {
"activation_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get a connectivity SIM’s data usage
GET /api/v1/numbers/connectivity/sims/{iccid}/usageusage_bytes, the plan’s data_limit_bytes, the configured warning_threshold_pct, and the most recent data sessions — to gauge how close the SIM is to its monthly cap without polling the carrier. Data sessions are recorded via POST /numbers/connectivity/sims//usage. Read-only; requires the numbers:read scope.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims/iccid_demo/usage" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/connectivity/sims/iccid_demo/usage');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/connectivity/sims/iccid_demo/usage")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/connectivity/sims/iccid_demo/usage", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/connectivity/sims/iccid_demo/usage')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/connectivity/sims/iccid_demo/usage');
echo json_encode($result);
{
"data": {
"iccid": "string",
"plan_id": "string",
"state": "string",
"usage_bytes": 0,
"data_limit_bytes": null,
"warning_threshold_pct": null,
"sessions": [
{}
]
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Get number cost analytics
GET /api/v1/numbers/cost-analyticscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/cost-analytics" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/cost-analytics');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/cost-analytics")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/cost-analytics", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/cost-analytics')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/cost-analytics');
echo json_encode($result);
{
"data": {
"cost_analytics_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Per-country capability + stock summary
GET /api/v1/numbers/country-capabilities(line_type × capability) inventory summary for a single country so a buyer can see the stock reality (e.g. GB has plenty of local-voice numbers but 0 SMS-capable mobiles) BEFORE running /numbers/available. Counts are bucketed and clamped at 100 (100 means ‘plenty’, not exactly one hundred), aggregated across carriers (provider names are never surfaced), and cached server-side for 5 minutes. Pre-purchase discovery read; scoped on numbers:read.
ISO 3166-1 alpha-2 country code to summarise (e.g.
GB, US). Required — a missing/invalid value returns a 422 envelope from the handler.cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/country-capabilities" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/country-capabilities');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/country-capabilities")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/country-capabilities", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/country-capabilities')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/country-capabilities');
echo json_encode($result);
{
"data": {
"country": "string",
"summary": {
"mobile_sms": 0,
"mobile_voice": 0,
"local_sms": 0,
"local_voice": 0,
"toll_free": 0,
"toll_free_sms": 0
},
"two_way_sms": 0,
"us_uses_10dlc": false,
"local_sms_via_10dlc": 0,
"last_updated": "1970-01-01T00:00:00.000Z"
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
List numbers with expiring regulatory documents
GET /api/v1/numbers/document-expiry-alerts?days=). Each row carries the soonest expiry, days-to-expiry, and a suggested_action (renew | renew_or_release) so the dashboard can warn customers before they silently lose a number to a compliance lapse. Read-only; scoped on numbers:read.
Optional look-ahead window override (integer 1–365). When omitted, the per-tenant org setting (or the platform default of 30) is used.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/document-expiry-alerts" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/document-expiry-alerts');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/document-expiry-alerts")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/document-expiry-alerts", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/document-expiry-alerts')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/document-expiry-alerts');
echo json_encode($result);
{
"data": {
"window_days": 0,
"default_window_days": 0,
"summary": {
"alert_count": 0,
"expired_count": 0,
"expiring_soon_count": 0
},
"alerts": [
{
"phone_number_id": "+14155552671",
"phone_number": "+14155552671",
"label": null,
"country_code": "string",
"status": "delivered",
"earliest_expiry_at": "1970-01-01T00:00:00.000Z",
"earliest_expiry_source": "compliance_deadline",
"days_to_expiry": 0,
"expired": false,
"attached_document_count": 0,
"suggested_action": "renew",
"threshold_days": 0
}
],
"truncated": false
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
List dormant DID release candidates
GET /api/v1/numbers/dormancy-alerts?days=). Each row carries the reclaimable monthly spend and a suggested_release flag so the dashboard can drive silent-number cost trimming. Companion read surface to the number.dormant webhook. Read-only; scoped on numbers:read.
Optional dormancy window override (integer 1–365). When omitted, the per-tenant org setting (or the platform default of 30) is used.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/dormancy-alerts" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/dormancy-alerts');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/dormancy-alerts")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/dormancy-alerts", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/dormancy-alerts')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/dormancy-alerts');
echo json_encode($result);
{
"data": {
"dormancy_days": 0,
"default_dormancy_days": 0,
"currency": "string",
"summary": {
"dormant_count": 0,
"never_used_count": 0,
"reclaimable_monthly_spend": 0
},
"alerts": [
{
"phone_number_id": "+14155552671",
"phone_number": "+14155552671",
"label": null,
"country_code": "string",
"monthly_cost": 0,
"last_activity_at": null,
"dormant_days": null,
"never_used": false,
"owned_days": 0,
"threshold_days": 0,
"suggested_release": false
}
],
"truncated": false
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Export the number inventory
GET /api/v1/numbers/exportcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/export" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/export');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/export")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/export", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/export')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/export');
echo json_encode($result);
{
"data": {
"export_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List hosted-messaging
GET /api/v1/numbers/hosted-messagingcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/hosted-messaging" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/hosted-messaging');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/hosted-messaging")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/hosted-messaging", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/hosted-messaging')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/hosted-messaging');
echo json_encode($result);
{
"data": {
"hosted_messaging_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get hosted-messaging
GET /api/v1/numbers/hosted-messaging/{id}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
echo json_encode($result);
{
"data": {
"id": "smo_01JEQS4E7JQ4M2E2H2DM9XE5FH",
"status": "active"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Inbound STIR/SHAKEN attestation analytics
GET /api/v1/numbers/inbound-attestation-analyticsnumbers:read.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/inbound-attestation-analytics" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/inbound-attestation-analytics');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/inbound-attestation-analytics")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/inbound-attestation-analytics", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/inbound-attestation-analytics')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/inbound-attestation-analytics');
echo json_encode($result);
{
"data": {
"window": "string",
"window_start": "1970-01-01T00:00:00.000Z",
"window_end": "1970-01-01T00:00:00.000Z",
"totals": {
"total": 0,
"answered": 0,
"answer_rate": null
},
"by_level": [
{
"level": "string",
"total": 0,
"answered": 0,
"answer_rate": null,
"share": null,
"answer_rate_lift_vs_a": null
}
],
"spoof_risk": {
"total": 0,
"share": null,
"by_cause": [
{
"cause": "string",
"count": 0
}
]
},
"trend": [
{
"period": "1970-01-01T00:00:00.000Z",
"a": 0,
"b": 0,
"c": 0,
"failed": 0,
"none": 0,
"unknown": 0
}
]
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
List health
GET /api/v1/numbers/inbound-resolution/healthcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/inbound-resolution/health" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/inbound-resolution/health');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/inbound-resolution/health")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/inbound-resolution/health", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/inbound-resolution/health')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/inbound-resolution/health');
echo json_encode($result);
{
"data": {
"inbound_resolution_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List inbound reverse-map gaps
GET /api/v1/numbers/inbound-reverse-map-gapcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/inbound-reverse-map-gap" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/inbound-reverse-map-gap');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/inbound-reverse-map-gap")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/inbound-reverse-map-gap", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/inbound-reverse-map-gap')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/inbound-reverse-map-gap');
echo json_encode($result);
{
"data": {
"inbound_reverse_map_gap_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List international freephone orders
GET /api/v1/numbers/international-freephonecURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/international-freephone" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/international-freephone');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/international-freephone")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/international-freephone", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/international-freephone')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/international-freephone');
echo json_encode($result);
{
"data": [
{}
],
"meta": {}
}
Get international-freephone
GET /api/v1/numbers/international-freephone/{id}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
echo json_encode($result);
{
"data": {
"id": "smo_01JEQS4E7JQ4M2E2H2DM9XE5FH",
"status": "active"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List international freephone coverage
GET /api/v1/numbers/international-freephone/coveragecURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/international-freephone/coverage" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/international-freephone/coverage');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/international-freephone/coverage")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/international-freephone/coverage", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/international-freephone/coverage')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/international-freephone/coverage');
echo json_encode($result);
{
"data": {
"uifn": {
"countryCode": "string",
"countries": [
"string"
]
},
"itfs": {
"countries": [
"string"
]
}
},
"meta": {}
}
List low-stock inventory alerts
GET /api/v1/numbers/inventory-alertscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/inventory-alerts" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/inventory-alerts');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/inventory-alerts")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/inventory-alerts", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/inventory-alerts')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/inventory-alerts');
echo json_encode($result);
{
"data": {
"inventory_alerts_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Number-Intelligence lookup history & spend analytics
GET /api/v1/numbers/lookup-historypublic.credit_transactions) of every billed number lookup (single, by-number, trust-package, and bulk all debit the wallet via the number_lookup channel). Returns, scoped to the caller’s org: a daily lookup-count + spend series over the requested window, the configured per-tenant daily cost cap with today’s spend against it, and a recent-activity feed. No carrier call and no mutation. Read-only; scoped on numbers:read.
Window length in days for the daily series. Integer 1-90, default 30; out-of-range or non-numeric values are rejected by the handler with a 422 VALIDATION_ERROR.
Number of entries in the recent-activity feed. Integer 1-100, default 25; out-of-range or non-numeric values are rejected by the handler with a 422 VALIDATION_ERROR.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/lookup-history" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/lookup-history');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/lookup-history")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/lookup-history", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/lookup-history')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/lookup-history');
echo json_encode($result);
{
"data": {
"window": {
"days": 0,
"from": "1970-01-01T00:00:00.000Z",
"to": "1970-01-01T00:00:00.000Z"
},
"summary": {
"total_lookups": 0,
"total_spend_cents": 0,
"currency": "string",
"daily_cap_cents": 0,
"today_spend_cents": 0,
"cap_remaining_cents": 0
},
"daily": [
{
"date": "string",
"lookups": 0,
"spend_cents": 0
}
],
"recent": [
{
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"occurred_at": "1970-01-01T00:00:00.000Z",
"spend_cents": 0,
"currency": "string",
"phone": null,
"line_type": null
}
]
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Full phone number intelligence lookup
GET /api/v1/numbers/lookup/{phoneNumber}fields= is supplied (comma-separated or JSON array), the response also carries a dataPackages map keyed by the requested field names — each entry carries a discriminated status enum (available | coming_soon | not_implemented | error), a reason string, the intended provider, and an optional data payload when realised. The cnam and caller_name (Twilio-compat CNAM alias) fields return the registered caller name in data.caller_name (sourced from the Telnyx caller-name dip); data.caller_name is null when the number has no CNAM record, and the fields fall back to coming_soon only when the dip is not configured. The sms_pumping_risk field (Twilio Lookup v2 SMS-pumping-risk parity) returns a transparent 0-100 fraud score in data.score with a data.risk_level bucket (low/medium/high) and the contributing signals (line_type, line_type_risk, reachable, ported) — derived from the same HLR/Telnyx upstream the lookup already fetched, so fraud/ATO teams can score a number before granting an OTP send. The reassigned_number field (Twilio Lookup v2 US-only Reassigned Number parity) checks the FCC Reassigned Numbers Database (47 CFR § 64.1200(m)) for the TCPA reassigned-number safe harbor — supply consent_date (YYYY-MM-DD) and data carries status (yes = disconnected after consent, no = safe harbor applies, no_data = no record), safe_harbor, and last_disconnect_date; it returns error (consent_date_required) when consent_date is omitted and coming_soon until the RND feed is provisioned. The call_forwarding field (Twilio Lookup v2 forwarding parity) returns a DERIVED, best-effort signal in data.call_forwarding (boolean) inferred from the HLR reachability dip — an unreachable valid line is the classic proxy for an active unconditional divert; it is explicitly flagged data.derived: true with data.confidence: "low" (NOT an operator-asserted forwarding flag, which would need the paid Telnyx add-on) and falls back to coming_soon only when HLR returns no usable reachability signal. The sim_swap field (Twilio Lookup v2 SIM-swap parity) returns the carrier-asserted SIM-swap signal in data — last_swap_date (the most recent SIM-change timestamp), swapped (whether a change falls inside the look-back window), and a risk_level bucket (high within 24h, medium within 7d, low otherwise) — sourced from the GSMA Open Gateway / CAMARA SIM Swap network API so account-takeover and step-up-auth flows can block or challenge high-risk numbers. It falls back to coming_soon only when no CAMARA operator is configured for the deployment. The number_reputation field (Twilio Lookup v2 Number Reputation parity) returns a transparent 0-1 spam/fraud risk score in data.risk_score with a data.risk_bucket (low/medium/high), the data.factors that fired, and the contributing signals (line_type, reachable, ported, sim_swapped) — DERIVED from the same HLR/Telnyx upstream the lookup already fetched (flagged data.derived: true, NOT a paid reputation feed); it falls back to not_implemented only when no usable signal is present. The identity_match field (Twilio Lookup v2 Identity Match parity) matches caller-supplied identity attributes against the mobile operator’s own KYC records via the CAMARA KYC Match network API — supply one or more identity_* attributes (identity_name, identity_given_name, identity_family_name, identity_birthdate, identity_email, identity_id_document) and data carries per-attribute verdicts in data.matches (true/false/not_available), any partial-match data.scores, and an aggregate data.overall_match — never the underlying PII. It returns error (identity_attributes_required) when no attribute is supplied and coming_soon until a CAMARA operator is configured. The live_activity field (Twilio Lookup real-time reachability parity) returns a DERIVED, real-time reachability verdict fused from the live HLR dip — data.active_line (whether the SIM is currently reachable on-network), data.roaming (whether the serving network differs from the home network), data.serving_network_mcc + data.serving_country (the current serving network), data.ported, and a composite data.fraud_risk bucket (low/medium/high/unknown) — so fraud/ATO teams can score real-time reachability before an OTP send; it is flagged data.derived: true (NOT a paid live-activity feed) and falls back to coming_soon only when the upstream returns no usable live signal. Mirrors the Twilio Lookup v2 add-on selector.
Phone number in E.164 format. URL-encode the leading
+ (or use %2B). The route also accepts an unencoded + for back-compat — decodeURIComponent runs server-side.Optional Twilio-compat data-package selector. Comma-separated list of field names from the enumeration below (case-insensitive, deduped server-side, max 16 fields per request). Unknown field names reject the whole request with 422.
Required only when
reassigned_number is in fields. The date (YYYY-MM-DD) prior-express consent was obtained or last verified. The FCC reassigned-number safe harbor is evaluated against this date — if reassigned_number is requested without it, that field returns status: error (consent_date_required) while the rest of the response is unaffected.Used only when
identity_match is in fields. Full registered name to verify against the operator’s KYC records. Supply at least one identity_* attribute when requesting identity_match, else that field returns status: error (identity_attributes_required).Used only when
identity_match is in fields. Given (first) name to verify against the operator’s KYC records.Used only when
identity_match is in fields. Family (last) name to verify against the operator’s KYC records.Used only when
identity_match is in fields. Date of birth (YYYY-MM-DD) to verify against the operator’s KYC records.Used only when
identity_match is in fields. Email address to verify against the operator’s KYC records.Used only when
identity_match is in fields. Government ID document reference to verify against the operator’s KYC records.cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/lookup/%2B14155551234" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/lookup/%2B14155551234');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/lookup/%2B14155551234")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/lookup/%2B14155551234", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/lookup/%2B14155551234')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/lookup/%2B14155551234');
echo json_encode($result);
{
"data": {
"phoneNumber": "string",
"valid": false,
"callingCountryCode": "string",
"nationalFormat": "string",
"carrier": {
"name": "string",
"type": "string",
"mcc": "string",
"mnc": "string"
},
"portability": {
"ported": false,
"portedDate": "1970-01-01T00:00:00.000Z",
"mnp_original_carrier": null,
"mnp_ported_at": null,
"originalCarrier": null,
"originalMnc": null
},
"simSwap": {
"swapped": null,
"lastSwapDate": null,
"riskLevel": "low"
},
"roaming": {
"roaming": null,
"servingMcc": null,
"homeMcc": null,
"servingCountry": null
},
"liveStatus": "yes",
"reachable": false,
"cached": false,
"cachedAt": "1970-01-01T00:00:00.000Z",
"available": false,
"message": "string",
"dataPackages": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0
}
}
List number orders
GET /api/v1/numbers/orderscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/orders" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/orders');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/orders")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/orders", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/orders')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/orders');
echo json_encode($result);
{
"data": {
"orders_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get a number order
GET /api/v1/numbers/orders/{id}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/orders/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/orders/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/orders/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/orders/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/orders/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/orders/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
echo json_encode($result);
{
"data": {
"id": "smo_01JEQS4E7JQ4M2E2H2DM9XE5FH",
"status": "active"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List porting requests
GET /api/v1/numbers/portingcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/porting" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/porting');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/porting")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/porting", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/porting')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/porting');
echo json_encode($result);
{
"data": [
{}
],
"meta": {}
}
Get a port-in request timeline
GET /api/v1/numbers/porting/{id}/timelinenumbers:read scope.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/timeline" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/timeline');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/timeline")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/timeline", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/timeline')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/timeline');
echo json_encode($result);
{
"data": {
"status": "delivered",
"elapsedDays": 0,
"focDate": null,
"stages": [
{
"key": "string",
"state": "current"
}
]
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
List port-out requests
GET /api/v1/numbers/porting/outnumbers:read scope. Inbound number administration only — no outbound (MT) voice/SMS path is created (invariant #45).
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/porting/out" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/porting/out');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/porting/out")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/porting/out", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/porting/out')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/porting/out');
echo json_encode($result);
{
"data": [
{
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"numbers": [
"string"
],
"destinationCarrier": "+14155552671",
"status": "submitted",
"submittedAt": "1970-01-01T00:00:00.000Z",
"provider": "telnyx",
"providerOrderId": "string",
"newOwnerInfo": null,
"rejectionReason": null,
"focDate": null
}
],
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Get a port-out request
GET /api/v1/numbers/porting/out/{id}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"numbers": [
"string"
],
"destinationCarrier": "+14155552671",
"status": "submitted",
"submittedAt": "1970-01-01T00:00:00.000Z",
"provider": "telnyx",
"providerOrderId": "string",
"newOwnerInfo": null,
"rejectionReason": null,
"focDate": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
List toll-free RespOrg change requests
GET /api/v1/numbers/porting/toll-free/resporgcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/porting/toll-free/resporg" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/porting/toll-free/resporg');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/porting/toll-free/resporg")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/porting/toll-free/resporg", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/porting/toll-free/resporg')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/porting/toll-free/resporg');
echo json_encode($result);
{
"data": [
{
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"direction": "in",
"numbers": [
"string"
],
"currentRespOrgId": "string",
"newRespOrgId": "string",
"status": "submitted",
"submittedAt": "1970-01-01T00:00:00.000Z",
"authorizedSigner": "string",
"loaFileUrl": "https://example.com",
"loaSignedAt": "1970-01-01T00:00:00.000Z",
"loaSignedBy": {
"name": "string",
"email": "string",
"ip": "string",
"acknowledgement": "string"
},
"focDate": "1970-01-01T00:00:00.000Z",
"rejectionReason": "string",
"cancellationReason": "string"
}
],
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Get a toll-free RespOrg change request
GET /api/v1/numbers/porting/toll-free/resporg/{id}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"direction": "in",
"numbers": [
"string"
],
"currentRespOrgId": "string",
"newRespOrgId": "string",
"status": "submitted",
"submittedAt": "1970-01-01T00:00:00.000Z",
"authorizedSigner": "string",
"loaFileUrl": "https://example.com",
"loaSignedAt": "1970-01-01T00:00:00.000Z",
"loaSignedBy": {
"name": "string",
"email": "string",
"ip": "string",
"acknowledgement": "string"
},
"focDate": "1970-01-01T00:00:00.000Z",
"rejectionReason": "string",
"cancellationReason": "string"
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
List recoverable (snapback) numbers
GET /api/v1/numbers/recoverableid and recoverable_until deadline needed to drive POST /numbers/{id}/reclaim. Keyset-paginated on the parking deadline so a telco-scale tenant with a large parked inventory never returns an unbounded list. Org-scoped; read-only on numbers:read.
Recoverable numbers per page (default 25). Hard-capped server-side at 100 — larger values are silently clamped, not rejected.
Opaque keyset cursor from the previous page’s
data.next_cursor (ordered by the parking deadline). Omit for the first page.cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/recoverable" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/recoverable');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/recoverable")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/recoverable", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/recoverable')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/recoverable');
echo json_encode($result);
{
"data": {
"numbers": [
{
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"phone_number": "+14155552671",
"country_code": null,
"status": "delivered",
"recoverable_until": null
}
],
"total": 0,
"has_more": false,
"next_cursor": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
List regulatory bundles
GET /api/v1/numbers/regulatory-bundlescURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/regulatory-bundles" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/regulatory-bundles');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/regulatory-bundles")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/regulatory-bundles", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/regulatory-bundles')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/regulatory-bundles');
echo json_encode($result);
{
"data": {
"regulatory_bundles_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Pre-purchase regulatory preview for one country
GET /api/v1/numbers/regulatory-preview/numbers/purchase: the identity/address documents and data fields a purchase will require, the expected activation window for regulated countries, and — scoped to the caller’s organization — whether an existing compliance profile already satisfies the requirements (compliance_profile_satisfies). Use the all-country catalog /numbers/regulatory-requirements for bulk discovery; use this for the at-a-glance ‘documents needed’ disclosure on a specific country/line type. Pre-purchase discovery read; scoped on numbers:read.
ISO 3166-1 alpha-2 country code (required — a missing/invalid value returns a 422 envelope from the handler).
Optional carrier to narrow the schema to — one of
telnyx | didww. When omitted, the requirement sets from every provider that could serve the country are unioned.cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/regulatory-preview" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/regulatory-preview');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/regulatory-preview")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/regulatory-preview", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/regulatory-preview')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/regulatory-preview');
echo json_encode($result);
{
"data": {
"country": "string",
"provider": "string",
"phone_number_type": "+14155552671",
"activation_eta": null,
"fields": [
{
"name": "string",
"type": "string",
"description": "string",
"required": false
}
],
"document_roles": [
"string"
],
"known_compliance_profile_id": "string",
"compliance_profile_satisfies": false,
"unregulated": false
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Discover pre-purchase regulatory requirements
GET /api/v1/numbers/regulatory-requirements?country= it returns that single country’s record; without it, the catalog across every regulated country for the line type. Pure catalog read off the compliance registry — no carrier call, no tenant coupling. Read-only; scoped on numbers:read.
Optional ISO 3166-1 alpha-2 country code. When omitted, returns the catalog across all regulated countries.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/regulatory-requirements" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/regulatory-requirements');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/regulatory-requirements")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/regulatory-requirements", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/regulatory-requirements')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/regulatory-requirements');
echo json_encode($result);
{
"data": {
"phone_number_type": "+14155552671",
"count": 0,
"requirements": [
{}
],
"country": "string",
"regulated": false,
"identity_type": null,
"data_fields": [
{}
],
"documents": [
{}
]
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
List numbers about to lapse with auto-renew off
GET /api/v1/numbers/renewal-expiry-alertsnext_billing_at paid-through boundary is already past or falls due within the look-ahead window (default 30 days — one full billing cycle; override on the org or preview via ?days=). Each row carries the next billing date, days-to-expiry, monthly cost, and a suggested_action (renew | renew_now) so the dashboard can warn customers before they silently lose a number they meant to keep. Read-only; scoped on numbers:read.
Optional look-ahead window override (integer 1–365). When omitted, the per-tenant org setting (or the platform default of 14) is used.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/renewal-expiry-alerts" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/renewal-expiry-alerts');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/renewal-expiry-alerts")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/renewal-expiry-alerts", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/renewal-expiry-alerts')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/renewal-expiry-alerts');
echo json_encode($result);
{
"data": {
"window_days": 0,
"default_window_days": 0,
"currency": "string",
"summary": {
"alert_count": 0,
"expired_count": 0,
"expiring_soon_count": 0,
"monthly_at_risk": 0
},
"alerts": [
{
"phone_number_id": "+14155552671",
"phone_number": "+14155552671",
"label": null,
"country_code": "string",
"status": "delivered",
"next_billing_at": "1970-01-01T00:00:00.000Z",
"days_to_expiry": 0,
"expired": false,
"monthly_cost": 0,
"suggested_action": "renew",
"threshold_days": 0
}
],
"truncated": false
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Preview the number-replenishment plan
GET /api/v1/numbers/replenishment-plancURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/replenishment-plan" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/replenishment-plan');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/replenishment-plan")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/replenishment-plan", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/replenishment-plan')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/replenishment-plan');
echo json_encode($result);
{
"data": {
"replenishment_plan_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get the number-replenishment policy
GET /api/v1/numbers/replenishment-policycURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/replenishment-policy" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/replenishment-policy');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/replenishment-policy")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/replenishment-policy", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/replenishment-policy')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/replenishment-policy');
echo json_encode($result);
{
"data": {
"replenishment_policy_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List carrier reputation alerts
GET /api/v1/numbers/reputation-alertscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/reputation-alerts" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/reputation-alerts');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/reputation-alerts")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/reputation-alerts", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/reputation-alerts')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/reputation-alerts');
echo json_encode($result);
{
"data": {
"reputation_alerts_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Preview the reputation-remediation plan
GET /api/v1/numbers/reputation-remediation-plancURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/reputation-remediation-plan" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/reputation-remediation-plan');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/reputation-remediation-plan")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/reputation-remediation-plan", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/reputation-remediation-plan')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/reputation-remediation-plan');
echo json_encode($result);
{
"data": {
"reputation_remediation_plan_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get the reputation-remediation policy
GET /api/v1/numbers/reputation-remediation-policycURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/reputation-remediation-policy" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/reputation-remediation-policy');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/reputation-remediation-policy")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/reputation-remediation-policy", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/reputation-remediation-policy')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/reputation-remediation-policy');
echo json_encode($result);
{
"data": {
"reputation_remediation_policy_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List short-code applications
GET /api/v1/numbers/short-codescURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/short-codes" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/short-codes');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/short-codes")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/short-codes", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/short-codes')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/short-codes');
echo json_encode($result);
{
"data": [
{
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"countryCode": "string",
"leaseType": "dedicated",
"selection": "random",
"requestedCode": null,
"assignedCode": null,
"leaseTermMonths": 3,
"status": "draft",
"businessName": "string",
"programBrief": {
"useCase": "string",
"description": "string",
"sampleMessages": [
"string"
],
"messageFrequency": "string",
"optInDescription": "string",
"supportContact": "string",
"privacyPolicyUrl": null,
"termsUrl": null
},
"carrierVetting": [
{
"carrier": "string",
"status": "pending",
"updatedAt": "1970-01-01T00:00:00.000Z",
"note": null
}
],
"createdAt": "1970-01-01T00:00:00.000Z",
"updatedAt": "1970-01-01T00:00:00.000Z",
"submittedAt": null,
"provisionedAt": null,
"leaseEndsAt": null,
"rejectionReason": null
}
],
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Get a short-code application
GET /api/v1/numbers/short-codes/{id}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"countryCode": "string",
"leaseType": "dedicated",
"selection": "random",
"requestedCode": null,
"assignedCode": null,
"leaseTermMonths": 3,
"status": "draft",
"businessName": "string",
"programBrief": {
"useCase": "string",
"description": "string",
"sampleMessages": [
"string"
],
"messageFrequency": "string",
"optInDescription": "string",
"supportContact": "string",
"privacyPolicyUrl": null,
"termsUrl": null
},
"carrierVetting": [
{
"carrier": "string",
"status": "pending",
"updatedAt": "1970-01-01T00:00:00.000Z",
"note": null
}
],
"createdAt": "1970-01-01T00:00:00.000Z",
"updatedAt": "1970-01-01T00:00:00.000Z",
"submittedAt": null,
"provisionedAt": null,
"leaseEndsAt": null,
"rejectionReason": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Get a short-code application’s carrier-vetting timeline
GET /api/v1/numbers/short-codes/{id}/timelinenumbers:read scope.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/timeline" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/timeline');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/timeline")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/timeline", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/timeline')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/timeline');
echo json_encode($result);
{
"data": {
"applicationId": "string",
"status": "draft",
"stages": [
{
"stage": "submitted",
"state": "current",
"label": "string",
"expectedDurationDays": 0,
"detail": "string"
}
],
"carrierVetting": [
{
"carrier": "string",
"status": "pending",
"updatedAt": "1970-01-01T00:00:00.000Z",
"note": null
}
],
"elapsedDays": 0,
"leaseEndsAt": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
List toll-free numbers and their verification status
GET /api/v1/numbers/tfvcursor (from the previous page’s meta.pagination) and limit. Scoped to the caller’s owned DIDs so a sibling sub-org sharing the tenant schema never sees another org’s attestation. Read-only; requires the numbers:read scope.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/tfv" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/tfv');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/tfv")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/tfv", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/tfv')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/tfv');
echo json_encode($result);
{
"data": [
{
"phoneNumberId": "string",
"phoneNumber": "string",
"numberType": null,
"tfvStatus": "not_submitted",
"tfvSubmittedAt": null,
"tfvApprovedAt": null,
"tfvRejectionReason": null,
"tfvUseCase": null,
"tfvProvider": null,
"tfvProviderSubmissionId": null,
"tfvEin": null,
"tfvBusinessRegistrationNumber": null,
"tfvBusinessRegistrationCountry": null,
"tfvLastVendorUpdate": null
}
],
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"pagination": {
"cursor": "string",
"has_more": false,
"total": 0
}
}
}
List tracking-pools
GET /api/v1/numbers/tracking-poolscURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/tracking-pools" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/tracking-pools');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/tracking-pools")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/tracking-pools", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/tracking-pools')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/tracking-pools');
echo json_encode($result);
{
"data": {
"tracking_pools_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get tracking-pools
GET /api/v1/numbers/tracking-pools/{id}cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3');
echo json_encode($result);
{
"data": {
"id": "smo_01JEQS4E7JQ4M2E2H2DM9XE5FH",
"status": "active"
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List resolve
GET /api/v1/numbers/tracking-pools/resolvecURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/tracking-pools/resolve" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/tracking-pools/resolve');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/tracking-pools/resolve")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/tracking-pools/resolve", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/tracking-pools/resolve')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/tracking-pools/resolve');
echo json_encode($result);
{
"data": {
"tracking_pools_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Get the organization’s active trial number
GET /api/v1/numbers/trialPOST /numbers/claim-trial. Use it to render the trial card on the dashboard and decide whether to show the “claim a trial number” call to action. Responds 200 with data: null when the organization holds no active (unexpired, unreleased) trial, so a missing trial is not an error. Read-only; requires the numbers:read scope.
cURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/trial" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/trial');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/trial")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/trial", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/trial')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/trial');
echo json_encode($result);
{
"data": null,
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"message": "string",
"ever_claimed": false
}
}
List number-waitlist entries
GET /api/v1/numbers/waitlistcURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/waitlist" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/waitlist');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/waitlist")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/waitlist", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/waitlist')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/waitlist');
echo json_encode($result);
{
"data": {
"waitlist_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
List availability
GET /api/v1/numbers/waitlist/availabilitycURL
curl -X GET "https://api.orbit.devotel.io/api/v1/numbers/waitlist/availability" \
-H "X-API-Key: dv_live_sk_your_key_here"
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('GET', '/numbers/waitlist/availability');
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
result = client.request("GET", "/numbers/waitlist/availability")
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
if err := client.Request(ctx, "GET", "/numbers/waitlist/availability", nil, nil, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
result = client.request('GET', '/numbers/waitlist/availability')
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$result = $client->request('GET', '/numbers/waitlist/availability');
echo json_encode($result);
{
"data": {
"waitlist_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create attach-compliance-profile
POST /api/v1/numbers/{id}/attach-compliance-profilecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/attach-compliance-profile" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/attach-compliance-profile', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/attach-compliance-profile", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/attach-compliance-profile", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/attach-compliance-profile', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/attach-compliance-profile', jsonBody: $body);
echo json_encode($result);
{
"data": {
"attach_compliance_profile_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Dispatch cnam
POST /api/v1/numbers/{id}/cnam/dispatchcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/dispatch" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/dispatch', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/dispatch", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/dispatch", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/dispatch', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/dispatch', jsonBody: $body);
echo json_encode($result);
{
"data": {
"dispatch_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Remediate cnam
POST /api/v1/numbers/{id}/cnam/remediatecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/remediate" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/remediate', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/remediate", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/remediate", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/remediate', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/remediate', jsonBody: $body);
echo json_encode($result);
{
"data": {
"remediate_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Spam-labels cnam
POST /api/v1/numbers/{id}/cnam/spam-labelscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/spam-labels" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/spam-labels', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/spam-labels", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/spam-labels", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/spam-labels', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam/spam-labels', jsonBody: $body);
echo json_encode($result);
{
"data": {
"spam_labels_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Dispatch the captured directory listing to the wholesale queue
POST /api/v1/numbers/{id}/directory-listing/dispatchpending/failed -> submitted, stamps submitted_at). 404 when there is no captured listing to dispatch; 409 when it is already submitted/active. INVARIANT #45 safe — the authoritative directory write runs on the operator-managed Devotel wholesale side-band; no Telnyx/DIDWW write. Org-ownership gated + audit-logged.
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing/dispatch" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing/dispatch', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing/dispatch", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing/dispatch", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing/dispatch', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing/dispatch', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"listing": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Create upload
POST /api/v1/numbers/{id}/documents/{docId}/uploadcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents/doc_9a1c3e5b7d/upload" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents/doc_9a1c3e5b7d/upload', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents/doc_9a1c3e5b7d/upload", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents/doc_9a1c3e5b7d/upload", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents/doc_9a1c3e5b7d/upload', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents/doc_9a1c3e5b7d/upload', jsonBody: $body);
echo json_encode($result);
{
"data": {
"upload_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Refresh documents
POST /api/v1/numbers/{id}/documents/refreshcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents/refresh" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents/refresh', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents/refresh", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents/refresh", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents/refresh', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/documents/refresh', jsonBody: $body);
echo json_encode($result);
{
"data": {
"refresh_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Register or replace a dispatchable emergency location
POST /api/v1/numbers/{id}/emergency-address/locationdevice_key, structurally validated on write (required civic fields, per-country postal shape, lat/lng range — the verdict is returned as validation_status/validation_issues, it does not reject the write), and appended to the number’s update history. Pure emergency-location metadata: this enriches WHERE a 911 call is dispatched to, never how a call egresses. Org-ownership gated + audit-logged.
Identifier of the roaming extension / device the location belongs to — the same identifier the device registers with.
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"address_line_1": "string",
"city": "string",
"region": "string",
"postal": "string",
"country": "string",
"source": "manual",
"device_key": "string"
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location', {
"address_line_1": "string",
"city": "string",
"region": "string",
"postal": "string",
"country": "string",
"source": "manual",
"device_key": "string"
});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = { "address_line_1": "string", "city": "string", "region": "string", "postal": "string", "country": "string", "source": "manual", "device_key": "string" }
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{"address_line_1": "string","city": "string","region": "string","postal": "string","country": "string","source": "manual","device_key": "string"}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = { "address_line_1" => "string", "city" => "string", "region" => "string", "postal" => "string", "country" => "string", "source" => "manual", "device_key" => "string" }
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = ["address_line_1" => "string", "city" => "string", "region" => "string", "postal" => "string", "country" => "string", "source" => "manual", "device_key" => "string"];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"device_key": "string",
"location": {
"device_key": "string",
"device_label": null,
"caller_name": null,
"address_line_1": "string",
"line_2": "string",
"city": "string",
"region": "string",
"postal": "string",
"country": "string",
"lat": null,
"lng": null,
"source": "manual",
"validation_status": "valid",
"validation_issues": [
"string"
],
"registered_at": "1970-01-01T00:00:00.000Z",
"last_update_at": "1970-01-01T00:00:00.000Z"
}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Psap-confirmation emergency-address
POST /api/v1/numbers/{id}/emergency-address/psap-confirmationcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/psap-confirmation" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/psap-confirmation', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/psap-confirmation", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/psap-confirmation", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/psap-confirmation', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/psap-confirmation', jsonBody: $body);
echo json_encode($result);
{
"data": {
"psap_confirmation_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Verify emergency-address
POST /api/v1/numbers/{id}/emergency-address/verifycURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/verify" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/verify', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/verify", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/verify", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/verify', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/verify', jsonBody: $body);
echo json_encode($result);
{
"data": {
"verify_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create port-out
POST /api/v1/numbers/{id}/port-outcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out', jsonBody: $body);
echo json_encode($result);
{
"data": {
"port_out_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create port-out-protection
POST /api/v1/numbers/{id}/port-out-protectioncURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection', jsonBody: $body);
echo json_encode($result);
{
"data": {
"port_out_protection_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create reactivate
POST /api/v1/numbers/{id}/reactivatecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reactivate" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reactivate', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reactivate", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reactivate", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reactivate', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reactivate', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "num_01J8N6A0K1DRMDM3R0T0",
"phone_number": "+14155550142",
"country_code": "US",
"capabilities": [
"sms",
"voice"
],
"monthly_cost": 1.5,
"provider": "Devotel",
"label": "Overflow line",
"forwarding_number": null,
"number_type": "local",
"metadata": {
"reactivated_at": "2026-08-26T12:00:00.000Z",
"suspended_at": null,
"suspend_reason": null
},
"status": "active",
"assigned_at": "2025-07-10T09:41:22.000Z",
"created_at": "2025-07-10T09:41:22.000Z",
"updated_at": "2026-08-26T12:00:00.000Z",
"tags": [
"support"
],
"health_score": 92,
"health_tier": "excellent"
},
"meta": {
"request_id": "req_01J8QDA3NK7W6QF0B2R13",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Reassign the number to a sibling subaccount
POST /api/v1/numbers/{id}/reassigntarget_org_id (required). The caller MUST own the DID at call time; sibling relationship, same-tenant + purchased-only invariants are enforced in the controller’s reassignNumberToSibling helper. Returns 409 when the DID is not a purchased number the caller owns (e.g. a shared trial-pool number); 403 when the target org is outside the caller’s family hierarchy; 404 when the target subaccount id does not exist. Inbound ownership administration only — invariant #45 untouched.
The organization id of the receiving sibling subaccount — must be under the same reseller parent as the caller (or be the caller’s direct parent/child).
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reassign" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"target_org_id": "string"
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reassign', {
"target_org_id": "string"
});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = { "target_org_id": "string" }
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reassign", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{"target_org_id": "string"}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reassign", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = { "target_org_id" => "string" }
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reassign', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = ["target_org_id" => "string"];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reassign', jsonBody: $body);
echo json_encode($result);
{
"data": {
"phone_number": "+14155552671",
"assigned_to_org_id": "string",
"previous_assigned_to_org_id": "string"
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Create reclaim
POST /api/v1/numbers/{id}/reclaimcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reclaim" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reclaim', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reclaim", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reclaim", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reclaim', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reclaim', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "num_01J8N6A0K1DRMDM3R0T0",
"phone_number": "+14155550142",
"country_code": "US",
"capabilities": [
"sms",
"voice"
],
"monthly_cost": 1.5,
"provider": "Devotel",
"label": "Overflow line",
"forwarding_number": null,
"number_type": "local",
"metadata": {
"reclaimed_at": "2026-08-26T12:00:00.000Z"
},
"status": "active",
"release_status": "completed",
"assigned_at": "2025-07-10T09:41:22.000Z",
"created_at": "2025-07-10T09:41:22.000Z",
"updated_at": "2026-08-26T12:00:00.000Z",
"tags": [
"support"
],
"health_score": 92,
"health_tier": "excellent"
},
"meta": {
"request_id": "req_01J8QDA5NK7W6QF0B2R15",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create repair-provisioning
POST /api/v1/numbers/{id}/repair-provisioningcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/repair-provisioning" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/repair-provisioning', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/repair-provisioning", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/repair-provisioning", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/repair-provisioning', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/repair-provisioning', jsonBody: $body);
echo json_encode($result);
{
"data": {
"repair_provisioning_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Observations reputation
POST /api/v1/numbers/{id}/reputation/observationscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/observations" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/observations', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/observations", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/observations", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/observations', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/observations', jsonBody: $body);
echo json_encode($result);
{
"data": {
"observations_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Submissions reputation
POST /api/v1/numbers/{id}/reputation/submissionscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/submissions" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/submissions', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/submissions", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/submissions", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/submissions', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/submissions', jsonBody: $body);
echo json_encode($result);
{
"data": {
"submissions_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create retry-release
POST /api/v1/numbers/{id}/retry-releasecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/retry-release" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/retry-release', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/retry-release", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/retry-release", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/retry-release', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/retry-release', jsonBody: $body);
echo json_encode($result);
{
"data": {
"retry_release_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Ingest an SMS spam-complaint report for a number
POST /api/v1/numbers/{id}/sms-complaints/reportscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints/reports" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints/reports', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints/reports", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints/reports", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints/reports', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints/reports', jsonBody: $body);
echo json_encode($result);
{
"data": {
"phone_number_id": "num_01J8N6A0K1DRMDM3R0T0",
"phone_number": "+14155550142",
"monitored": true,
"rollup": {
"window_days": 30,
"level": "elevated",
"complaint_count": 12,
"message_count": 6200,
"complaint_rate": 0.0019,
"sample_sufficient": true,
"sources": [
"tmobile",
"aggregator"
],
"report_count": 2,
"first_report_at": "2026-08-01T00:00:00.000Z",
"last_report_at": "2026-08-25T23:59:59.000Z",
"auto_suppress_recommended": false
},
"suppression": null,
"thresholds": {
"rate": {
"elevated": 0.001,
"high": 0.002,
"critical": 0.005
},
"absolute_floors": {
"elevated": 5,
"high": 20,
"critical": 100
},
"min_message_sample": 500
},
"reports": [
{
"source": "tmobile",
"period_start": "2026-08-01T00:00:00.000Z",
"period_end": "2026-08-15T23:59:59.000Z",
"complaint_count": 5,
"message_count": 3100,
"reference": "TMO-FBL-2026-08-3317",
"observed_at": "2026-08-16T06:02:44.000Z"
},
{
"source": "aggregator",
"period_start": "2026-08-16T00:00:00.000Z",
"period_end": "2026-08-25T23:59:59.000Z",
"complaint_count": 7,
"message_count": 3100,
"reference": null,
"observed_at": "2026-08-26T06:11:09.000Z"
}
],
"last_ingested_at": "2026-08-26T06:11:09.000Z"
},
"meta": {
"request_id": "req_01J8QDA7NK7W6QF0B2R17",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create suspend
POST /api/v1/numbers/{id}/suspendcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/suspend" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/suspend', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/suspend", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/suspend", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/suspend', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/suspend', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "num_01J8N6A0K1DRMDM3R0T0",
"phone_number": "+14155550142",
"country_code": "US",
"capabilities": [
"sms",
"voice"
],
"monthly_cost": 1.5,
"provider": "Devotel",
"label": "Overflow line",
"forwarding_number": null,
"number_type": "local",
"metadata": {
"suspended_at": "2026-08-26T12:00:00.000Z",
"suspend_reason": "Seasonal pause — reopen after the promo ends",
"suspended_from_status": "active",
"reactivated_at": null
},
"status": "suspended",
"assigned_at": "2025-07-10T09:41:22.000Z",
"created_at": "2025-07-10T09:41:22.000Z",
"updated_at": "2026-08-26T12:00:00.000Z",
"tags": [
"support"
],
"health_score": 92,
"health_tier": "excellent"
},
"meta": {
"request_id": "req_01J8QDA2NK7W6QF0B2R12",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create tfv-refresh
POST /api/v1/numbers/{id}/tfv-refreshcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv-refresh" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv-refresh', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv-refresh", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv-refresh", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv-refresh', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv-refresh', jsonBody: $body);
echo json_encode($result);
{
"data": {
"tfv_refresh_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create tfv-submit
POST /api/v1/numbers/{id}/tfv-submitcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv-submit" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv-submit', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv-submit", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv-submit", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv-submit', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/tfv-submit', jsonBody: $body);
echo json_encode($result);
{
"data": {
"tfv_submit_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Applications numbers
POST /api/v1/numbers/applicationscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/applications" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/applications', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/applications", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/applications", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/applications', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/applications', jsonBody: $body);
echo json_encode($result);
{
"data": {
"applications_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create bind
POST /api/v1/numbers/applications/{id}/bindcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/bind" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/bind', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/bind", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/bind", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/bind', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/bind', jsonBody: $body);
echo json_encode($result);
{
"data": {
"bind_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create unbind
POST /api/v1/numbers/applications/{id}/unbindcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/unbind" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/unbind', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/unbind", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/unbind", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/unbind', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/unbind', jsonBody: $body);
echo json_encode($result);
{
"data": {
"unbind_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Bulk HLR lookup for up to 100 numbers
POST /api/v1/numbers/bulk-lookupnumbers resource (numbers:read or numbers:write).
The phone numbers to validate/enrich, 1–100 per request (batch size is enforced by the handler, which pre-checks wallet balance for the batch).
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/bulk-lookup" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/bulk-lookup', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/bulk-lookup", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/bulk-lookup", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/bulk-lookup', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/bulk-lookup', jsonBody: $body);
echo json_encode($result);
{
"data": {
"results": [
{
"number": "string",
"valid": false,
"type": "string",
"network": "string",
"ported": false,
"present": "string",
"mcc": "string",
"mnc": "string",
"error_code": 0,
"cached": false
}
],
"total": 0,
"cached": 0,
"queried": 0,
"available": false
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Bulk-reserve numbers
POST /api/v1/numbers/bulk-reservecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/bulk-reserve" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/bulk-reserve', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/bulk-reserve", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/bulk-reserve", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/bulk-reserve', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/bulk-reserve', jsonBody: $body);
echo json_encode($result);
{
"data": {
"bulk_reserve_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create cancel
POST /api/v1/numbers/bulk-reserve/{id}/cancelcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cancel" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cancel', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cancel", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cancel", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cancel', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cancel', jsonBody: $body);
echo json_encode($result);
{
"data": {
"cancel_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create finalize
POST /api/v1/numbers/bulk-reserve/{id}/finalizecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/finalize" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/finalize', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/finalize", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/finalize", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/finalize', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/bulk-reserve/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/finalize', jsonBody: $body);
echo json_encode($result);
{
"data": {
"finalize_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Bulk-update numbers
POST /api/v1/numbers/bulk-updatecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/bulk-update" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/bulk-update', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/bulk-update", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/bulk-update", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/bulk-update', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/bulk-update', jsonBody: $body);
echo json_encode($result);
{
"data": {
"bulk_update_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Buy-block numbers
POST /api/v1/numbers/buy-blockcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/buy-block" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/buy-block', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/buy-block", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/buy-block", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/buy-block', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/buy-block', jsonBody: $body);
echo json_encode($result);
{
"data": {
"buy_block_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Buy-bulk numbers
POST /api/v1/numbers/buy-bulkcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/buy-bulk" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/buy-bulk', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/buy-bulk", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/buy-bulk", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/buy-bulk', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/buy-bulk', jsonBody: $body);
echo json_encode($result);
{
"data": {
"buy_bulk_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Claim-trial numbers
POST /api/v1/numbers/claim-trialcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/claim-trial" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/claim-trial', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/claim-trial", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/claim-trial", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/claim-trial', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/claim-trial', jsonBody: $body);
echo json_encode($result);
{
"data": {
"claim_trial_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Sims connectivity
POST /api/v1/numbers/connectivity/simscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/connectivity/sims', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/connectivity/sims", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/connectivity/sims", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/connectivity/sims', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/connectivity/sims', jsonBody: $body);
echo json_encode($result);
{
"data": {
"sims_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create activate
POST /api/v1/numbers/connectivity/sims/{iccid}/activatecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims/iccid_demo/activate" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/connectivity/sims/iccid_demo/activate', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/connectivity/sims/iccid_demo/activate", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/connectivity/sims/iccid_demo/activate", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/connectivity/sims/iccid_demo/activate', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/connectivity/sims/iccid_demo/activate', jsonBody: $body);
echo json_encode($result);
{
"data": {
"activate_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Send an M2M SMS Command to a SIM’s device
POST /api/v1/numbers/connectivity/sims/{iccid}/commandsfrom must be an org-owned active phone number; the command is delivered as a standard SMS routed through Devotel’s wholesale softswitch — no cellular bearer is used. Rejected on a terminated SIM (409, no device left to command). Requires the numbers:write scope.
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims/iccid_demo/commands" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"to": "+14155552671",
"from": "+14155552671",
"body": "string"
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/connectivity/sims/iccid_demo/commands', {
"to": "+14155552671",
"from": "+14155552671",
"body": "string"
});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = { "to": "+14155552671", "from": "+14155552671", "body": "string" }
result = client.request("POST", "/numbers/connectivity/sims/iccid_demo/commands", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{"to": "+14155552671","from": "+14155552671","body": "string"}
if err := client.Request(ctx, "POST", "/numbers/connectivity/sims/iccid_demo/commands", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = { "to" => "+14155552671", "from" => "+14155552671", "body" => "string" }
result = client.request('POST', '/numbers/connectivity/sims/iccid_demo/commands', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = ["to" => "+14155552671", "from" => "+14155552671", "body" => "string"];
$result = $client->request('POST', '/numbers/connectivity/sims/iccid_demo/commands', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "message_cmd_01HZYK4Q2B9F4D3",
"status": "sent",
"channel": "sms",
"to": "+14155552671",
"from": "+14155552672",
"connectivity_sim_iccid": "8942790014173625180"
},
"meta": {
"request_id": "req_sim_cmd_001",
"timestamp": "2026-09-21T12:00:00Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Activation esim
POST /api/v1/numbers/connectivity/sims/{iccid}/esim/activationcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims/iccid_demo/esim/activation" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/connectivity/sims/iccid_demo/esim/activation', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/connectivity/sims/iccid_demo/esim/activation", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/connectivity/sims/iccid_demo/esim/activation", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/connectivity/sims/iccid_demo/esim/activation', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/connectivity/sims/iccid_demo/esim/activation', jsonBody: $body);
echo json_encode($result);
{
"data": {
"activation_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Provision esim
POST /api/v1/numbers/connectivity/sims/{iccid}/esim/provisioncURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims/iccid_demo/esim/provision" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/connectivity/sims/iccid_demo/esim/provision', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/connectivity/sims/iccid_demo/esim/provision", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/connectivity/sims/iccid_demo/esim/provision", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/connectivity/sims/iccid_demo/esim/provision', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/connectivity/sims/iccid_demo/esim/provision', jsonBody: $body);
echo json_encode($result);
{
"data": {
"provision_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create ota
POST /api/v1/numbers/connectivity/sims/{iccid}/otacURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims/iccid_demo/ota" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/connectivity/sims/iccid_demo/ota', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/connectivity/sims/iccid_demo/ota", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/connectivity/sims/iccid_demo/ota", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/connectivity/sims/iccid_demo/ota', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/connectivity/sims/iccid_demo/ota', jsonBody: $body);
echo json_encode($result);
{
"data": {
"ota_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create resume
POST /api/v1/numbers/connectivity/sims/{iccid}/resumecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims/iccid_demo/resume" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/connectivity/sims/iccid_demo/resume', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/connectivity/sims/iccid_demo/resume", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/connectivity/sims/iccid_demo/resume", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/connectivity/sims/iccid_demo/resume', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/connectivity/sims/iccid_demo/resume', jsonBody: $body);
echo json_encode($result);
{
"data": {
"resume_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create suspend
POST /api/v1/numbers/connectivity/sims/{iccid}/suspendcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims/iccid_demo/suspend" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/connectivity/sims/iccid_demo/suspend', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/connectivity/sims/iccid_demo/suspend", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/connectivity/sims/iccid_demo/suspend", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/connectivity/sims/iccid_demo/suspend', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/connectivity/sims/iccid_demo/suspend', jsonBody: $body);
echo json_encode($result);
{
"data": {
"suspend_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create terminate
POST /api/v1/numbers/connectivity/sims/{iccid}/terminatecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims/iccid_demo/terminate" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/connectivity/sims/iccid_demo/terminate', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/connectivity/sims/iccid_demo/terminate", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/connectivity/sims/iccid_demo/terminate", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/connectivity/sims/iccid_demo/terminate', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/connectivity/sims/iccid_demo/terminate', jsonBody: $body);
echo json_encode($result);
{
"data": {
"terminate_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create usage
POST /api/v1/numbers/connectivity/sims/{iccid}/usagecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims/iccid_demo/usage" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/connectivity/sims/iccid_demo/usage', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/connectivity/sims/iccid_demo/usage", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/connectivity/sims/iccid_demo/usage", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/connectivity/sims/iccid_demo/usage', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/connectivity/sims/iccid_demo/usage', jsonBody: $body);
echo json_encode($result);
{
"data": {
"usage_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Paid HLR lookup for up to 3 numbers
POST /api/v1/numbers/hlr-lookuppresent: yes / no / na), home-network operator (network), line type, ported, and mcc/mnc identification. Wallet balance is pre-checked for the whole batch before any provider call is made; only successfully-resolved rows are billed — upstream timeouts, auth failures, rate limiting, and server errors are never charged. Valid partial states (error codes 191 / 192 / 193, present: "na") are returned as labelled results, not errors. The endpoint is feature-flagged per workspace (feature_hlr_lookup) and priced from the admin-configured hlr rate — an unpriced workspace is rejected before any provider call. Scoped on the numbers resource (numbers:read or numbers:write).
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/hlr-lookup" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/hlr-lookup', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/hlr-lookup", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/hlr-lookup", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/hlr-lookup', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/hlr-lookup', jsonBody: $body);
echo json_encode($result);
{
"data": {
"results": [
{
"number": "string",
"valid": false,
"present": null,
"present_label": "string",
"type": null,
"network": null,
"ported": null,
"mcc": null,
"mnc": null,
"cached": false,
"status": 0,
"error_code": 0,
"note": null
}
],
"total": 0,
"charged_count": 0,
"charged_cents": 0
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Hosted-messaging numbers
POST /api/v1/numbers/hosted-messagingcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/hosted-messaging" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/hosted-messaging', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/hosted-messaging", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/hosted-messaging", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/hosted-messaging', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/hosted-messaging', jsonBody: $body);
echo json_encode($result);
{
"data": {
"hosted_messaging_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Sign loa
POST /api/v1/numbers/hosted-messaging/{id}/loa/signcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign', jsonBody: $body);
echo json_encode($result);
{
"data": {
"sign_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create submit
POST /api/v1/numbers/hosted-messaging/{id}/submitcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit', jsonBody: $body);
echo json_encode($result);
{
"data": {
"submit_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Repair inbound-resolution
POST /api/v1/numbers/inbound-resolution/repaircURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/inbound-resolution/repair" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/inbound-resolution/repair', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/inbound-resolution/repair", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/inbound-resolution/repair", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/inbound-resolution/repair', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/inbound-resolution/repair', jsonBody: $body);
echo json_encode($result);
{
"data": {
"repair_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
International-freephone numbers
POST /api/v1/numbers/international-freephonecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/international-freephone" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/international-freephone', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/international-freephone", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/international-freephone", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/international-freephone', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/international-freephone', jsonBody: $body);
echo json_encode($result);
{
"data": {
"international_freephone_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create activate
POST /api/v1/numbers/international-freephone/{id}/activatecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/activate" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/activate', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/activate", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/activate", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/activate', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/activate', jsonBody: $body);
echo json_encode($result);
{
"data": {
"activate_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create countries
POST /api/v1/numbers/international-freephone/{id}/countriescURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/countries" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/countries', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/countries", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/countries", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/countries', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/countries', jsonBody: $body);
echo json_encode($result);
{
"data": {
"countries_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create provision
POST /api/v1/numbers/international-freephone/{id}/provisioncURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/provision" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/provision', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/provision", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/provision", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/provision', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/provision', jsonBody: $body);
echo json_encode($result);
{
"data": {
"provision_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create resume
POST /api/v1/numbers/international-freephone/{id}/resumecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/resume" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/resume', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/resume", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/resume", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/resume', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/resume', jsonBody: $body);
echo json_encode($result);
{
"data": {
"resume_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create submit
POST /api/v1/numbers/international-freephone/{id}/submitcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit', jsonBody: $body);
echo json_encode($result);
{
"data": {
"submit_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create suspend
POST /api/v1/numbers/international-freephone/{id}/suspendcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/suspend" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/suspend', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/suspend", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/suspend", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/suspend', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/suspend', jsonBody: $body);
echo json_encode($result);
{
"data": {
"suspend_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Search international-freephone
POST /api/v1/numbers/international-freephone/searchcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/international-freephone/search" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/international-freephone/search', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/international-freephone/search", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/international-freephone/search", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/international-freephone/search', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/international-freephone/search', jsonBody: $body);
echo json_encode($result);
{
"data": {
"international_freephone_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Lookup numbers
POST /api/v1/numbers/lookupcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/lookup" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/lookup', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/lookup", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/lookup", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/lookup', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/lookup', jsonBody: $body);
echo json_encode($result);
{
"data": {
"lookup_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Trust-package lookup
POST /api/v1/numbers/lookup/trust-packagecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/lookup/trust-package" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/lookup/trust-package', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/lookup/trust-package", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/lookup/trust-package", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/lookup/trust-package', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/lookup/trust-package', jsonBody: $body);
echo json_encode($result);
{
"data": {
"trust_package_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Bulk-csv port-in
POST /api/v1/numbers/port-in/bulk-csvcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/port-in/bulk-csv" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/port-in/bulk-csv', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/port-in/bulk-csv", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/port-in/bulk-csv", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/port-in/bulk-csv', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/port-in/bulk-csv', jsonBody: $body);
echo json_encode($result);
{
"data": {
"bulk_csv_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Porting numbers
POST /api/v1/numbers/portingcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/porting" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/porting', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/porting", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/porting", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/porting', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/porting', jsonBody: $body);
echo json_encode($result);
{
"data": {
"porting_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Upload a port-in LOA document
POST /api/v1/numbers/porting/{id}/loamultipart/form-data under the file field. Accepts a single PDF, JPEG, PNG, or HEIC up to 10 MB; the document is stored and the request’s LOA signature status moves to draft. Replacement is refused once the LOA is signed or submitted — cancel the request and resubmit to attach a different document. Requires the numbers:write scope.
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"numbers": [
"string"
],
"status": "submitted",
"loaSignatureStatus": null,
"provider": null,
"focDate": null,
"rejectionReason": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Sign a port-in LOA
POST /api/v1/numbers/porting/{id}/loa/signdraft to signed. Requires an uploaded LOA and a draft signature status — a second signature returns 422. Requires the numbers:write scope.
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"numbers": [
"string"
],
"status": "submitted",
"loaSignatureStatus": null,
"provider": null,
"focDate": null,
"rejectionReason": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Submit a signed port-in LOA
POST /api/v1/numbers/porting/{id}/loa/submitsubmitted. Manual-mode requests skip the carrier forward so operations can attach the signed document out of band. Requires a signed signature status. Requires the numbers:write scope.
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/submit" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/submit', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/submit", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/submit", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/submit', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/submit', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"numbers": [
"string"
],
"status": "submitted",
"loaSignatureStatus": null,
"provider": null,
"focDate": null,
"rejectionReason": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Refresh a port-in request status
POST /api/v1/numbers/porting/{id}/refreshnumbers:write scope.
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/refresh" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/refresh', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/refresh", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/refresh", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/refresh', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/refresh', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"numbers": [
"string"
],
"status": "submitted",
"loaSignatureStatus": null,
"provider": null,
"focDate": null,
"rejectionReason": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Supplement a rejected port-in request
POST /api/v1/numbers/porting/{id}/supplementnumbers:write scope.
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/supplement" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/supplement', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/supplement", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/supplement", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/supplement', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/supplement', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"numbers": [
"string"
],
"status": "submitted",
"loaSignatureStatus": null,
"provider": null,
"focDate": null,
"rejectionReason": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Check port-in eligibility
POST /api/v1/numbers/porting/checkcheck-not-supported status. Surface the verdict in the porting wizard to catch a non-portable number up front instead of waiting out the 2–7 business-day submission window. Requires the numbers:read scope.
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/porting/check" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/porting/check', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/porting/check", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/porting/check", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/porting/check', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/porting/check', jsonBody: $body);
echo json_encode($result);
{
"data": {
"eligible": false,
"reasons": [
"string"
],
"splittable": false,
"estimated_foc_date": null,
"fast_portable": false,
"check_status": "checked",
"provider": "string"
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Bulk check
POST /api/v1/numbers/porting/check/bulkcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/porting/check/bulk" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/porting/check/bulk', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/porting/check/bulk", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/porting/check/bulk", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/porting/check/bulk', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/porting/check/bulk', jsonBody: $body);
echo json_encode($result);
{
"data": {
"bulk_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Submit a port-out request
POST /api/v1/numbers/porting/outcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/porting/out" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/porting/out', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/porting/out", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/porting/out", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/porting/out', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/porting/out', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"numbers": [
"string"
],
"destinationCarrier": "+14155552671",
"status": "submitted",
"submittedAt": "1970-01-01T00:00:00.000Z",
"provider": "telnyx",
"providerOrderId": "string",
"newOwnerInfo": null,
"rejectionReason": null,
"focDate": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Refresh a port-out request
POST /api/v1/numbers/porting/out/{id}/refreshcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/refresh" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/refresh', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/refresh", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/refresh", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/refresh', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/refresh', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"numbers": [
"string"
],
"destinationCarrier": "+14155552671",
"status": "submitted",
"submittedAt": "1970-01-01T00:00:00.000Z",
"provider": "telnyx",
"providerOrderId": "string",
"newOwnerInfo": null,
"rejectionReason": null,
"focDate": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Pre-validate porting
POST /api/v1/numbers/porting/pre-validatecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/porting/pre-validate" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/porting/pre-validate', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/porting/pre-validate", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/porting/pre-validate", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/porting/pre-validate', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/porting/pre-validate', jsonBody: $body);
echo json_encode($result);
{
"data": {
"pre_validate_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Submit a toll-free RespOrg change request
POST /api/v1/numbers/porting/toll-free/resporgdirection: 'in') or release it (direction: 'out') by requesting a Responsible Organization (RespOrg) change via Somos — the SMS/800 analogue of geographic LNP porting (toll-free numbers are never ported carrier-to-carrier). newRespOrgId is required for direction: 'out'. The request is captured and tracked here and fulfilled by operations through Somos out-of-band (no live Somos API integration). Invariant #45 unaffected — inbound toll-free number administration only.
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/porting/toll-free/resporg" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"direction": "in",
"numbers": []
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/porting/toll-free/resporg', {
"direction": "in",
"numbers": []
});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = { "direction": "in", "numbers": [] }
result = client.request("POST", "/numbers/porting/toll-free/resporg", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{"direction": "in","numbers": []any{}}
if err := client.Request(ctx, "POST", "/numbers/porting/toll-free/resporg", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = { "direction" => "in", "numbers" => [] }
result = client.request('POST', '/numbers/porting/toll-free/resporg', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = ["direction" => "in", "numbers" => []];
$result = $client->request('POST', '/numbers/porting/toll-free/resporg', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"direction": "in",
"numbers": [
"string"
],
"currentRespOrgId": "string",
"newRespOrgId": "string",
"status": "submitted",
"submittedAt": "1970-01-01T00:00:00.000Z",
"authorizedSigner": "string",
"loaFileUrl": "https://example.com",
"loaSignedAt": "1970-01-01T00:00:00.000Z",
"loaSignedBy": {
"name": "string",
"email": "string",
"ip": "string",
"acknowledgement": "string"
},
"focDate": "1970-01-01T00:00:00.000Z",
"rejectionReason": "string",
"cancellationReason": "string"
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Sign the LOA for a toll-free RespOrg change request
POST /api/v1/numbers/porting/toll-free/resporg/{id}/loa/signsubmitted to loa_signed. loaFileUrl may be supplied here when it wasn’t attached at creation. acknowledgement is the verbatim consent text the signer accepted (20-4000 chars).
A Devotel-issued GCS signed URL from POST /files/upload — required if not supplied at creation.
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"signerName": "string",
"signerEmail": "user@example.com",
"acknowledgement": "string"
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign', {
"signerName": "string",
"signerEmail": "user@example.com",
"acknowledgement": "string"
});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = { "signerName": "string", "signerEmail": "user@example.com", "acknowledgement": "string" }
result = client.request("POST", "/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{"signerName": "string","signerEmail": "user@example.com","acknowledgement": "string"}
if err := client.Request(ctx, "POST", "/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = { "signerName" => "string", "signerEmail" => "user@example.com", "acknowledgement" => "string" }
result = client.request('POST', '/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = ["signerName" => "string", "signerEmail" => "user@example.com", "acknowledgement" => "string"];
$result = $client->request('POST', '/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/loa/sign', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"direction": "in",
"numbers": [
"string"
],
"currentRespOrgId": "string",
"newRespOrgId": "string",
"status": "submitted",
"submittedAt": "1970-01-01T00:00:00.000Z",
"authorizedSigner": "string",
"loaFileUrl": "https://example.com",
"loaSignedAt": "1970-01-01T00:00:00.000Z",
"loaSignedBy": {
"name": "string",
"email": "string",
"ip": "string",
"acknowledgement": "string"
},
"focDate": "1970-01-01T00:00:00.000Z",
"rejectionReason": "string",
"cancellationReason": "string"
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Purchase a phone number
POST /api/v1/numbers/purchasecURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/purchase" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/purchase', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/purchase", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/purchase", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/purchase', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/purchase', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"phoneNumber": "string",
"provider": "string",
"status": "active",
"capabilities": [
"string"
],
"providerOrderId": "string",
"providerId": "string"
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Purchase the trial number
POST /api/v1/numbers/purchase-trialcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/purchase-trial" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/purchase-trial', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/purchase-trial", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/purchase-trial", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/purchase-trial', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/purchase-trial', jsonBody: $body);
echo json_encode($result);
{
"data": {
"phoneNumber": "string",
"numberType": null,
"country": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Release-bulk numbers
POST /api/v1/numbers/release-bulkcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/release-bulk" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/release-bulk', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/release-bulk", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/release-bulk", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/release-bulk', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/release-bulk', jsonBody: $body);
echo json_encode($result);
{
"data": {
"release_bulk_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Run replenishment
POST /api/v1/numbers/replenishment/runcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/replenishment/run" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/replenishment/run', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/replenishment/run", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/replenishment/run", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/replenishment/run', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/replenishment/run', jsonBody: $body);
echo json_encode($result);
{
"data": {
"replenishment_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Bulk routing
POST /api/v1/numbers/routing/bulkcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/routing/bulk" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/routing/bulk', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/routing/bulk", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/routing/bulk", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/routing/bulk', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/routing/bulk', jsonBody: $body);
echo json_encode($result);
{
"data": {
"bulk_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Open a short-code application
POST /api/v1/numbers/short-codesdraft, so the brief can still be edited with PATCH /numbers/short-codes/{id}/brief until it is submitted for carrier vetting; a vanity selection also requires requestedCode. Returns the created draft application. Provisioning lifecycle only — no outbound (MT) SMS path is created (invariant #45).
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/short-codes" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/short-codes', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/short-codes", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/short-codes", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/short-codes', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/short-codes', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"countryCode": "string",
"leaseType": "dedicated",
"selection": "random",
"requestedCode": null,
"assignedCode": null,
"leaseTermMonths": 3,
"status": "draft",
"businessName": "string",
"programBrief": {
"useCase": "string",
"description": "string",
"sampleMessages": [
"string"
],
"messageFrequency": "string",
"optInDescription": "string",
"supportContact": "string",
"privacyPolicyUrl": null,
"termsUrl": null
},
"carrierVetting": [
{
"carrier": "string",
"status": "pending",
"updatedAt": "1970-01-01T00:00:00.000Z",
"note": null
}
],
"createdAt": "1970-01-01T00:00:00.000Z",
"updatedAt": "1970-01-01T00:00:00.000Z",
"submittedAt": null,
"provisionedAt": null,
"leaseEndsAt": null,
"rejectionReason": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Create preflight
POST /api/v1/numbers/short-codes/{id}/preflightcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/preflight" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/preflight', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/preflight", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/preflight", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/preflight', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/preflight', jsonBody: $body);
echo json_encode($result);
{
"data": {
"preflight_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Provision a carrier-approved short-code application
POST /api/v1/numbers/short-codes/{id}/provisionprovisioned, and start the lease clock (its renew-by date is provisionedAt + the lease term). Use this once every carrier has approved to activate the short code for messaging. Returns 409 if the application is not through carrier vetting, and 404 if no application with that id belongs to the caller’s organization. Requires the numbers:write scope (owner / admin).
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/provision" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/provision', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/provision", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/provision", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/provision', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/provision', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"countryCode": "string",
"leaseType": "dedicated",
"selection": "random",
"requestedCode": null,
"assignedCode": null,
"leaseTermMonths": 3,
"status": "draft",
"businessName": "string",
"programBrief": {
"useCase": "string",
"description": "string",
"sampleMessages": [
"string"
],
"messageFrequency": "string",
"optInDescription": "string",
"supportContact": "string",
"privacyPolicyUrl": null,
"termsUrl": null
},
"carrierVetting": [
{
"carrier": "string",
"status": "pending",
"updatedAt": "1970-01-01T00:00:00.000Z",
"note": null
}
],
"createdAt": "1970-01-01T00:00:00.000Z",
"updatedAt": "1970-01-01T00:00:00.000Z",
"submittedAt": null,
"provisionedAt": null,
"leaseEndsAt": null,
"rejectionReason": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Reject a short-code application
POST /api/v1/numbers/short-codes/{id}/rejectrejected and store the rejection reason surfaced to the operator. Use this to relay a hard rejection from the carrier review so the timeline and the dashboard reflect that the application will not proceed. Returns 404 if no application with that id belongs to the caller’s organization. Requires the numbers:write scope (owner / admin).
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reject" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reject', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reject", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reject", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reject', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reject', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"countryCode": "string",
"leaseType": "dedicated",
"selection": "random",
"requestedCode": null,
"assignedCode": null,
"leaseTermMonths": 3,
"status": "draft",
"businessName": "string",
"programBrief": {
"useCase": "string",
"description": "string",
"sampleMessages": [
"string"
],
"messageFrequency": "string",
"optInDescription": "string",
"supportContact": "string",
"privacyPolicyUrl": null,
"termsUrl": null
},
"carrierVetting": [
{
"carrier": "string",
"status": "pending",
"updatedAt": "1970-01-01T00:00:00.000Z",
"note": null
}
],
"createdAt": "1970-01-01T00:00:00.000Z",
"updatedAt": "1970-01-01T00:00:00.000Z",
"submittedAt": null,
"provisionedAt": null,
"leaseEndsAt": null,
"rejectionReason": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Submit a short-code application for carrier vetting
POST /api/v1/numbers/short-codes/{id}/submitdraft to submitted and locking the program brief so it matches the snapshot carriers review. Use this once the program brief is complete to start the multi-week per-carrier vetting queue; the short code is reserved and the brief is forwarded for review. Takes no request body. Returns 409 if the application is not in draft, and 404 if no application with that id belongs to the caller’s organization. Requires the numbers:write scope (owner / admin / developer).
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/submit', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"countryCode": "string",
"leaseType": "dedicated",
"selection": "random",
"requestedCode": null,
"assignedCode": null,
"leaseTermMonths": 3,
"status": "draft",
"businessName": "string",
"programBrief": {
"useCase": "string",
"description": "string",
"sampleMessages": [
"string"
],
"messageFrequency": "string",
"optInDescription": "string",
"supportContact": "string",
"privacyPolicyUrl": null,
"termsUrl": null
},
"carrierVetting": [
{
"carrier": "string",
"status": "pending",
"updatedAt": "1970-01-01T00:00:00.000Z",
"note": null
}
],
"createdAt": "1970-01-01T00:00:00.000Z",
"updatedAt": "1970-01-01T00:00:00.000Z",
"submittedAt": null,
"provisionedAt": null,
"leaseEndsAt": null,
"rejectionReason": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Record per-carrier vetting for a short-code application
POST /api/v1/numbers/short-codes/{id}/vettingsubmitted to carrier_vetting and seeds the per-carrier tracker (the US carriers for a US code); later calls update a single carrier’s state within the multi-week review. Use it to relay each carrier’s pending / approved / rejected decision so the timeline reflects real progress. Returns 409 if the application is not submitted or under review, and 404 if no application with that id belongs to the caller’s organization. Requires the numbers:write scope (owner / admin).
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/vetting" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/vetting', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/vetting", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/vetting", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/vetting', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/vetting', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"countryCode": "string",
"leaseType": "dedicated",
"selection": "random",
"requestedCode": null,
"assignedCode": null,
"leaseTermMonths": 3,
"status": "draft",
"businessName": "string",
"programBrief": {
"useCase": "string",
"description": "string",
"sampleMessages": [
"string"
],
"messageFrequency": "string",
"optInDescription": "string",
"supportContact": "string",
"privacyPolicyUrl": null,
"termsUrl": null
},
"carrierVetting": [
{
"carrier": "string",
"status": "pending",
"updatedAt": "1970-01-01T00:00:00.000Z",
"note": null
}
],
"createdAt": "1970-01-01T00:00:00.000Z",
"updatedAt": "1970-01-01T00:00:00.000Z",
"submittedAt": null,
"provisionedAt": null,
"leaseEndsAt": null,
"rejectionReason": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Preflight short-codes
POST /api/v1/numbers/short-codes/preflightcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/short-codes/preflight" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/short-codes/preflight', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/short-codes/preflight", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/short-codes/preflight", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/short-codes/preflight', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/short-codes/preflight', jsonBody: $body);
echo json_encode($result);
{
"data": {
"preflight_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Lint toll-free sample messages before TFV submission
POST /api/v1/numbers/tfv-linterror blocks, warn / info advise), the offending sample index, matched evidence, and a remediation suggestion; ok is true only when there are zero errors. Pure content check — no DID is changed. Requires the numbers:read scope.
cURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/tfv-lint" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/tfv-lint', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/tfv-lint", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/tfv-lint", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/tfv-lint', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/tfv-lint', jsonBody: $body);
echo json_encode($result);
{
"data": {
"ok": false,
"findings": [
{
"severity": "error",
"category": "string",
"sample_index": 0,
"evidence": "string",
"suggestion": "string"
}
],
"summary": {
"error": 0,
"warn": 0,
"info": 0
}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Tracking-pools numbers
POST /api/v1/numbers/tracking-poolscURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/tracking-pools" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/tracking-pools', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/tracking-pools", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/tracking-pools", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/tracking-pools', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/tracking-pools', jsonBody: $body);
echo json_encode($result);
{
"data": {
"tracking_pools_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create assign
POST /api/v1/numbers/tracking-pools/{id}/assigncURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/assign" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/assign', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/assign", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/assign", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/assign', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/assign', jsonBody: $body);
echo json_encode($result);
{
"data": {
"assign_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Create unassign
POST /api/v1/numbers/tracking-pools/{id}/unassigncURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/unassign" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/unassign', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/unassign", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/unassign", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/unassign', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/unassign', jsonBody: $body);
echo json_encode($result);
{
"data": {
"unassign_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Waitlist numbers
POST /api/v1/numbers/waitlistcURL
curl -X POST "https://api.orbit.devotel.io/api/v1/numbers/waitlist" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('POST', '/numbers/waitlist', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("POST", "/numbers/waitlist", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "POST", "/numbers/waitlist", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('POST', '/numbers/waitlist', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('POST', '/numbers/waitlist', jsonBody: $body);
echo json_encode($result);
{
"data": {
"waitlist_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Update numbers
PUT /api/v1/numbers/{id}cURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', jsonBody: $body);
echo json_encode($result);
{
"data": {
"numbers_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Set the branded-caller profile for a number
PUT /api/v1/numbers/{id}/branded-caller-profileregistered_with_carriers stays org-level). INVARIANT #45 untouched — caller-presentation metadata only, relayed on the existing outbound path; no alternate route is wired. Org-ownership gated + audit-logged.
cURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"display_name": "string",
"logo_url": "https://example.com"
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile', {
"display_name": "string",
"logo_url": "https://example.com"
});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = { "display_name": "string", "logo_url": "https://example.com" }
result = client.request("PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{"display_name": "string","logo_url": "https://example.com"}
if err := client.Request(ctx, "PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = { "display_name" => "string", "logo_url" => "https://example.com" }
result = client.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = ["display_name" => "string", "logo_url" => "https://example.com"];
$result = $client->request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"profile": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Update campaign-assignment
PUT /api/v1/numbers/{id}/campaign-assignmentcURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment', jsonBody: $body);
echo json_encode($result);
{
"data": {
"campaign_assignment_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Update cnam
PUT /api/v1/numbers/{id}/cnamcURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam', jsonBody: $body);
echo json_encode($result);
{
"data": {
"cnam_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Set the 411/DA directory listing for a number
PUT /api/v1/numbers/{id}/directory-listingpending). A listed entry REQUIRES both listed_name and a full civic address — unlisted/non_published entries carry neither (any supplied name/address is ignored). Follow with POST /:id/directory-listing/dispatch to hand the captured state to the Devotel wholesale-softswitch directory provisioning queue. INVARIANT #45: no Telnyx/DIDWW directory write is made. Org-ownership gated + audit-logged.
cURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"listing_type": "listed"
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing', {
"listing_type": "listed"
});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = { "listing_type": "listed" }
result = client.request("PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{"listing_type": "listed"}
if err := client.Request(ctx, "PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = { "listing_type" => "listed" }
result = client.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = ["listing_type" => "listed"];
$result = $client->request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"listing": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Update emergency-address
PUT /api/v1/numbers/{id}/emergency-addresscURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address', jsonBody: $body);
echo json_encode($result);
{
"data": {
"emergency_address_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Update fax-routing
PUT /api/v1/numbers/{id}/fax-routingcURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/fax-routing" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/fax-routing', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/fax-routing", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/fax-routing", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/fax-routing', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/fax-routing', jsonBody: $body);
echo json_encode($result);
{
"data": {
"fax_routing_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Update regulator
PUT /api/v1/numbers/{id}/regulatorcURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/regulator" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/regulator', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/regulator", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/regulator", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/regulator', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/regulator', jsonBody: $body);
echo json_encode($result);
{
"data": {
"regulator_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Update scheduled-release
PUT /api/v1/numbers/{id}/scheduled-releasecURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PUT", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PUT', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release', jsonBody: $body);
echo json_encode($result);
{
"data": {
"scheduled_release_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Set a number’s inbound call/SMS route
PUT /api/v1/numbers/{phoneNumber}/routingtype + config — route to an AI agent, a voicemail box, an ivr, a sip_forward endpoint, a ring_group, and more — with an optional fallback_type, business-hours gating, caller-ID allow/block filtering, a per-route recording override, and an optional per-DID inbound-SMS route. The route shape and any config URLs are safety-validated before persisting. This configures INBOUND handling only; it does not affect outbound calling. Returns the saved route with SIP passwords redacted. Scoped on the numbers resource (numbers:read or numbers:write).
The DID in E.164 (e.g.
+14155550100). A leading + is optional — it is added if missing.Primary route type — one of
agent, softphone_user, softphone_register, ivr, voicemail, queue, sip_forward, transfer, conference, decline, ring_group, shared_line, dispatch_to_voicemail_box, or a webhook (voiceUrl) route.Type-specific configuration (e.g.
{ agentId } for agent, { sipUri, sipUsername, sipPassword } for sip_forward).Per-route recording override —
off | all | inbound | outbound, or null to inherit the org default.Required when
type is ring_group — an existing ring-group id owned by this organization.cURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/numbers/%2B14155551234/routing" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/numbers/%2B14155551234/routing', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PUT", "/numbers/%2B14155551234/routing", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PUT", "/numbers/%2B14155551234/routing", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PUT', '/numbers/%2B14155551234/routing', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PUT', '/numbers/%2B14155551234/routing', jsonBody: $body);
echo json_encode($result);
{
"data": {},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Update network-access
PUT /api/v1/numbers/connectivity/fleets/{fleetId}/network-accesscURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/numbers/connectivity/fleets/fleet_demo/network-access" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/numbers/connectivity/fleets/fleet_demo/network-access', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PUT", "/numbers/connectivity/fleets/fleet_demo/network-access", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PUT", "/numbers/connectivity/fleets/fleet_demo/network-access", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PUT', '/numbers/connectivity/fleets/fleet_demo/network-access', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PUT', '/numbers/connectivity/fleets/fleet_demo/network-access', jsonBody: $body);
echo json_encode($result);
{
"data": {
"network_access_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Update authorized-imeis
PUT /api/v1/numbers/connectivity/sims/{iccid}/authorized-imeiscURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims/iccid_demo/authorized-imeis" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/numbers/connectivity/sims/iccid_demo/authorized-imeis', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PUT", "/numbers/connectivity/sims/iccid_demo/authorized-imeis", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PUT", "/numbers/connectivity/sims/iccid_demo/authorized-imeis", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PUT', '/numbers/connectivity/sims/iccid_demo/authorized-imeis', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PUT', '/numbers/connectivity/sims/iccid_demo/authorized-imeis', jsonBody: $body);
echo json_encode($result);
{
"data": {
"authorized_imeis_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Update replenishment-policy
PUT /api/v1/numbers/replenishment-policycURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/numbers/replenishment-policy" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/numbers/replenishment-policy', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PUT", "/numbers/replenishment-policy", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PUT", "/numbers/replenishment-policy", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PUT', '/numbers/replenishment-policy', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PUT', '/numbers/replenishment-policy', jsonBody: $body);
echo json_encode($result);
{
"data": {
"replenishment_policy_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Update reputation-remediation-policy
PUT /api/v1/numbers/reputation-remediation-policycURL
curl -X PUT "https://api.orbit.devotel.io/api/v1/numbers/reputation-remediation-policy" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PUT', '/numbers/reputation-remediation-policy', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PUT", "/numbers/reputation-remediation-policy", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PUT", "/numbers/reputation-remediation-policy", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PUT', '/numbers/reputation-remediation-policy', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PUT', '/numbers/reputation-remediation-policy', jsonBody: $body);
echo json_encode($result);
{
"data": {
"reputation_remediation_policy_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Patch auto-renew
PATCH /api/v1/numbers/{id}/auto-renewcURL
curl -X PATCH "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/auto-renew" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PATCH', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/auto-renew', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PATCH", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/auto-renew", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PATCH", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/auto-renew", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PATCH', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/auto-renew', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PATCH', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/auto-renew', jsonBody: $body);
echo json_encode($result);
{
"data": {
"auto_renew_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Update a dispatchable emergency location
PATCH /api/v1/numbers/{id}/emergency-address/locationdevice_key and source are always required (every update records HOW the location changed) and at least ONE civic field must be supplied — an otherwise-empty patch is rejected with 422 rather than silently no-op’ing. 404 when no location is registered for that device. Org-ownership gated + audit-logged.
Identifier of the roaming extension / device the location belongs to — the same identifier the device registers with.
cURL
curl -X PATCH "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"source": "manual",
"device_key": "string"
}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PATCH', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location', {
"source": "manual",
"device_key": "string"
});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = { "source": "manual", "device_key": "string" }
result = client.request("PATCH", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{"source": "manual","device_key": "string"}
if err := client.Request(ctx, "PATCH", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = { "source" => "manual", "device_key" => "string" }
result = client.request('PATCH', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = ["source" => "manual", "device_key" => "string"];
$result = $client->request('PATCH', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"device_key": "string",
"location": {
"device_key": "string",
"device_label": null,
"caller_name": null,
"address_line_1": "string",
"line_2": "string",
"city": "string",
"region": "string",
"postal": "string",
"country": "string",
"lat": null,
"lng": null,
"source": "manual",
"validation_status": "valid",
"validation_issues": [
"string"
],
"registered_at": "1970-01-01T00:00:00.000Z",
"last_update_at": "1970-01-01T00:00:00.000Z"
}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Patch submissions
PATCH /api/v1/numbers/{id}/reputation/submissions/{submissionId}cURL
curl -X PATCH "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/submissions/submission_demo" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PATCH', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/submissions/submission_demo', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PATCH", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/submissions/submission_demo", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PATCH", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/submissions/submission_demo", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PATCH', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/submissions/submission_demo', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PATCH', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/reputation/submissions/submission_demo', jsonBody: $body);
echo json_encode($result);
{
"data": {
"submissions_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Patch scheduled-release
PATCH /api/v1/numbers/{id}/scheduled-releasecURL
curl -X PATCH "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PATCH', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PATCH", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PATCH", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PATCH', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PATCH', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "num_01J8N6A0K1DRMDM3R0T0",
"phone_number": "+14155550142",
"country_code": "US",
"capabilities": [
"sms",
"voice"
],
"monthly_cost": 1.5,
"provider": "Devotel",
"label": "Overflow line",
"forwarding_number": null,
"number_type": "local",
"metadata": {
"scheduled_release_at": "2026-10-01T00:00:00.000Z",
"scheduled_release_updated_at": "2026-08-26T12:00:00.000Z"
},
"status": "active",
"assigned_at": "2025-07-10T09:41:22.000Z",
"created_at": "2025-07-10T09:41:22.000Z",
"updated_at": "2026-08-26T12:00:00.000Z",
"tags": [
"support"
],
"health_score": 92,
"health_tier": "excellent"
},
"meta": {
"request_id": "req_01J8QDA4NK7W6QF0B2R14",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Override the SMS complaint suppression hold
PATCH /api/v1/numbers/{id}/sms-complaints/suppressioncURL
curl -X PATCH "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints/suppression" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PATCH', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints/suppression', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PATCH", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints/suppression", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PATCH", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints/suppression", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PATCH', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints/suppression', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PATCH', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/sms-complaints/suppression', jsonBody: $body);
echo json_encode($result);
{
"data": {
"phone_number_id": "num_01J8N6A0K1DRMDM3R0T0",
"phone_number": "+14155550142",
"monitored": true,
"rollup": {
"window_days": 30,
"level": "critical",
"complaint_count": 34,
"message_count": 6200,
"complaint_rate": 0.0055,
"sample_sufficient": true,
"sources": [
"tmobile",
"aggregator"
],
"report_count": 2,
"first_report_at": "2026-08-01T00:00:00.000Z",
"last_report_at": "2026-08-25T23:59:59.000Z",
"auto_suppress_recommended": true
},
"suppression": {
"suppressed": true,
"mode": "manual",
"reason": "Held pending content-review remediation run REM-2291",
"level": "critical",
"since": "2026-08-25T09:14:00.000Z",
"updated_at": "2026-08-26T12:00:00.000Z",
"updated_by": "user_01J7H2XK9MF0R7TQ4V0WS"
},
"thresholds": {
"rate": {
"elevated": 0.001,
"high": 0.002,
"critical": 0.005
},
"absolute_floors": {
"elevated": 5,
"high": 20,
"critical": 100
},
"min_message_sample": 500
},
"reports": [
{
"source": "tmobile",
"period_start": "2026-08-01T00:00:00.000Z",
"period_end": "2026-08-15T23:59:59.000Z",
"complaint_count": 18,
"message_count": 3100,
"reference": "TMO-FBL-2026-08-3317",
"observed_at": "2026-08-16T06:02:44.000Z"
},
{
"source": "aggregator",
"period_start": "2026-08-16T00:00:00.000Z",
"period_end": "2026-08-25T23:59:59.000Z",
"complaint_count": 16,
"message_count": 3100,
"reference": null,
"observed_at": "2026-08-26T06:11:09.000Z"
}
],
"last_ingested_at": "2026-08-26T06:11:09.000Z"
},
"meta": {
"request_id": "req_01J8QDA8NK7W6QF0B2R18",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Patch applications
PATCH /api/v1/numbers/applications/{id}cURL
curl -X PATCH "https://api.orbit.devotel.io/api/v1/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PATCH', '/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PATCH", "/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PATCH", "/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PATCH', '/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PATCH', '/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', jsonBody: $body);
echo json_encode($result);
{
"data": {
"applications_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Patch quota
PATCH /api/v1/numbers/connectivity/sims/{iccid}/quotacURL
curl -X PATCH "https://api.orbit.devotel.io/api/v1/numbers/connectivity/sims/iccid_demo/quota" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PATCH', '/numbers/connectivity/sims/iccid_demo/quota', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PATCH", "/numbers/connectivity/sims/iccid_demo/quota", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PATCH", "/numbers/connectivity/sims/iccid_demo/quota", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PATCH', '/numbers/connectivity/sims/iccid_demo/quota', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PATCH', '/numbers/connectivity/sims/iccid_demo/quota', jsonBody: $body);
echo json_encode($result);
{
"data": {
"quota_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Patch route
PATCH /api/v1/numbers/hosted-messaging/{id}/routecURL
curl -X PATCH "https://api.orbit.devotel.io/api/v1/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/route" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PATCH', '/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/route', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PATCH", "/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/route", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PATCH", "/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/route", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PATCH', '/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/route', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PATCH', '/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/route', jsonBody: $body);
echo json_encode($result);
{
"data": {
"route_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Patch international-freephone
PATCH /api/v1/numbers/international-freephone/{id}cURL
curl -X PATCH "https://api.orbit.devotel.io/api/v1/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PATCH', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PATCH", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PATCH", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PATCH', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PATCH', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', jsonBody: $body);
echo json_encode($result);
{
"data": {
"international_freephone_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Update a short-code application’s program brief
PATCH /api/v1/numbers/short-codes/{id}/briefdraft, before it is submitted for the multi-week carrier review. Returns 409 if the application has already been submitted, and 404 if no application with that id belongs to the caller’s organization. Requires the numbers:write scope.
cURL
curl -X PATCH "https://api.orbit.devotel.io/api/v1/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/brief" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PATCH', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/brief', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PATCH", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/brief", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PATCH", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/brief", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PATCH', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/brief', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PATCH', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/brief', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"countryCode": "string",
"leaseType": "dedicated",
"selection": "random",
"requestedCode": null,
"assignedCode": null,
"leaseTermMonths": 3,
"status": "draft",
"businessName": "string",
"programBrief": {
"useCase": "string",
"description": "string",
"sampleMessages": [
"string"
],
"messageFrequency": "string",
"optInDescription": "string",
"supportContact": "string",
"privacyPolicyUrl": null,
"termsUrl": null
},
"carrierVetting": [
{
"carrier": "string",
"status": "pending",
"updatedAt": "1970-01-01T00:00:00.000Z",
"note": null
}
],
"createdAt": "1970-01-01T00:00:00.000Z",
"updatedAt": "1970-01-01T00:00:00.000Z",
"submittedAt": null,
"provisionedAt": null,
"leaseEndsAt": null,
"rejectionReason": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Patch tracking-pools
PATCH /api/v1/numbers/tracking-pools/{id}cURL
curl -X PATCH "https://api.orbit.devotel.io/api/v1/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('PATCH', '/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("PATCH", "/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "PATCH", "/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('PATCH', '/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('PATCH', '/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', jsonBody: $body);
echo json_encode($result);
{
"data": {
"tracking_pools_enabled": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Delete numbers
DELETE /api/v1/numbers/{id}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', jsonBody: $body);
echo json_encode($result);
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Remove the branded-caller profile for a number
DELETE /api/v1/numbers/{id}/branded-caller-profilecURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/branded-caller-profile', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"profile": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Delete campaign-assignment
DELETE /api/v1/numbers/{id}/campaign-assignmentcURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/campaign-assignment', jsonBody: $body);
echo json_encode($result);
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Delete cnam
DELETE /api/v1/numbers/{id}/cnamcURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/cnam', jsonBody: $body);
echo json_encode($result);
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Remove the 411/DA directory listing for a number
DELETE /api/v1/numbers/{id}/directory-listingcURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/directory-listing', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"listing": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Delete emergency-address
DELETE /api/v1/numbers/{id}/emergency-addresscURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address', jsonBody: $body);
echo json_encode($result);
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Remove a dispatchable emergency location for a number
DELETE /api/v1/numbers/{id}/emergency-address/location/{deviceKey}deviceKey). Removing the number’s last registered dispatchable location surfaces on the next call attempt via the normal E911 compliance gate. Org-ownership gated + audit-logged.
Identifier of the registered device/endpoint whose dispatchable location is being removed.
cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location/deviceKey_demo" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location/deviceKey_demo', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location/deviceKey_demo", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location/deviceKey_demo", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location/deviceKey_demo', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/emergency-address/location/deviceKey_demo', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"device_key": "string",
"removed": false
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
{
"error": {
"code": "string",
"message": "string",
"status": 0,
"details": {}
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z",
"docs_url": "https://example.com"
}
}
Delete port-out-protection
DELETE /api/v1/numbers/{id}/port-out-protectioncURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/port-out-protection', jsonBody: $body);
echo json_encode($result);
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Delete scheduled-release
DELETE /api/v1/numbers/{id}/scheduled-releasecURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3/scheduled-release', jsonBody: $body);
echo json_encode($result);
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Clear a number’s inbound route
DELETE /api/v1/numbers/{phoneNumber}/routingnumbers resource (numbers:read or numbers:write).
The DID in E.164 (e.g.
+14155550100). A leading + is optional — it is added if missing.cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/%2B14155551234/routing" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/%2B14155551234/routing', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/%2B14155551234/routing", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/%2B14155551234/routing", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/%2B14155551234/routing', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/%2B14155551234/routing', jsonBody: $body);
echo json_encode($result);
204 No Content
Delete applications
DELETE /api/v1/numbers/applications/{id}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/applications/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', jsonBody: $body);
echo json_encode($result);
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Delete network-access
DELETE /api/v1/numbers/connectivity/fleets/{fleetId}/network-accesscURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/connectivity/fleets/fleet_demo/network-access" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/connectivity/fleets/fleet_demo/network-access', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/connectivity/fleets/fleet_demo/network-access", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/connectivity/fleets/fleet_demo/network-access", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/connectivity/fleets/fleet_demo/network-access', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/connectivity/fleets/fleet_demo/network-access', jsonBody: $body);
echo json_encode($result);
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Delete hosted-messaging
DELETE /api/v1/numbers/hosted-messaging/{id}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/hosted-messaging/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', jsonBody: $body);
echo json_encode($result);
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Delete international-freephone
DELETE /api/v1/numbers/international-freephone/{id}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/international-freephone/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', jsonBody: $body);
echo json_encode($result);
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Cancel a port-in request
DELETE /api/v1/numbers/porting/{id}numbers:write scope.
cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/porting/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"numbers": [
"string"
],
"status": "submitted",
"loaSignatureStatus": null,
"provider": null,
"focDate": null,
"rejectionReason": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Cancel a port-out request
DELETE /api/v1/numbers/porting/out/{id}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/porting/out/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"numbers": [
"string"
],
"destinationCarrier": "+14155552671",
"status": "submitted",
"submittedAt": "1970-01-01T00:00:00.000Z",
"provider": "telnyx",
"providerOrderId": "string",
"newOwnerInfo": null,
"rejectionReason": null,
"focDate": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Cancel a toll-free RespOrg change request
DELETE /api/v1/numbers/porting/toll-free/resporg/{id}foc/completed).
cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/porting/toll-free/resporg/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"direction": "in",
"numbers": [
"string"
],
"currentRespOrgId": "string",
"newRespOrgId": "string",
"status": "submitted",
"submittedAt": "1970-01-01T00:00:00.000Z",
"authorizedSigner": "string",
"loaFileUrl": "https://example.com",
"loaSignedAt": "1970-01-01T00:00:00.000Z",
"loaSignedBy": {
"name": "string",
"email": "string",
"ip": "string",
"acknowledgement": "string"
},
"focDate": "1970-01-01T00:00:00.000Z",
"rejectionReason": "string",
"cancellationReason": "string"
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Release the trial number
DELETE /api/v1/numbers/release-trialcURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/release-trial" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/release-trial', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/release-trial", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/release-trial", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/release-trial', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/release-trial', jsonBody: $body);
echo json_encode($result);
{
"data": {
"released": false
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Cancel a short-code application
DELETE /api/v1/numbers/short-codes/{id}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/short-codes/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', jsonBody: $body);
echo json_encode($result);
{
"data": {
"id": "msg_3f6a81c2d4e5471a9b0c2d5e",
"countryCode": "string",
"leaseType": "dedicated",
"selection": "random",
"requestedCode": null,
"assignedCode": null,
"leaseTermMonths": 3,
"status": "draft",
"businessName": "string",
"programBrief": {
"useCase": "string",
"description": "string",
"sampleMessages": [
"string"
],
"messageFrequency": "string",
"optInDescription": "string",
"supportContact": "string",
"privacyPolicyUrl": null,
"termsUrl": null
},
"carrierVetting": [
{
"carrier": "string",
"status": "pending",
"updatedAt": "1970-01-01T00:00:00.000Z",
"note": null
}
],
"createdAt": "1970-01-01T00:00:00.000Z",
"updatedAt": "1970-01-01T00:00:00.000Z",
"submittedAt": null,
"provisionedAt": null,
"leaseEndsAt": null,
"rejectionReason": null
},
"meta": {
"request_id": "req_sample",
"timestamp": "1970-01-01T00:00:00.000Z"
}
}
Delete tracking-pools
DELETE /api/v1/numbers/tracking-pools/{id}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/tracking-pools/num_8fb2d1b7c00c4ec9a1d3f5e7b9c1d3', jsonBody: $body);
echo json_encode($result);
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}
Delete waitlist
DELETE /api/v1/numbers/waitlist/{entryId}cURL
curl -X DELETE "https://api.orbit.devotel.io/api/v1/numbers/waitlist/entry_demo" \
-H "X-API-Key: dv_live_sk_your_key_here" \
-H "Content-Type: application/json" \
-d '{}'
Node.js
import { Orbit } from '@devotel-orbit/node'
const orbit = new Orbit({
apiKey: process.env.ORBIT_API_KEY!,
})
// orbit.request() handles auth, retry, and idempotency automatically
const data = await orbit.request('DELETE', '/numbers/waitlist/entry_demo', {});
console.log(data)
Python
from orbit_sdk import OrbitClient
client = OrbitClient.from_env("ORBIT_API_KEY")
body = {}
result = client.request("DELETE", "/numbers/waitlist/entry_demo", json_body=body)
print(result)
Go
package main
import (
"context"
"fmt"
"os"
"time"
orbit "github.com/devotel/orbit-go/orbit"
)
func main() {
client, err := orbit.NewClient(os.Getenv("ORBIT_API_KEY"))
if err != nil {
panic(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
var result map[string]any
body := map[string]any{{}}
if err := client.Request(ctx, "DELETE", "/numbers/waitlist/entry_demo", nil, body, &result, ""); err != nil {
fmt.Fprintf(os.Stderr, "orbit: %v\n", err)
os.Exit(1)
}
fmt.Println(result)
}
Ruby
require 'orbit_sdk'
client = OrbitSdk::Client.from_env('ORBIT_API_KEY')
body = {}
result = client.request('DELETE', '/numbers/waitlist/entry_demo', json_body: body)
puts result
PHP
<?php
require_once(__DIR__ . '/vendor/autoload.php');
use Devotel\Orbit\OrbitClient;
$client = OrbitClient::fromEnv('ORBIT_API_KEY');
$body = [];
$result = $client->request('DELETE', '/numbers/waitlist/entry_demo', jsonBody: $body);
echo json_encode($result);
{
"data": {
"ok": true
},
"meta": {
"request_id": "req_01HZQX4E7JQ4M2E2H2DM9XE5FJ",
"timestamp": "2026-08-26T12:00:00.000Z"
}
}