---
title: "Update an instance of a usage trigger"
method: POST
path: "/2010-04-01/Accounts/{AccountSid}/Usage/Triggers/{Sid}.json"
tags: ["Api20100401Trigger"]
---

# Update an instance of a usage trigger

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

Update an instance of a usage trigger

## Path parameters

- `AccountSid` string, required
- `Sid` string, required

## Response `200`

OK

- ApiV2010AccountUsageUsageTrigger
  - `account_sid` string, nullable — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that the trigger monitors.
  - `api_version` string, 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_url` string, uri, nullable — The URL we call using the `callback_method` when the trigger fires.
  - `current_value` string, nullable — The current value of the field the trigger is watching.
  - `date_created` string, date-time-rfc-2822, nullable — The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
  - `date_fired` string, date-time-rfc-2822, nullable — The date and time in GMT that the trigger was last fired specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
  - `date_updated` string, date-time-rfc-2822, nullable — The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
  - `friendly_name` string, 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.
  - `sid` string, nullable — The unique string that that we created to identify the UsageTrigger resource.
  - `trigger_by` 'count' | 'usage' | 'price' — The field in the [UsageRecord](https://www.twilio.com/docs/usage/api/usage-record) resource that fires the trigger. Can be: `count`, `usage`, or `price`, as described in the [UsageRecords documentation](https://www.twilio.com/docs/usage/api/usage-record#usage-count-price).
  - `trigger_value` string, nullable — The value at which the trigger will fire. Must be a positive, numeric value.
  - `uri` string, nullable — The URI of the resource, relative to `https://api.twilio.com`.
  - `usage_category` string, nullable — The usage category the trigger watches. Must be one of the supported [usage categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
  - `usage_record_uri` string, nullable — The URI of the [UsageRecord](https://www.twilio.com/docs/usage/api/usage-record) resource this trigger watches, relative to `https://api.twilio.com`.

---

[API](https://skmtc.net/twilio/apis/api-v2010.md) · [All operations](https://skmtc.net/twilio/apis/api-v2010/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/twilio/api-v2010/revisions/6b6ffccef14c/schema)
