Twilio Rate Limits API

Configure rate limiting for verification requests

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /Services/{ServiceSid}/RateLimits List rate limits on a Verify service · Twilio List Rate Limits #
Ask an LLM
“Which rate limits have I defined on my Verify service?”
“What throttling rules protect my verification flow from abuse?”
Tell an agent
List the rate limits on Verify service {service}.
Show every throttling rule defined for service {service}.
POST /Services/{ServiceSid}/RateLimits Create a rate limit on a Verify service · Twilio Create a Rate Limit #
Ask an LLM
“How do I cap how often verification codes can be requested on my service?”
“Can I define a named rate limit on my Verify service?”
Tell an agent
Create a rate limit called {unique_name} on Verify service {service}.
Add rate limit {unique_name} to service {service} described as {description}.
GET /Services/{ServiceSid}/RateLimits/{RateLimitSid}/Buckets List the buckets of a rate limit · Twilio List Rate Limit Buckets #
Ask an LLM
“What maximums and time intervals are set on one of my rate limits?”
“Which buckets belong to a given Verify rate limit?”
Tell an agent
List the buckets of rate limit {rate_limit} on service {service}.
Show the max and interval settings for rate limit {rate_limit} in service {service}.
POST /Services/{ServiceSid}/RateLimits/{RateLimitSid}/Buckets Add a bucket to a rate limit · Twilio Create a Rate Limit Bucket #
Ask an LLM
“How do I allow at most a set number of verification requests per time window?”
“Can one rate limit have several buckets with different intervals?”
Tell an agent
Add a bucket to rate limit {rate_limit} on service {service} allowing {max} requests every {interval} seconds.
Limit rate limit {rate_limit} of service {service} to {max} per {interval}-second window.

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/twilio-rate-limits-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

twilio-rate-limits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Twilio Verify Rate Limits API
  description: User verification and two-factor authentication API. Send verification codes via SMS, voice, email, WhatsApp, or push notifications. Supports TOTP, push authentication, and silent network authentication for fraud prevention and user identity verification.
  version: '2.0'
  contact:
    name: Twilio Support
    url: https://support.twilio.com
    email: support@twilio.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: https://www.twilio.com/legal/tos
servers:
- url: https://verify.twilio.com/v2
  description: Twilio Verify API v2
security:
- accountSid_authToken: []
tags:
- name: Rate Limits
  description: Configure rate limiting for verification requests
paths:
  /Services/{ServiceSid}/RateLimits:
    get:
      operationId: listRateLimits
      summary: Twilio List Rate Limits
      tags:
      - Rate Limits
      parameters:
      - $ref: '#/components/parameters/ServiceSid'
      responses:
        '200':
          description: List of rate limits
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateLimitList'
    post:
      operationId: createRateLimit
      summary: Twilio Create a Rate Limit
      tags:
      - Rate Limits
      parameters:
      - $ref: '#/components/parameters/ServiceSid'
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - UniqueName
              properties:
                UniqueName:
                  type: string
                  description: Unique name for the rate limit
                Description:
                  type: string
      responses:
        '201':
          description: Rate limit created
  /Services/{ServiceSid}/RateLimits/{RateLimitSid}/Buckets:
    get:
      operationId: listBuckets
      summary: Twilio List Rate Limit Buckets
      tags:
      - Rate Limits
      parameters:
      - $ref: '#/components/parameters/ServiceSid'
      - name: RateLimitSid
        in: path
        required: true
        schema:
          type: string
          pattern: ^RK[0-9a-fA-F]{32}$
      responses:
        '200':
          description: List of buckets
    post:
      operationId: createBucket
      summary: Twilio Create a Rate Limit Bucket
      tags:
      - Rate Limits
      parameters:
      - $ref: '#/components/parameters/ServiceSid'
      - name: RateLimitSid
        in: path
        required: true
        schema:
          type: string
          pattern: ^RK[0-9a-fA-F]{32}$
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - Max
              - Interval
              properties:
                Max:
                  type: integer
                  description: Maximum number of requests
                Interval:
                  type: integer
                  description: Time window in seconds
      responses:
        '201':
          description: Bucket created
components:
  schemas:
    PaginationMeta:
      type: object
      properties:
        page:
          type: integer
        page_size:
          type: integer
        first_page_url:
          type: string
          format: uri
        previous_page_url:
          type: string
          format: uri
        next_page_url:
          type: string
          format: uri
        url:
          type: string
          format: uri
        key:
          type: string
    RateLimitList:
      type: object
      properties:
        rate_limits:
          type: array
          items:
            type: object
            properties:
              sid:
                type: string
                pattern: ^RK[0-9a-fA-F]{32}$
              service_sid:
                type: string
              unique_name:
                type: string
              description:
                type: string
              date_created:
                type: string
                format: date-time
              date_updated:
                type: string
                format: date-time
              url:
                type: string
                format: uri
              links:
                type: object
        meta:
          $ref: '#/components/schemas/PaginationMeta'
  parameters:
    ServiceSid:
      name: ServiceSid
      in: path
      required: true
      description: The SID of the Verify service
      schema:
        type: string
        pattern: ^VA[0-9a-fA-F]{32}$
  securitySchemes:
    accountSid_authToken:
      type: http
      scheme: basic
      description: Use your Twilio Account SID as the username and Auth Token as the password for HTTP Basic authentication.
externalDocs:
  description: Twilio Verify API Documentation
  url: https://www.twilio.com/docs/verify/api