Check out our upcoming events and meetups! View events →
Given a port-out ID, list rejection codes that are eligible for that port-out
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.portouts.listRejectionCodes('329d6658-8f93-405d-862f-648776e8afd7');
console.log(response.data);{
"data": [
{
"code": 1002,
"description": "Invalid PIN",
"reason_required": false
}
]
}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.
Identifies a port out order.
"329d6658-8f93-405d-862f-648776e8afd7"
Consolidated filter parameter (deepObject style). Originally: filter[code], filter[code][in]
Show child attributes
Successful response
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.portouts.listRejectionCodes('329d6658-8f93-405d-862f-648776e8afd7');
console.log(response.data);{
"data": [
{
"code": 1002,
"description": "Invalid PIN",
"reason_required": false
}
]
}