Confirm Business for Number Request
curl --request PUT \
--url https://api.tracklysms.com/api/v2/number-requests/{request_id}/business \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.tracklysms.com/api/v2/number-requests/{request_id}/business"
headers = {"X-Api-Key": "<api-key>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.tracklysms.com/api/v2/number-requests/{request_id}/business', 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.tracklysms.com/api/v2/number-requests/{request_id}/business",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tracklysms.com/api/v2/number-requests/{request_id}/business"
req, _ := http.NewRequest("PUT", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.tracklysms.com/api/v2/number-requests/{request_id}/business")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tracklysms.com/api/v2/number-requests/{request_id}/business")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_bodyNumber Requests (v2)
Confirm Business for Number Request
Explicitly bind a customer-confirmed legal business and revision to a saved number request.
PUT
/
v2
/
number-requests
/
{request_id}
/
business
Confirm Business for Number Request
curl --request PUT \
--url https://api.tracklysms.com/api/v2/number-requests/{request_id}/business \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.tracklysms.com/api/v2/number-requests/{request_id}/business"
headers = {"X-Api-Key": "<api-key>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.tracklysms.com/api/v2/number-requests/{request_id}/business', 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.tracklysms.com/api/v2/number-requests/{request_id}/business",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tracklysms.com/api/v2/number-requests/{request_id}/business"
req, _ := http.NewRequest("PUT", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.tracklysms.com/api/v2/number-requests/{request_id}/business")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tracklysms.com/api/v2/number-requests/{request_id}/business")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_bodyRequires an account-owned live API key with an associated user. Both the business and number request must belong to that account. The request must be inactive and editable; agent-prepared requests require owner review in Trackly.
Fetch the business’s current
Retry a lost response by fetching the same request; do not create another business or number request. A later identity edit requires fresh customer confirmation.
Malformed confirmation errors include
verificationIdentityRevision, display the legal entity to the customer, and obtain their confirmation. Then send exactly:
{
"businessProfileId": "664a1b2c3d4e5f6071829300",
"expectedIdentityRevision": 1,
"relationship": "account_business",
"confirmed": true
}
expectedIdentityRevision is a non-negative integer. Use the returned 0 for a legacy business that has not yet initialized its verification revision. relationship is account_business or client_business; an existing confirmed relationship cannot be changed. confirmed must be the JSON boolean true.
Response and readiness
Returns200 with the same request.id and a businessVerification summary containing profileId, status, identityRevision, relationship, ready, code, message, and confirmationRequired.
Binding a pending business succeeds with ready: false. Finish the request while verification runs, then submit it once ready. Binding does not pay for verification, publish a site, submit a number, or copy business documents, carrier identifiers, brand, or support contacts.
A matching current verified business can be confirmed for later number requests without another verification payment. The legal identity must match; different legal and carrier identifier types can remain distinct.
For an older draft, recognized state or province names are saved in canonical form before confirmation. A competing edit returns 409; reload the request before confirming again.
Errors and retry
| HTTP | Code | Meaning |
|---|---|---|
| 400 | business_confirmation_required | Missing fields, invalid revision/type, or no explicit true confirmation. |
| 403 | sandbox_read_only / api_key_has_no_owner | The key cannot perform this customer action. |
| 404 | not_found | Business or number request is unavailable in this account. |
| 409 | business_identity_changed | Reload and confirm the current identity revision. |
| 409 | request_not_editable / agent_review_required | An active operation or owner-review requirement prevents binding. |
| 422 | Identity or relationship error | The selected business does not match the request or its confirmed relationship. |
fields, with a field and code for each missing, unexpected, or invalid value. Missing keys also appear in missingFields.