import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const autoRespConfigResponse = await client.messagingProfiles.autorespConfigs.create('profile_id', {
country_code: 'US',
keywords: ['keyword1', 'keyword2'],
op: 'start',
});
console.log(autoRespConfigResponse.data);