Skip to main content
GET
/
porting_orders
/
{id}
/
loa_template
JavaScript
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..."

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Porting Order id

Query Parameters

loa_configuration_id
string<uuid>

The identifier of the LOA configuration to use for the template. If not provided, the default LOA configuration will be used.

Response

Successful response

The response is of type file.

Example:

"%PDF-1.4..."