Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Porting Order id
Response
Successful response
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"
}
}Retrieve the associated V1 sub_request_id and port_request_id
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"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Porting Order id
Successful response
Show child attributes
Was this page helpful?