Check out our upcoming events and meetups! View events →
Enable Number Reputation service for an enterprise.
Requirements:
business_daily)Flow:
pending statusResubmission After Rejection:
If a previously rejected record exists, this endpoint will delete it and create a new pending record.
Available Frequencies:
business_daily — Monday–Fridaydaily — Every dayweekly — Once per weekbiweekly — Once every two weeksmonthly — Once per monthnever — Manual refresh onlyimport 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.enable(
'6a09cdc3-8948-47f0-aa62-74ac943d6c58',
{ loa_document_id: 'doc_01HXYZ1234ABCDEF' },
);
console.log(response.data);{
"data": {
"enterprise_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"status": "pending",
"check_frequency": "business_daily",
"loa_document_id": "<string>",
"rejection_reasons": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier of the enterprise (UUID)
"6a09cdc3-8948-47f0-aa62-74ac943d6c58"
ID of the signed Letter of Authorization (LOA) document uploaded to the document service
1 - 255"doc_01HXYZ1234ABCDEF"
Frequency for automatically refreshing reputation data
business_daily, daily, weekly, biweekly, monthly, never Reputation settings created (pending admin approval)
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.enable(
'6a09cdc3-8948-47f0-aa62-74ac943d6c58',
{ loa_document_id: 'doc_01HXYZ1234ABCDEF' },
);
console.log(response.data);{
"data": {
"enterprise_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"status": "pending",
"check_frequency": "business_daily",
"loa_document_id": "<string>",
"rejection_reasons": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}