Skip to main content
GET
/
porting_orders
/
{id}
/
sub_request
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const response = await client.portingOrders.retrieveSubRequest('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');

console.log(response.data);
{
  "data": {
    "sub_request_id": "9787fb5f-cbe5-4de4-b765-3303774ee9fe",
    "port_request_id": "59b0762a-b274-4f76-ac32-4d5cf0272e66"
  }
}

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

Response

Successful response

data
object