Submit phone numbers for reputation remediation
Submit a batch of phone numbers belonging to this enterprise for reputation remediation. The request is accepted asynchronously: this endpoint returns 202 with the persisted request id, then the request transitions through processing states until completion. Use the GET endpoints to poll status and per-number results.
Each phone number must be in E.164 format and belong to this enterprise. A number that already has an in-flight remediation request is rejected.
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.remediation.submit(
'4a6192a4-573d-446d-b3ce-aff9117272a6',
{
call_purpose: 'Appointment reminders for our dental clinic.',
phone_numbers: ['+19493253498', '+12134445566'],
contact_email: 'ops@example.com',
webhook_url: 'https://example.com/webhooks/remediation',
},
);
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.remediation.submit(
enterprise_id="4a6192a4-573d-446d-b3ce-aff9117272a6",
call_purpose="Appointment reminders for our dental clinic.",
phone_numbers=["+19493253498", "+12134445566"],
contact_email="ops@example.com",
webhook_url="https://example.com/webhooks/remediation",
)
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.Remediation.Submit(
context.TODO(),
"4a6192a4-573d-446d-b3ce-aff9117272a6",
telnyx.EnterpriseReputationRemediationSubmitParams{
CallPurpose: "Appointment reminders for our dental clinic.",
PhoneNumbers: []string{"+19493253498", "+12134445566"},
ContactEmail: telnyx.String("ops@example.com"),
WebhookURL: telnyx.String("https://example.com/webhooks/remediation"),
},
)
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.remediation.RemediationSubmitParams;
import com.telnyx.sdk.models.enterprises.reputation.remediation.RemediationSubmitResponse;
public final class Main {
private Main() {}
public static void main(String[] args) {
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
RemediationSubmitParams params = RemediationSubmitParams.builder()
.enterpriseId("4a6192a4-573d-446d-b3ce-aff9117272a6")
.callPurpose("Appointment reminders for our dental clinic.")
.addPhoneNumber("+19493253498")
.addPhoneNumber("+12134445566")
.build();
RemediationSubmitResponse response = client.enterprises().reputation().remediation().submit(params);
}
}require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
response = telnyx.enterprises.reputation.remediation.submit(
"4a6192a4-573d-446d-b3ce-aff9117272a6",
call_purpose: "Appointment reminders for our dental clinic.",
phone_numbers: ["+19493253498", "+12134445566"]
)
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->remediation->submit(
'4a6192a4-573d-446d-b3ce-aff9117272a6',
callPurpose: 'Appointment reminders for our dental clinic.',
phoneNumbers: ['+19493253498', '+12134445566'],
contactEmail: 'ops@example.com',
webhookURL: 'https://example.com/webhooks/remediation',
);
var_dump($response);
} catch (APIException $e) {
echo $e->getMessage();
}telnyx enterprises:reputation:remediation submit \
--api-key 'My API Key' \
--enterprise-id 4a6192a4-573d-446d-b3ce-aff9117272a6 \
--call-purpose 'Appointment reminders for our dental clinic.' \
--phone-number "'+19493253498'" \
--phone-number "'+12134445566'"curl --request POST \
--url https://api.telnyx.com/v2/enterprises/{enterprise_id}/reputation/remediation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"phone_numbers": [
"+19493253498",
"+12134445566"
],
"call_purpose": "Appointment reminders for our dental clinic.",
"contact_email": "ops@example.com",
"webhook_url": "https://example.com/webhooks/remediation"
}
'{
"data": {
"id": "b7c1f1c0-7a9d-4f0a-9d3e-2f6a1c4b8e21",
"status": "in_progress",
"phone_numbers_count": 2,
"phone_numbers_submitted": 2,
"phone_numbers_ineligible": 0,
"call_purpose": "Appointment reminders for our dental clinic.",
"created_at": "2026-06-01T12:00:00Z",
"updated_at": "2026-06-01T12:05:00Z",
"contact_email": "ops@example.com",
"webhook_url": "https://example.com/webhooks/remediation",
"tier1_completed_at": "2023-11-07T05:31:56Z",
"tier2_completed_at": "2023-11-07T05:31:56Z",
"results": {
"remediated": [
"+19493253498"
],
"not_flagged": [
"<string>"
],
"requires_review": [
"<string>"
],
"ineligible": [
"<string>"
],
"refused": [
"<string>"
]
}
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The enterprise id. Lowercase UUID.
"4a6192a4-573d-446d-b3ce-aff9117272a6"
Body
Phone numbers in E.164 format. Each must belong to this enterprise. Maximum 2,000 per request.
1 - 2000 elements^\+[1-9][0-9]{9,14}$How the numbers are used (free text).
1 - 2000"Appointment reminders for our dental clinic."
Optional contact email for this remediation request.
255"ops@example.com"
Optional https:// URL for status notifications.
2048"https://example.com/webhooks/remediation"
Response
Remediation request accepted and persisted.
Full detail of a remediation request, returned on submit and GET by id.
Show child attributes
Show child attributes
Was this page helpful?
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.remediation.submit(
'4a6192a4-573d-446d-b3ce-aff9117272a6',
{
call_purpose: 'Appointment reminders for our dental clinic.',
phone_numbers: ['+19493253498', '+12134445566'],
contact_email: 'ops@example.com',
webhook_url: 'https://example.com/webhooks/remediation',
},
);
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.remediation.submit(
enterprise_id="4a6192a4-573d-446d-b3ce-aff9117272a6",
call_purpose="Appointment reminders for our dental clinic.",
phone_numbers=["+19493253498", "+12134445566"],
contact_email="ops@example.com",
webhook_url="https://example.com/webhooks/remediation",
)
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.Remediation.Submit(
context.TODO(),
"4a6192a4-573d-446d-b3ce-aff9117272a6",
telnyx.EnterpriseReputationRemediationSubmitParams{
CallPurpose: "Appointment reminders for our dental clinic.",
PhoneNumbers: []string{"+19493253498", "+12134445566"},
ContactEmail: telnyx.String("ops@example.com"),
WebhookURL: telnyx.String("https://example.com/webhooks/remediation"),
},
)
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.remediation.RemediationSubmitParams;
import com.telnyx.sdk.models.enterprises.reputation.remediation.RemediationSubmitResponse;
public final class Main {
private Main() {}
public static void main(String[] args) {
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
RemediationSubmitParams params = RemediationSubmitParams.builder()
.enterpriseId("4a6192a4-573d-446d-b3ce-aff9117272a6")
.callPurpose("Appointment reminders for our dental clinic.")
.addPhoneNumber("+19493253498")
.addPhoneNumber("+12134445566")
.build();
RemediationSubmitResponse response = client.enterprises().reputation().remediation().submit(params);
}
}require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
response = telnyx.enterprises.reputation.remediation.submit(
"4a6192a4-573d-446d-b3ce-aff9117272a6",
call_purpose: "Appointment reminders for our dental clinic.",
phone_numbers: ["+19493253498", "+12134445566"]
)
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->remediation->submit(
'4a6192a4-573d-446d-b3ce-aff9117272a6',
callPurpose: 'Appointment reminders for our dental clinic.',
phoneNumbers: ['+19493253498', '+12134445566'],
contactEmail: 'ops@example.com',
webhookURL: 'https://example.com/webhooks/remediation',
);
var_dump($response);
} catch (APIException $e) {
echo $e->getMessage();
}telnyx enterprises:reputation:remediation submit \
--api-key 'My API Key' \
--enterprise-id 4a6192a4-573d-446d-b3ce-aff9117272a6 \
--call-purpose 'Appointment reminders for our dental clinic.' \
--phone-number "'+19493253498'" \
--phone-number "'+12134445566'"curl --request POST \
--url https://api.telnyx.com/v2/enterprises/{enterprise_id}/reputation/remediation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"phone_numbers": [
"+19493253498",
"+12134445566"
],
"call_purpose": "Appointment reminders for our dental clinic.",
"contact_email": "ops@example.com",
"webhook_url": "https://example.com/webhooks/remediation"
}
'{
"data": {
"id": "b7c1f1c0-7a9d-4f0a-9d3e-2f6a1c4b8e21",
"status": "in_progress",
"phone_numbers_count": 2,
"phone_numbers_submitted": 2,
"phone_numbers_ineligible": 0,
"call_purpose": "Appointment reminders for our dental clinic.",
"created_at": "2026-06-01T12:00:00Z",
"updated_at": "2026-06-01T12:05:00Z",
"contact_email": "ops@example.com",
"webhook_url": "https://example.com/webhooks/remediation",
"tier1_completed_at": "2023-11-07T05:31:56Z",
"tier2_completed_at": "2023-11-07T05:31:56Z",
"results": {
"remediated": [
"+19493253498"
],
"not_flagged": [
"<string>"
],
"requires_review": [
"<string>"
],
"ineligible": [
"<string>"
],
"refused": [
"<string>"
]
}
}
}