I followed the tutorial described here: https://www.twilio.com/docs/conversations/api/service-resource
The following code returns "TypeError: Cannot read property 'create' of undefined"
const twilioClient = twilio(twilioAccountSid, twilioAuthToken);
twilioClient.conversations.services
.create({friendlyName: 'friendly_name'})
.then(service => console.log(service.sid));
I was able to use the conversations resource API so I know my twilioClient is correct. The problem only occurs if I use ".services"
Any help greatly appreciated.