Skip to main content
POST
/
porting_orders
/
phone_number_configurations
JavaScript
import Telnyx from 'telnyx';

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

const phoneNumberConfiguration = await client.portingOrders.phoneNumberConfigurations.create();

console.log(phoneNumberConfiguration.data);
{
  "data": [
    {
      "id": "eef3340b-8903-4466-b445-89b697315a3a",
      "user_bundle_id": "daa4308e-742f-4867-97f2-3073db13319a",
      "porting_phone_number_id": "f1486bae-f067-460c-ad43-73a92848f902",
      "record_type": "porting_phone_number_configuration",
      "created_at": "2021-03-19T10:07:15.527000Z",
      "updated_at": "2021-03-19T10:07:15.527000Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

A list of phone number configuration parameters

phone_number_configurations
object[]
Maximum array length: 20

Response

Successful response

data
object[]