Fetch a specific Event Type.

GET /v1/Types/{Type}

Event Types available

Fetch a specific Event Type.

Path parameters

  • Type string Required

    A string that uniquely identifies this Event Type.

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
    • type string | null

      A string that uniquely identifies this Event Type.

    • schema_id string | null

      A string that uniquely identifies the Schema this Event Type adheres to.

    • date_created string(date-time) | null

      The date that this Event Type was created, given in ISO 8601 format.

    • date_updated string(date-time) | null

      The date that this Event Type was updated, given in ISO 8601 format.

    • description string | null

      A human readable description for this Event Type.

    • status string | null

      A string that describes how this Event Type can be used. For example: available, deprecated, restricted, discontinued. When the status is available, the Event Type can be used normally.

    • documentation_url string | null

      The URL to the documentation or to the most relevant Twilio Changelog entry of this Event Type.

    • url string(uri) | null

      The URL of this resource.

GET /v1/Types/{Type}
curl \
 --request GET 'https://events.twilio.com/v1/Types/{Type}' \
 --user "username:password"
{
  "url": "https://events.twilio.com/v1/Types/com.twilio.messaging.message.delivered",
  "type": "com.twilio.messaging.message.delivered",
  "links": {
    "schema": "https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions"
  },
  "status": "available",
  "schema_id": "Messaging.MessageStatus",
  "description": "Messaging- delivered message",
  "date_created": "2020-08-13T13:28:20Z",
  "date_updated": "2020-08-13T13:28:20Z",
  "documentation_url": null
}
{
  "url": "https://events.twilio.com/v1/Types/com.twilio.messaging.message.delivered",
  "type": "com.twilio.messaging.message.delivered",
  "links": {
    "schema": "https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions"
  },
  "status": "available",
  "schema_id": "Messaging.MessageStatus",
  "description": "Messaging- delivered message",
  "date_created": "2020-08-13T13:28:20Z",
  "date_updated": "2020-08-13T13:28:20Z",
  "documentation_url": "https://www.twilio.com/docs/voice/voice-insights/event-streams"
}
{
  "url": "https://events.twilio.com/v1/Types/com.twilio.messaging.message.delivered",
  "type": "com.twilio.messaging.message.delivered",
  "links": {
    "schema": "https://events.twilio.com/v1/Schemas/Messaging.MessageStatus/Versions"
  },
  "status": "available",
  "schema_id": "Messaging.MessageStatus",
  "description": "Messaging- delivered message",
  "date_created": "2020-08-13T13:28:20Z",
  "date_updated": "2020-08-13T13:28:20Z",
  "documentation_url": null
}