A Bucket defines the limit that should be enforced against the key it is associated with. A Rate Limit can have multiple buckets so that you can detect and stop attacks at different velocities.
Prerequisites:
If you are just getting started with Rate Limits in Verify we recommend checking out our guide on Using Verify Service Rate Limits to Protect Your Application before diving into the API.
A 34 character string that uniquely identifies this Bucket.
^BL[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The Twilio-provided string that uniquely identifies the Rate Limit resource.
^RK[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Service the resource is associated with.
^VA[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Account that created the Rate Limit resource.
^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The date and time in GMT when the resource was created specified in RFC 2822 format.
The date and time in GMT when the resource was last updated specified in RFC 2822 format.
The URL of this resource.
POST https://verify.twilio.com/v2/Services/{ServiceSid}/RateLimits/{RateLimitSid}/Buckets
The SID of the Service the resource is associated with.
^VA[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The Twilio-provided string that uniquely identifies the Rate Limit resource.
^RK[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
Number of seconds that the rate limit will be enforced over.
GET https://verify.twilio.com/v2/Services/{ServiceSid}/RateLimits/{RateLimitSid}/Buckets/{Sid}
The SID of the Service the resource is associated with.
^VA[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The Twilio-provided string that uniquely identifies the Rate Limit resource.
^RK[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
A 34 character string that uniquely identifies this Bucket.
^BL[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
GET https://verify.twilio.com/v2/Services/{ServiceSid}/RateLimits/{RateLimitSid}/Buckets
The SID of the Service the resource is associated with.
^VA[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The Twilio-provided string that uniquely identifies the Rate Limit resource.
^RK[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
How many resources to return in each list page. The default is 50, and the maximum is 1000.
1
Maximum: 1000
The page token. This is provided by the API.
POST https://verify.twilio.com/v2/Services/{ServiceSid}/RateLimits/{RateLimitSid}/Buckets/{Sid}
The SID of the Service the resource is associated with.
^VA[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The Twilio-provided string that uniquely identifies the Rate Limit resource.
^RK[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
A 34 character string that uniquely identifies this Bucket.
^BL[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
Number of seconds that the rate limit will be enforced over.
DELETE https://verify.twilio.com/v2/Services/{ServiceSid}/RateLimits/{RateLimitSid}/Buckets/{Sid}
The SID of the Service the resource is associated with.
^VA[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The Twilio-provided string that uniquely identifies the Rate Limit resource.
^RK[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
A 34 character string that uniquely identifies this Bucket.
^BL[0-9a-fA-F]{32}$
Min length: 34
Max length: 34