SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

How can I audit events for a Studio flow ?

Question

How can I audit events for a Studio flow? 

 

Product

Studio 

 

Answer

The Monitor Events API can be used to check who and when a Studio flow was modified. The audit events that are tracked are the following:

  • flow.created
  • flow.updated
  • flow.deleted

The API request will return the following fields:

  • Event Date
  • Event Sid (Account Sid) 
  • Resource Type (Flow)
  • Resource Sid (Flow Sid)
  • Event Type (as mentioned above)
  • Source (web vs api)
  • Source IP (Source who made the changes)
  • Actor (User Sid / Account Sid) 
  • Region

An example of a cURL request for the flow.updated events:

curl -X GET "https://monitor.twilio.com/v1/Events?EventType=flow.updated&PageSize=20" \
-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN
Have more questions? Submit a request
Powered by Zendesk