curl --request POST \
--url https://api.orbit.devotel.io/api/v1/numbers/porting \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"numbers": [
"+14155550123",
"+14155550124"
],
"currentCarrier": "AT&T",
"country": "US",
"loaFileUrl": "https://storage.googleapis.com/devotel-media/loa/acme-loa.pdf",
"authorizedSigner": "Jane Roe"
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/numbers/porting"
payload = {
"numbers": ["+14155550123", "+14155550124"],
"currentCarrier": "AT&T",
"country": "US",
"loaFileUrl": "https://storage.googleapis.com/devotel-media/loa/acme-loa.pdf",
"authorizedSigner": "Jane Roe"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
numbers: ['+14155550123', '+14155550124'],
currentCarrier: 'AT&T',
country: 'US',
loaFileUrl: 'https://storage.googleapis.com/devotel-media/loa/acme-loa.pdf',
authorizedSigner: 'Jane Roe'
})
};
fetch('https://api.orbit.devotel.io/api/v1/numbers/porting', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/numbers/porting",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'numbers' => [
'+14155550123',
'+14155550124'
],
'currentCarrier' => 'AT&T',
'country' => 'US',
'loaFileUrl' => 'https://storage.googleapis.com/devotel-media/loa/acme-loa.pdf',
'authorizedSigner' => 'Jane Roe'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/numbers/porting"
payload := strings.NewReader("{\n \"numbers\": [\n \"+14155550123\",\n \"+14155550124\"\n ],\n \"currentCarrier\": \"AT&T\",\n \"country\": \"US\",\n \"loaFileUrl\": \"https://storage.googleapis.com/devotel-media/loa/acme-loa.pdf\",\n \"authorizedSigner\": \"Jane Roe\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.orbit.devotel.io/api/v1/numbers/porting")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"numbers\": [\n \"+14155550123\",\n \"+14155550124\"\n ],\n \"currentCarrier\": \"AT&T\",\n \"country\": \"US\",\n \"loaFileUrl\": \"https://storage.googleapis.com/devotel-media/loa/acme-loa.pdf\",\n \"authorizedSigner\": \"Jane Roe\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/numbers/porting")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"numbers\": [\n \"+14155550123\",\n \"+14155550124\"\n ],\n \"currentCarrier\": \"AT&T\",\n \"country\": \"US\",\n \"loaFileUrl\": \"https://storage.googleapis.com/devotel-media/loa/acme-loa.pdf\",\n \"authorizedSigner\": \"Jane Roe\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"numbers": [
"<string>"
],
"currentCarrier": "<string>",
"status": "submitted",
"submittedAt": "2023-11-07T05:31:56Z",
"country": "<string>",
"provider": "telnyx",
"providerOrderId": "<string>",
"focDate": "2023-11-07T05:31:56Z",
"rejectionReason": "<string>",
"requiresManualReview": true,
"loaFileUrl": "<string>"
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}Submit a port-in request
Submit a new port-in request to bring one or more numbers onto the platform from a losing carrier. Supply the E.164 numbers (a single string or an array), the currentCarrier, and — to dispatch to a destination provider automatically — the country (US/CA route to Telnyx, elsewhere to DIDWW) and a Devotel-issued signed loaFileUrl. Omitting the country stores the request in manual mode for ops to hand-process. Requires the numbers:write scope.
curl --request POST \
--url https://api.orbit.devotel.io/api/v1/numbers/porting \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"numbers": [
"+14155550123",
"+14155550124"
],
"currentCarrier": "AT&T",
"country": "US",
"loaFileUrl": "https://storage.googleapis.com/devotel-media/loa/acme-loa.pdf",
"authorizedSigner": "Jane Roe"
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/numbers/porting"
payload = {
"numbers": ["+14155550123", "+14155550124"],
"currentCarrier": "AT&T",
"country": "US",
"loaFileUrl": "https://storage.googleapis.com/devotel-media/loa/acme-loa.pdf",
"authorizedSigner": "Jane Roe"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
numbers: ['+14155550123', '+14155550124'],
currentCarrier: 'AT&T',
country: 'US',
loaFileUrl: 'https://storage.googleapis.com/devotel-media/loa/acme-loa.pdf',
authorizedSigner: 'Jane Roe'
})
};
fetch('https://api.orbit.devotel.io/api/v1/numbers/porting', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/numbers/porting",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'numbers' => [
'+14155550123',
'+14155550124'
],
'currentCarrier' => 'AT&T',
'country' => 'US',
'loaFileUrl' => 'https://storage.googleapis.com/devotel-media/loa/acme-loa.pdf',
'authorizedSigner' => 'Jane Roe'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/numbers/porting"
payload := strings.NewReader("{\n \"numbers\": [\n \"+14155550123\",\n \"+14155550124\"\n ],\n \"currentCarrier\": \"AT&T\",\n \"country\": \"US\",\n \"loaFileUrl\": \"https://storage.googleapis.com/devotel-media/loa/acme-loa.pdf\",\n \"authorizedSigner\": \"Jane Roe\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.orbit.devotel.io/api/v1/numbers/porting")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"numbers\": [\n \"+14155550123\",\n \"+14155550124\"\n ],\n \"currentCarrier\": \"AT&T\",\n \"country\": \"US\",\n \"loaFileUrl\": \"https://storage.googleapis.com/devotel-media/loa/acme-loa.pdf\",\n \"authorizedSigner\": \"Jane Roe\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/numbers/porting")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"numbers\": [\n \"+14155550123\",\n \"+14155550124\"\n ],\n \"currentCarrier\": \"AT&T\",\n \"country\": \"US\",\n \"loaFileUrl\": \"https://storage.googleapis.com/devotel-media/loa/acme-loa.pdf\",\n \"authorizedSigner\": \"Jane Roe\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"numbers": [
"<string>"
],
"currentCarrier": "<string>",
"status": "submitted",
"submittedAt": "2023-11-07T05:31:56Z",
"country": "<string>",
"provider": "telnyx",
"providerOrderId": "<string>",
"focDate": "2023-11-07T05:31:56Z",
"rejectionReason": "<string>",
"requiresManualReview": true,
"loaFileUrl": "<string>"
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}Authorizations
Dashboard JWT token from Clerk
Body
Fields required to submit a number port-in request.
A single E.164 number or an array of E.164 numbers to port in.
1Name of the losing carrier the numbers are ported from.
1Devotel-issued GCS signed URL of the uploaded LOA PDF (upload via POST /api/v1/files/upload). Omit for manual-mode processing.
ISO 3166-1 alpha-2 country of the numbers; drives provider selection (US/CA → Telnyx, elsewhere → DIDWW). Omit to store the request without carrier dispatch.
210050200