Create a new UsageTrigger
Create a new UsageTrigger
Path parameters
The SID of the Account that will create the resource.
Response
Created
The SID of the Account that the trigger monitors.
The API version used to create the resource.
The HTTP method we use to call callback_url. Can be: GET or POST.
The URL we call using the callback_method when the trigger fires.
The current value of the field the trigger is watching.
The date and time in GMT that the resource was created specified in RFC 2822 format.
The date and time in GMT that the trigger was last fired specified in RFC 2822 format.
The date and time in GMT that the resource was last updated specified in RFC 2822 format.
The string that you assigned to describe the trigger.
The frequency of a recurring UsageTrigger. Can be: daily, monthly, or yearly for recurring triggers or empty for non-recurring triggers. A trigger will only fire once during each period. Recurring times are in GMT.
The unique string that that we created to identify the UsageTrigger resource.
The field in the UsageRecord resource that fires the trigger. Can be: count, usage, or price, as described in the UsageRecords documentation.
The value at which the trigger will fire. Must be a positive, numeric value.
The URI of the resource, relative to https://api.twilio.com.
The usage category the trigger watches. Must be one of the supported usage categories.
The URI of the UsageRecord resource this trigger watches, relative to https://api.twilio.com.