Schemas define how information is organized within an event's data attribute. You can use the schema to explore the fields in an event type before subscribing to it. You can use also it in production to validate that the events you receive match their published schemas.
There are two ways to find the schema id of an Event-Type.
You can fetch any event type resource through the
Event Type API
and find the
schema_id
in its properties.
If you are already receiving events in your sink, the metadata of the event will contain the url of its schema in a field called
dataschema
. The schema
id
is part of the url. For example, if the url is
https://events-schemas.twilio.com/VoiceInsights.CallSummary/1
, the schema
id
is
VoiceInsights.CallSummary.