Returns a list of events in the account, sorted by event-date.
Debugger events
Returns a list of events in the account, sorted by event-date.
Query parameters
-
Only include events initiated by this Actor. Useful for auditing actions taken by specific users or API credentials.
Minimum length is
34, maximum length is34. Format should match the following pattern:^US[0-9a-fA-F]{32}$. -
Only include events of this Event Type.
-
Only include events that refer to this resource. Useful for discovering the history of a specific resource.
Minimum length is
34, maximum length is34. Format should match the following pattern:^[a-zA-Z]{2}[0-9a-fA-F]{32}$. -
Only include events that originated from this IP address. Useful for tracking suspicious activity originating from the API or the Twilio Console.
-
Only include events that occurred on or after this date. Specify the date in GMT and ISO 8601 format.
-
Only include events that occurred on or before this date. Specify the date in GMT and ISO 8601 format.
-
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum value is
1, maximum value is1000. -
The page index. This value is simply for client state.
Minimum value is
0. -
The page token. This is provided by the API.
curl \
--request GET 'https://monitor.twilio.com/v1/Events' \
--user "username:password"
{
"meta": {
"key": "events",
"url": "https://monitor.twilio.com/v1/Events?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://monitor.twilio.com/v1/Events?PageSize=50&Page=0",
"previous_page_url": null
},
"events": [
{
"sid": "AEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://monitor.twilio.com/v1/Events/AEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"links": {
"actor": "https://monitor.twilio.com/v1/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"resource": "https://monitor.twilio.com/v1/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"source": "api",
"actor_sid": "USaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"actor_type": "account",
"event_data": {
"friendly_name": {
"updated": "Mr. Friendly",
"previous": "SubAccount Created at 2014-10-03 09:48 am"
}
},
"event_date": "2014-10-03T16:48:25Z",
"event_type": "account.updated",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"description": null,
"resource_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"resource_type": "account",
"source_ip_address": "10.86.6.250"
}
]
}
{
"meta": {
"key": "events",
"url": "https://monitor.twilio.com/v1/Events?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://monitor.twilio.com/v1/Events?PageSize=50&Page=0",
"previous_page_url": null
},
"events": []
}