Twilio::NotificationsApi
Constants
Constructors
Instance methods
@return Crest::Request
@return Crest::Request
Fetch a notification belonging to the account used to make the request @required @param account_sid [String?] The SID of the Account that created the Notification resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Notification resource to fetch. @return [Twilio::NotificationInstance]
Fetch a notification belonging to the account used to make the request @required @param account_sid [String?] The SID of the Account that created the Notification resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Notification resource to fetch. @return nil
Fetch a notification belonging to the account used to make the request @required @param account_sid [String?] The SID of the Account that created the Notification resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Notification resource to fetch. @return [Tuple(Twilio::NotificationInstance, Integer, Hash)] Twilio::NotificationInstance, response status code and response headers
Retrieve a list of notifications belonging to the account used to make the request
@required @param account_sid [String?] The SID of the Account that created the Notification resources to read.
@optional @param log [Int32?] Only read notifications of the specified log level. Can be: 0 to read only ERROR notifications or 1 to read only WARNING notifications. By default, all notifications are read.
@optional @param message_date [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date.
@optional @param message_date_before [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date.
@optional @param message_date_after [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return [Twilio::ListNotificationResponse]
Retrieve a list of notifications belonging to the account used to make the request
@required @param account_sid [String?] The SID of the Account that created the Notification resources to read.
@optional @param log [Int32?] Only read notifications of the specified log level. Can be: 0 to read only ERROR notifications or 1 to read only WARNING notifications. By default, all notifications are read.
@optional @param message_date [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date.
@optional @param message_date_before [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date.
@optional @param message_date_after [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return nil
Retrieve a list of notifications belonging to the account used to make the request
@required @param account_sid [String?] The SID of the Account that created the Notification resources to read.
@optional @param log [Int32?] Only read notifications of the specified log level. Can be: 0 to read only ERROR notifications or 1 to read only WARNING notifications. By default, all notifications are read.
@optional @param message_date [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date.
@optional @param message_date_before [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date.
@optional @param message_date_after [Time?] Only show notifications for the specified date, formatted as YYYY-MM-DD. You can also specify an inequality, such as <=YYYY-MM-DD for messages logged at or before midnight on a date, or >=YYYY-MM-DD for messages logged at or after midnight on a date.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return [Tuple(Twilio::ListNotificationResponse, Integer, Hash)] Twilio::ListNotificationResponse, response status code and response headers