I am trying to list executions from my Twilio flow by using this code: https://www.twilio.com/docs/studio/rest-api/execution?code-sample=code-read-executions-filtered-by-date
I have also tried the v2 code: https://www.twilio.com/docs/studio/rest-api/v2/execution#read-a-list-of-executions
But every time I run the Python file I get the returned statement: AttributeError: 'Client' object has no attribute 'studio'
Unsure what I'm doing wrong...I am able to use other commands such as:
completed_calls = client.calls.list(status='completed', to=MyNumber, limit = 10)
Which works fine.
Any advice would be appreciated! Thanks! :)