{"$id":"https://events-schemas.twilio.com/Messaging.InboundMessageV1/6","$schema":"https://events-schemas.twilio.com/vocabulary/twilio","additionalProperties":false,"description":"InboundMessage event definition","examples":[{"accountSid":"AC0000000000000000000000000000001","body":"Ahoy!","eventName":"com.twilio.messaging.inbound-message.received","from":"+11234567890","fromCity":"NASHUA","fromCountry":"US","fromState":"NH","fromZip":"03049","mcc":"310","messageSid":"SM0000000000000000000000000000001","messagingServiceSid":"MG0000000000000000000000000000001","mnc":"090","numMedia":0,"optOutType":"STOP","recipients":["+12345678901","+15046081420"],"referralCtwaClid":"ARAkLkA8rmlFeiCktEJQ-QTwRiyYHAFDLMNDBH0CD3qpjd0HR4irJ6LEkR7JwFF4XvnO2E4Nx0-eM-GABDLOPaOdRMv-_zfUQ2a","timestamp":"2025-01-01T00:00:00.000Z","to":"+12345678901","toCity":"FORT MEADE","toCountry":"US","toState":"FL","toZip":"33841"}],"properties":{"accountSid":{"description":"Id of the Twilio account which was used while sending the message","type":"string"},"body":{"description":"Body of the message","type":"string"},"eventName":{"description":"Description of this event","type":"string"},"from":{"description":"From number of the message","identityType":"phone","type":"string"},"fromCity":{"description":"Source city","type":"string"},"fromCountry":{"description":"Source country","type":"string"},"fromState":{"description":"Source state","type":"string"},"fromZip":{"description":"Source zip code","type":"string"},"mcc":{"description":"Mobile Country Code for the FROM number","type":"string"},"messageSid":{"description":"Id of message which the event belongs to","type":"string"},"messagingServiceSid":{"description":"Id of the Messaging Service","type":"string"},"mnc":{"description":"Mobile Network Code for the FROM number","type":"string"},"numMedia":{"description":"Number of media","type":"integer"},"numSegments":{"description":"Number of segments","type":"integer"},"optOutType":{"description":"Type of the opt-out message","type":"string"},"recipients":{"description":"List of recipients for Group MMS","items":{"description":"Recipient for Group MMS","type":"string"},"type":"array"},"referralCtwaClid":{"description":"Id associated with a click to a WhatsApp advertisement, used for integrating WhatsApp message events with Meta's Conversions API","type":"string"},"timestamp":{"description":"Time of the event in ISO 8601 format","type":"string"},"to":{"description":"To number of the message","type":"string"},"toCity":{"description":"Destination city","type":"string"},"toCountry":{"description":"Destination country","type":"string"},"toState":{"description":"Destination state","type":"string"},"toZip":{"description":"Destination zip code","type":"string"}},"required":["messageSid","timestamp","accountSid","eventName","from","to"],"title":"InboundMessageV1","type":"object"}