provider Api20100401Trigger GET /2010-04-01/Accounts/{AccountSid}/Usage/Triggers.json
@utdk/twilio /2010-04-01/Accounts/{AccountSid}/Usage/Triggers.json
Retrieve a list of usage-triggers belonging to the account used to make the request
Retrieve a list of usage-triggers belonging to the account used to make the request
AccountSid path required
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageTrigger resources to read.
string
Recurring query
The frequency of recurring UsageTriggers to read. Can be: `daily`, `monthly`, or `yearly` to read recurring UsageTriggers. An empty value or a value of `alltime` reads non-recurring UsageTriggers.
enum: daily, monthly, yearly, alltime
TriggerBy query
The trigger field of the UsageTriggers to read. Can be: `count`, `usage`, or `price` as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price).
enum: count, usage, price
UsageCategory query
The usage category of the UsageTriggers to read. Must be a supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
string
PageSize query
How many resources to return in each list page. The default is 50, and the maximum is 1000.
integer
Page query
The page index. This value is simply for client state.
integer
PageToken query
The page token. This is provided by the API.
string

Try it

Authentication
Configure credentials for Twilio - Api
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

listusagetrigger
GET/2010-04-01/Accounts/{AccountSid}/Usage/Triggers.json
Retrieve a list of usage-triggers belonging to the account used to make the request

Parameters

required

The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageTrigger resources to read.

The frequency of recurring UsageTriggers to read. Can be: `daily`, `monthly`, or `yearly` to read recurring UsageTriggers. An empty value or a value of `alltime` reads non-recurring UsageTriggers.

The trigger field of the UsageTriggers to read. Can be: `count`, `usage`, or `price` as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price).

The usage category of the UsageTriggers to read. Must be a supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).

How many resources to return in each list page. The default is 50, and the maximum is 1000.

The page index. This value is simply for client state.

The page token. This is provided by the API.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import twilio from '@utdk/twilio';

await twilio.listusagetrigger()