v50

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-05-061971481.8 MB
Api20100401Trigger

Fetch and instance of a usage-trigger

Fetch and instance of a usage-trigger

get/2010-04-01/Accounts/{AccountSid}/Usage/Triggers/{Sid}.json

Path parameters

AccountSidstring required

The SID of the Account that created the UsageTrigger resource to fetch.

Sidstring required

The Twilio-provided string that uniquely identifies the UsageTrigger resource to fetch.

Response

OK

account_sidstring nullable

The SID of the Account that the trigger monitors.

api_versionstring nullable

The API version used to create the resource.

callback_method'GET' | 'POST' http-method nullable

The HTTP method we use to call callback_url. Can be: GET or POST.

callback_urlstring uri nullable

The URL we call using the callback_method when the trigger fires.

current_valuestring nullable

The current value of the field the trigger is watching.

date_createdstring date-time-rfc-2822 nullable

The date and time in GMT that the resource was created specified in RFC 2822 format.

date_firedstring date-time-rfc-2822 nullable

The date and time in GMT that the trigger was last fired specified in RFC 2822 format.

date_updatedstring date-time-rfc-2822 nullable

The date and time in GMT that the resource was last updated specified in RFC 2822 format.

friendly_namestring nullable

The string that you assigned to describe the trigger.

recurring'daily' | 'monthly' | 'yearly' | 'alltime'

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.

sidstring nullable

The unique string that that we created to identify the UsageTrigger resource.

trigger_by'count' | 'usage' | 'price'

The field in the UsageRecord resource that fires the trigger. Can be: count, usage, or price, as described in the UsageRecords documentation.

trigger_valuestring nullable

The value at which the trigger will fire. Must be a positive, numeric value.

uristring nullable

The URI of the resource, relative to https://api.twilio.com.

usage_categorystring nullable

The usage category the trigger watches. Must be one of the supported usage categories.

usage_record_uristring nullable

The URI of the UsageRecord resource this trigger watches, relative to https://api.twilio.com.