## Incoming SMS event

### Properties

Property Description
eventType The event type, value is sms.
direction Direction of message:
in - a message that came from the telephone network to one of your numbers (an “inbound” message)
out - a message that was sent from one of your numbers to the telephone network (an “outbound” message)
from The message sender’s telephone number (or short code).
to Message recipient telephone number (or short code).
messageId The unique id of the message resource for this event.
messageUri The full URL of the message resource.
text The message contents.
time The time the message resource was created (UTC, follows the ISO 8601 format).
state Message state, values are received queued sending sent error

#### HTTP request sent to the incomingMessageUrl configured in the application:

/{callbackUrl}?
messageId=m-asdf&
from=%2B19191231111&
eventType=sms&
text=test&
time=2016-12-01T16:04:49Z&
to=%2B13204601164&