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.portingOrders.retrieveExceptionTypes();console.log(response.data);
Copy
{ "data": [ { "code": "ENTITY_NAME_MISMATCH", "description": "Entity name does not match that on the CSR" } ]}
Returns a list of all possible exception types for a porting order.
GET
/
porting_orders
/
exception_types
JavaScript
Copy
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.portingOrders.retrieveExceptionTypes();console.log(response.data);
Copy
{ "data": [ { "code": "ENTITY_NAME_MISMATCH", "description": "Entity name does not match that on the CSR" } ]}