{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/twilio/main/json-schema/twilio-monitor-v1-event-schema.json", "title": "monitor.v1.event", "x-generated": "2026-10-08", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/twilio-events-api-openapi.yml#/components/schemas/monitor.v1.event", "type": "object", "properties": { "account_sid": { "type": [ "string", "null" ], "minLength": 34, "maxLength": 34, "pattern": "^AC[0-9a-fA-F]{32}$", "description": "The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Event resource." }, "actor_sid": { "type": [ "string", "null" ], "minLength": 34, "maxLength": 34, "pattern": "^US[0-9a-fA-F]{32}$", "description": "The SID of the actor that caused the event, if available. Can be `null`." }, "actor_type": { "type": [ "string", "null" ], "description": "The type of actor that caused the event. Can be: `user` for a change made by a logged-in user in the Twilio Console, `account` for an event caused by an API request by an authenticating Account, `twilio-admin` for an event caused by a Twilio employee, and so on." }, "description": { "type": [ "string", "null" ], "description": "A description of the event. Can be `null`." }, "event_data": { "description": "An object with additional data about the event. The contents depend on `event_type`. For example, event-types of the form `RESOURCE.updated`, this value contains a `resource_properties` dictionary that describes the previous and updated properties of the resource." }, "event_date": { "type": [ "string", "null" ], "format": "date-time", "description": "The date and time in GMT when the event was recorded specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format." }, "event_type": { "type": [ "string", "null" ], "description": "The event's type. Event-types are typically in the form: `RESOURCE_TYPE.ACTION`, where `RESOURCE_TYPE` is the type of resource that was affected and `ACTION` is what happened to it. For example, `phone-number.created`. For a full list of all event-types, see the [Monitor Event Types](https://www.twilio.com/docs/usage/monitor-events#event-types)." }, "resource_sid": { "type": [ "string", "null" ], "minLength": 34, "maxLength": 34, "pattern": "^[a-zA-Z]{2}[0-9a-fA-F]{32}$", "description": "The SID of the resource that was affected." }, "resource_type": { "type": [ "string", "null" ], "description": "The type of resource that was affected. For a full list of all resource-types, see the [Monitor Event Types](https://www.twilio.com/docs/usage/monitor-events#event-types)." }, "sid": { "type": [ "string", "null" ], "minLength": 34, "maxLength": 34, "pattern": "^AE[0-9a-fA-F]{32}$", "description": "The unique string that we created to identify the Event resource." }, "source": { "type": [ "string", "null" ], "description": "The originating system or interface that caused the event. Can be: `web` for events caused by user action in the Twilio Console, `api` for events caused by a request to our API, or `twilio` for events caused by an automated or internal Twilio system." }, "source_ip_address": { "type": [ "string", "null" ], "description": "The IP address of the source, if the source is outside the Twilio cloud. This value is `null` for events with `source` of `twilio`" }, "url": { "type": [ "string", "null" ], "format": "uri", "description": "The absolute URL of the resource that was affected. Can be `null`." }, "links": { "type": [ "object", "null" ], "format": "uri-map", "description": "The absolute URLs of related resources." } } }