Returns a list of events in the account
Debugger events
Returns a list of events in the account, sorted by event-date.
Query parameters
-
ActorSid string
Only include events initiated by this Actor. Useful for auditing actions taken by specific users or API credentials.
-
EventType string
Only include events of this Event Type.
-
ResourceSid string
Only include events that refer to this resource. Useful for discovering the history of a specific resource.
-
SourceIpAddress string
Only include events that originated from this IP address. Useful for tracking suspicious activity originating from the API or the Twilio Console.
-
StartDate string(date-time)
Only include events that occurred on or after this date. Specify the date in GMT and ISO 8601 format.
-
EndDate string(date-time)
Only include events that occurred on or before this date. Specify the date in GMT and ISO 8601 format.
-
PageSize integer
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
.
curl \
-X GET https://monitor.twilio.com/v1/Events \
--user "username:password"
{
"events": [
{
"account_sid": "string",
"actor_sid": "string",
"actor_type": "string",
"description": "string",
"event_date": "2023-05-04T09:42:00+00:00",
"event_type": "string",
"links": {},
"resource_sid": "string",
"resource_type": "string",
"sid": "string",
"source": "string",
"source_ip_address": "string",
"url": "https://example.com"
}
],
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
}
}
{
"events": [
{
"account_sid": "string",
"actor_sid": "string",
"actor_type": "string",
"description": "string",
"event_date": "2024-05-04T09:42:00+00:00",
"event_type": "string",
"links": {},
"resource_sid": "string",
"resource_type": "string",
"sid": "string",
"source": "string",
"source_ip_address": "string",
"url": "https://example.com"
}
],
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
}
}