import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const numbersFeature = await client.numbersFeatures.create({ phone_numbers: ['string'] });
console.log(numbersFeature.data);{
"data": [
{
"phone_number": "<string>",
"features": [
"<string>"
]
}
]
}Retrieve the features for a list of numbers
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const numbersFeature = await client.numbersFeatures.create({ phone_numbers: ['string'] });
console.log(numbersFeature.data);{
"data": [
{
"phone_number": "<string>",
"features": [
"<string>"
]
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?