import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const callingSetting = await client.whatsapp.phoneNumbers.callingSettings.retrieve('phone_number');
console.log(callingSetting.data);
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const callingSetting = await client.whatsapp.phoneNumbers.callingSettings.retrieve('phone_number');
console.log(callingSetting.data);