# RateLimit

## Result

`com.twilio.apiusage.taskrouter.ratelimits`

RateLimit Result events are compatible with Webhook and Kinesis sinks. To learn more, you can get started with the [Webhook](/docs/events/webhook-quickstart) or [Kinesis](/docs/events/eventstreams-quickstart) quickstarts.

**Examples**

```json
{
  "specversion" : "1.0",
  "type" : "com.twilio.apiusage.taskrouter.ratelimits",
  "source" : "AB00000000000000000000000001",
  "id" : "NO00000000000000000000000001",
  "dataschema" : "https://events-schemas.twilio.com/Twilio.RateLimitResults/2",
  "datacontenttype" : "2025-10-08T07:17:02.363Z",
  "data" : {
    "account_sid" : "AC0000000000000000000000000000001",
    "namespace" : "WS0000000000000000000000000000001",
    "resource_key" : "TaskQueueStatistics-List",
    "product" : "taskrouter",
    "is_default" : true,
    "rate_limited" : false,
    "current_rate" : 1.4,
    "rate_limit" : 50,
    "request_sid" : "RQ0000000000000000000000000000001",
    "timestamp" : "2025-01-01T00:00:00.000Z"
  }
}
```

**Versions**

#### v2 (latest)

> \[!NOTE]
>
> v2 only contains updates to the schema metadata. In other words, there are no new fields between v1 and v2.

* `string` **account\_sid** (required). Account SID.
* `string` **namespace** (required). Namespace of the target i.e. Unique identifier.
* `string` **resource\_key** (required). API identifier friendly Name.
* `string` **product** (required). Product name.
* `boolean` **is\_default**. True if the configured rate limit is the default value.
* `boolean` **rate\_limited**. True if this request was rate-limited.
* `number` **current\_rate** (required). Current usage of API.
* `integer` **rate\_limit** (required). Rate Limit configured for this API.
* `string` **request\_sid** (required). Unique identifier for request.
* `string` **timestamp** (required). Event timestamp.

The full specification for version 2 is also available as a [JSON schema](https://events-schemas.twilio.com/Twilio.RateLimitResults/2).

#### v1

* `string` **account\_sid** (required). Account SID.
* `string` **namespace** (required). Namespace of the target i.e. Unique identifier.
* `string` **resource\_key** (required). API identifier friendly Name.
* `string` **product** (required). Product name.
* `boolean` **is\_default**. True if the configured rate limit is the default value.
* `boolean` **rate\_limited**. True if this request was rate-limited.
* `number` **current\_rate** (required). Current usage of API.
* `integer` **rate\_limit** (required). Rate Limit configured for this API.
* `string` **request\_sid** (required). Unique identifier for request.
* `string` **timestamp** (required). Event timestamp.

The full specification for version 1 is also available as a [JSON schema](https://events-schemas.twilio.com/Twilio.RateLimitResults/1).
