Confirm or give up ownership of a phone number
Answer an ownership question about a phone number hosted with another provider.
Send still_own: true to confirm you still own a number whose ownership_status is pending_confirmation or flagged; its status returns to verified and, after a carrier change, the new carrier becomes the one on record.
Send still_own: false to report that you no longer own the number. It is removed from Number Reputation immediately, whatever its current status, and the response shows it with ownership_status: removed.
POST
/
enterprises
/
{enterprise_id}
/
reputation
/
numbers
/
{phone_number}
/
ownership_confirm
JavaScript
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const response = await client.enterprises.reputation.numbers.ownershipConfirm('enterprise_id', 'phone_number', {
still_own: true,
});
console.log(response.data);import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
response = client.enterprises.reputation.numbers.ownership_confirm(
enterprise_id="enterprise_id",
phone_number="phone_number",
still_own=True,
)
print(response.data)
package main
import (
"context"
"fmt"
"github.com/team-telnyx/telnyx-go"
"github.com/team-telnyx/telnyx-go/option"
)
func main() {
client := telnyx.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.Enterprises.Reputation.Numbers.OwnershipConfirm(
context.TODO(),
"enterprise_id",
"phone_number",
telnyx.EnterpriseReputationNumberOwnershipConfirmParams{
StillOwn: true,
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.Data)
}
package com.telnyx.sdk.example;
import com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
import com.telnyx.sdk.models.enterprises.reputation.numbers.NumberOwnershipConfirmParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
NumberOwnershipConfirmParams params = NumberOwnershipConfirmParams.builder()
.stillOwn(true)
.build();
var response = client.enterprises().reputation().numbers().ownershipConfirm("enterprise_id", "phone_number", params);
}
}require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
response = telnyx.enterprises.reputation.numbers.ownership_confirm("enterprise_id", "phone_number", still_own: true)
puts(response)<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Telnyx\Client;
use Telnyx\Core\Exceptions\APIException;
$client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API Key');
try {
$response = $client->enterprises->reputation->numbers->ownershipConfirm(
'enterprise_id',
'phone_number',
still_own: true,
);
var_dump($response);
} catch (APIException $e) {
echo $e->getMessage();
}telnyx enterprises:reputation:numbers ownership-confirm \
--api-key 'My API Key' \
--enterprise-id 4a6192a4-573d-446d-b3ce-aff9117272a6 \
--phone-number +19493253498 \
--still-owncurl --request POST \
--url https://api.telnyx.com/v2/enterprises/{enterprise_id}/reputation/numbers/{phone_number}/ownership_confirm \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"still_own": true
}
'{
"data": {
"id": "8a4b1f5e-2f12-4c0c-9a98-9b3a7d8b8e62",
"enterprise_id": "4a6192a4-573d-446d-b3ce-aff9117272a6",
"phone_number": "+19493253498",
"source": "external",
"ownership_status": "verified",
"flag_reason": "carrier_changed",
"confirm_by": "2026-10-08T07:00:00Z",
"removed_at": "2026-10-09T06:02:11Z",
"removal_reason": "unconfirmed_ownership",
"reputation_data": {
"spam_risk": "low",
"spam_category": null,
"maturity_score": 72,
"connection_score": 80,
"engagement_score": 64,
"sentiment_score": 75,
"last_refreshed_at": "2026-04-26T18:09:24.785211Z"
},
"created_at": "2026-04-26T18:06:51.940749Z",
"updated_at": "2026-04-26T18:09:24.785211Z"
}
}Authorizations
Telnyx API key. Generate one at https://portal.telnyx.com/#/app/api-keys.
Path Parameters
Body
application/json
Was this page helpful?
JavaScript
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const response = await client.enterprises.reputation.numbers.ownershipConfirm('enterprise_id', 'phone_number', {
still_own: true,
});
console.log(response.data);import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
response = client.enterprises.reputation.numbers.ownership_confirm(
enterprise_id="enterprise_id",
phone_number="phone_number",
still_own=True,
)
print(response.data)
package main
import (
"context"
"fmt"
"github.com/team-telnyx/telnyx-go"
"github.com/team-telnyx/telnyx-go/option"
)
func main() {
client := telnyx.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.Enterprises.Reputation.Numbers.OwnershipConfirm(
context.TODO(),
"enterprise_id",
"phone_number",
telnyx.EnterpriseReputationNumberOwnershipConfirmParams{
StillOwn: true,
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.Data)
}
package com.telnyx.sdk.example;
import com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
import com.telnyx.sdk.models.enterprises.reputation.numbers.NumberOwnershipConfirmParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
NumberOwnershipConfirmParams params = NumberOwnershipConfirmParams.builder()
.stillOwn(true)
.build();
var response = client.enterprises().reputation().numbers().ownershipConfirm("enterprise_id", "phone_number", params);
}
}require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
response = telnyx.enterprises.reputation.numbers.ownership_confirm("enterprise_id", "phone_number", still_own: true)
puts(response)<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Telnyx\Client;
use Telnyx\Core\Exceptions\APIException;
$client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API Key');
try {
$response = $client->enterprises->reputation->numbers->ownershipConfirm(
'enterprise_id',
'phone_number',
still_own: true,
);
var_dump($response);
} catch (APIException $e) {
echo $e->getMessage();
}telnyx enterprises:reputation:numbers ownership-confirm \
--api-key 'My API Key' \
--enterprise-id 4a6192a4-573d-446d-b3ce-aff9117272a6 \
--phone-number +19493253498 \
--still-owncurl --request POST \
--url https://api.telnyx.com/v2/enterprises/{enterprise_id}/reputation/numbers/{phone_number}/ownership_confirm \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"still_own": true
}
'{
"data": {
"id": "8a4b1f5e-2f12-4c0c-9a98-9b3a7d8b8e62",
"enterprise_id": "4a6192a4-573d-446d-b3ce-aff9117272a6",
"phone_number": "+19493253498",
"source": "external",
"ownership_status": "verified",
"flag_reason": "carrier_changed",
"confirm_by": "2026-10-08T07:00:00Z",
"removed_at": "2026-10-09T06:02:11Z",
"removal_reason": "unconfirmed_ownership",
"reputation_data": {
"spam_risk": "low",
"spam_category": null,
"maturity_score": 72,
"connection_score": 80,
"engagement_score": 64,
"sentiment_score": 75,
"last_refreshed_at": "2026-04-26T18:09:24.785211Z"
},
"created_at": "2026-04-26T18:06:51.940749Z",
"updated_at": "2026-04-26T18:09:24.785211Z"
}
}