Alerts
An Alert resource instance represents a single log entry for an error or warning encountered when Twilio makes a webhook request.
View-Specific Information
An Alert resource instance represents a single log entry for an error or warning encountered when Twilio makes a webhook request.
Select
Twilio allows only a small subset of columns to be used in the WHERE clause of a SELECT query. The provider uses the Twilio api to process WHERE clause conditions built with the following columns and operator: DateCreated, LogLevel, and Sid.
- Id supports the = operator.
- DateCreated supports the =, >, <, >=, <= operators.
- LogLevel supports the = operator.
SELECT * FROM Alerts;
SELECT * FROM Alerts where Sid = 'AE4fbfad32d9c0ba07007f25f03a22ca9f';
Columns
| Name | Type | References | Description |
| Sid [KEY] | String | The unique string that we created to identify the Alert resource. | |
| AccountSid | String | The Id of the account that created the alert. | |
| AlertText | String | The text of the alert. | |
| ApiVersion | String | The API version used when the alert was generated. Can be empty for events that don't have a specific API version. | |
| DateCreated | Datetime | Date and time when the resource was created. | |
| DateGenerated | Datetime | The date and time in GMT when the alert was generated. Due to buffering, this can be different than created date. | |
| DateUpdated | Datetime | Date and time when the resource was updated. | |
| ErrorCode | String | error code for the condition that generated the alert. | |
| LogLevel | String | The log level of the alert. Possible values are error, warning, notice, or debug.
The allowed values are error, warning, notice, debug. | |
| MoreInfo | String | The URL of the page in our Error Dictionary with more information about the error condition. | |
| ResourceSid | String | SID of the resource for which the alert was generated. | |
| Url | String | The absolute URL of the Alert resource. | |
| ServiceSid | String | The SID of the service or resource that generated the alert. | |
| RequestVariables | String | The variables passed in the request that generated the alert. | |
| ResponseBody | String | The response body of the request that generated the alert. | |
| ResponseHeaders | String | The response headers of the request that generated the alert. | |
| RequestHeaders | String | The request headers of the request that generated the alert. |