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
|
A string that uniquely identifies this Event Type. |
schema_id
|
A string that uniquely identifies the Schema this Event Type adheres to. |
date_created
|
The date that this Event Type was created, given in ISO 8601 format. |
date_updated
|
The date that this Event Type was updated, given in ISO 8601 format. |
description
|
A human readable description for this Event Type. |
url
|
The URL of this resource. |
links
|
|
Fetch an EventType resource
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
|
A string that uniquely identifies this Event Type. |
Example 1
Read multiple EventType resources
https://events.twilio.com/v1/Types
Parameters
Parameters in REST API format | |
---|---|
schema_id
Optional
|
A string parameter filtering the results to return only the Event Types using a given schema. |
Example 1
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.