import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.portouts.listRejectionCodes('329d6658-8f93-405d-862f-648776e8afd7');
console.log(response.data);{
"data": [
{
"code": 1002,
"description": "Invalid PIN",
"reason_required": false
}
]
}Given a port-out ID, list rejection codes that are eligible for that port-out
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.portouts.listRejectionCodes('329d6658-8f93-405d-862f-648776e8afd7');
console.log(response.data);{
"data": [
{
"code": 1002,
"description": "Invalid PIN",
"reason_required": false
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Identifies a port out order.
"329d6658-8f93-405d-862f-648776e8afd7"
Was this page helpful?