Fetch a specific schema with its nested versions.

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://twilio.demo.bump-doc.com/doc/events/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Events MCP server": {
  "url": "https://twilio.demo.bump-doc.com/doc/events/mcp"
}
Close
GET /v1/Schemas/{Id}

Versioned Schema definitions for Event Types

Fetch a specific schema with its nested versions.

Path parameters

  • Id string Required

    The unique identifier of the schema. Each schema can have multiple versions, that share the same id.

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • id string | null

      The unique identifier of the schema. Each schema can have multiple versions, that share the same id.

    • url string(uri) | null

      The URL of this resource.

    • latest_version_date_created string(date-time) | null

      The date that the latest schema version was created, given in ISO 8601 format.

    • latest_version integer

      The latest version published of this schema.

      Default value is 0.

GET /v1/Schemas/{Id}
curl \
 --request GET 'https://events.twilio.com/v1/Schemas/{Id}' \
 --user "username:password"
Response examples (200)
{
  "id": "Messaging.MessageStatus",
  "url": "https://events.twilio.com/v1/Schemas/Messaging.MessageStatus",
  "latest_version_date_created": "2020-07-30T20:00:00Z",
  "latest_version": 1,
  "links": {
    "versions": "https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions"
  }
}