Menu

Expand
Rate this page:

Event Type Resource

Event types describe the various kinds of events that are accessible through the Event Streams APIs. Each Event Type resource includes a reference to the schema which defines the event type that the resource represents. See the Schema resource documentation for more information.

Not seeing an event type you would like to configure? Submit an event type request.

EventType properties

Resource Properties in REST API format
type
string Not PII

A string that uniquely identifies this Event Type.

schema_id
string Not PII

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

date_created
date_time<iso8601> Not PII

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

date_updated
date_time<iso8601> Not PII

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

description
string Not PII

A human readable description for this Event Type.

url
url Not PII

The URL of this resource.

links
uri_map Not PII

Fetch an EventType resource

get
https://events.twilio.com/v1/Types/{Type}

Fetch the list of all available event types in ascending order by event type.

Parameters
Parameters in REST API format
type
Path
get string Not PII

A string that uniquely identifies this Event Type.

Example 1
Loading Code Sample...
        
        

        Fetch Event Type

        Read multiple EventType resources

        get
        https://events.twilio.com/v1/Types
        Parameters
        Parameters in REST API format
        schema_id
        Optional
        get string Not PII

        A string parameter filtering the results to return only the Event Types using a given schema.

        Example 1
        Loading Code Sample...
              
              

              Read Event Type

              Rate this page:

              Need some help?

              We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

              Loading Code Sample...
                    
                    
                    

                    Thank you for your feedback!

                    Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

                    Sending your feedback...
                    🎉 Thank you for your feedback!
                    Something went wrong. Please try again.

                    Thanks for your feedback!

                    thanks-feedback-gif