Check out our upcoming events and meetups! View events →
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);{
"data": {
"record_type": "whatsapp_calling_settings",
"phone_number": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"enabled": true
}
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?
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);{
"data": {
"record_type": "whatsapp_calling_settings",
"phone_number": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"enabled": true
}
}