Fetch a specific schema and version

GET /v1/Schemas/{Id}/Versions/{SchemaVersion}

Version of the Schema

Fetch a specific schema and version.

Path parameters

  • Id string Required

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

  • SchemaVersion integer Required

    The version of the schema

Responses

  • OK

    Hide response attributes Show response attributes object
    • date_created string(date-time) | null

      The date the schema version was created.

    • id string | null

      The unique identifier of the schema.

    • raw string(uri) | null
    • schema_version integer | null

      The version of this schema.

    • url string(uri) | null

      The URL of this resource.

GET /v1/Schemas/{Id}/Versions/{SchemaVersion}
curl \
 -X GET https://events.twilio.com/v1/Schemas/{Id}/Versions/{SchemaVersion} \
 --user "username:password"
Response examples (200)
{
  "date_created": "2023-05-04T09:42:00+00:00",
  "id": "string",
  "raw": "https://example.com",
  "schema_version": 42,
  "url": "https://example.com"
}
Response examples (200)
{
  "date_created": "2024-05-04T09:42:00+00:00",
  "id": "string",
  "raw": "https://example.com",
  "schema_version": 42,
  "url": "https://example.com"
}