Reputation: 57
I am trying to get the the summary for call records from the rest API and I am getting 404 every time on every single calls SIDs. I am using latest version of twilio-python helper library to send requests.
insights_response = client.insights.v1.calls.get(CALL_SID).summary.get().fetch()
I tried the same thing with CURL and got the same results.
curl -X GET https://insights.twilio.com/v1/Voice/CAxxxxx/Summary \
-u "sid:auth token"
We have insights enabled on console as well and can see those records on console. I need to access them via API.
Upvotes: 0
Views: 577
Reputation: 10801
Do you have advanced voice insights enabled?
Advanced Voice Insights https://www.twilio.com/docs/voice/insights/advanced-features
Upvotes: 1