import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.portingOrders.retrieveLoaTemplate('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
console.log(response);
const content = await response.blob();
console.log(content);"%PDF-1.4..."Download a porting order loa template
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.portingOrders.retrieveLoaTemplate('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
console.log(response);
const content = await response.blob();
console.log(content);"%PDF-1.4..."Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Porting Order id
The identifier of the LOA configuration to use for the template. If not provided, the default LOA configuration will be used.
Successful response
The response is of type file.
"%PDF-1.4..."
Was this page helpful?