Twilio Schemas API

The Schemas API from Twilio — 3 operation(s) for schemas.

Operations 3

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 /v1/Schemas/{Id} Get an event schema and its versions · Fetch schema #
Ask an LLM
“What does the payload of a given event type look like, and which versions exist?”
“Can I fetch an event schema by its ID?”
Tell an agent
Get schema {schema} with its versions.
Show the event schema {schema}.
GET /v1/Schemas/{Id}/Versions List the versions of an event schema · List schema version #
Ask an LLM
“How many versions of an event schema have been published?”
“Which schema versions are available for one event type?”
Tell an agent
List the versions of schema {schema}.
Page through versions of schema {schema}, {page_size} at a time.
GET /v1/Schemas/{Id}/Versions/{SchemaVersion} Get one specific version of an event schema · Fetch schema version #
Ask an LLM
“Can I pull the exact definition of an older version of an event schema?”
“What did one particular schema version contain?”
Tell an agent
Get version {version} of schema {schema}.
Show the definition of schema {schema} at version {version}.

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-schemas-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-schemas-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Twilio - Events Schemas API
  description: This is the public Twilio REST API.
  termsOfService: https://www.twilio.com/legal/tos
  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
  version: 1.52.0
servers:
- url: https://events.twilio.com
tags:
- name: Schemas
paths:
  /v1/Schemas/{Id}:
    servers:
    - url: https://events.twilio.com
    description: Versioned Schema definitions for Event Types
    x-twilio:
      defaultOutputProperties:
      - id
      pathType: instance
      dependentProperties:
        versions:
          mapping:
            id: id
          resource_url: /v1/Schemas/{id}/Versions
    get:
      description: Fetch a specific schema with its nested versions.
      tags:
      - Schemas
      parameters:
      - name: Id
        in: path
        description: The unique identifier of the schema. Each schema can have multiple versions, that share the same id.
        schema:
          type: string
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/events.v1.schema'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: FetchSchema
      x-maturity:
      - GA
      summary: Fetch schema
      x-summary-source: derived
  /v1/Schemas/{Id}/Versions:
    servers:
    - url: https://events.twilio.com
    description: Version of the Schema
    x-twilio:
      defaultOutputProperties:
      - id
      - schema_version
      - date_created
      pathType: list
      parent: /Schemas/{Id}
      className: schema_version
    get:
      description: Retrieve a paginated list of versions of the schema.
      tags:
      - Schemas
      parameters:
      - name: Id
        in: path
        description: The unique identifier of the schema. Each schema can have multiple versions, that share the same id.
        schema:
          type: string
        required: true
      - name: PageSize
        in: query
        description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        schema:
          type: integer
          minimum: 1
          maximum: 1000
      - name: Page
        in: query
        description: The page index. This value is simply for client state.
        schema:
          type: integer
          minimum: 0
      - name: PageToken
        in: query
        description: The page token. This is provided by the API.
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSchemaVersionResponse'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: ListSchemaVersion
      x-maturity:
      - GA
      summary: List schema version
      x-summary-source: derived
  /v1/Schemas/{Id}/Versions/{SchemaVersion}:
    servers:
    - url: https://events.twilio.com
    description: Version of the Schema
    x-twilio:
      defaultOutputProperties:
      - id
      - schema_version
      - date_created
      pathType: instance
      parent: /Schemas/{Id}
      className: schema_version
    get:
      description: Fetch a specific schema and version.
      tags:
      - Schemas
      parameters:
      - name: Id
        in: path
        description: The unique identifier of the schema. Each schema can have multiple versions, that share the same id.
        schema:
          type: string
        required: true
      - name: SchemaVersion
        in: path
        description: The version of the schema
        schema:
          type: integer
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/events.v1.schema.schema_version'
          description: OK
      security:
      - accountSid_authToken: []
      operationId: FetchSchemaVersion
      x-maturity:
      - GA
      summary: Fetch schema version
      x-summary-source: derived
components:
  schemas:
    events.v1.schema:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
          description: The unique identifier of the schema. Each schema can have multiple versions, that share the same id.
        url:
          type:
          - string
          - 'null'
          format: uri
          description: The URL of this resource.
        links:
          type:
          - object
          - 'null'
          format: uri-map
          description: Contains a dictionary of URL links to nested resources of this schema.
        latest_version_date_created:
          type:
          - string
          - 'null'
          format: date-time
          description: The date that the latest schema version was created, given in ISO 8601 format.
        latest_version:
          type:
          - integer
          - 'null'
          description: The latest version published of this schema.
    ListSchemaVersionResponse:
      type: object
      properties:
        schema_versions:
          type: array
          items:
            $ref: '#/components/schemas/events.v1.schema.schema_version'
        meta:
          type: object
          properties:
            first_page_url:
              type: string
              format: uri
            next_page_url:
              type:
              - string
              - 'null'
              format: uri
            page:
              type: integer
            page_size:
              type: integer
            previous_page_url:
              type:
              - string
              - 'null'
              format: uri
            url:
              type: string
              format: uri
            key:
              type: string
    events.v1.schema.schema_version:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
          description: The unique identifier of the schema. Each schema can have multiple versions, that share the same id.
        schema_version:
          type:
          - integer
          - 'null'
          description: The version of this schema.
        date_created:
          type:
          - string
          - 'null'
          format: date-time
          description: The date the schema version was created, given in ISO 8601 format.
        url:
          type:
          - string
          - 'null'
          format: uri
          description: The URL of this resource.
        raw:
          type:
          - string
          - 'null'
          format: uri
  securitySchemes:
    accountSid_authToken:
      type: http
      scheme: basic
x-maturity:
- name: GA
  description: This product is Generally Available.