Menu

The Inbox Chat Message Received Event

The "inbox chat message received" event is a webhook event that is triggered whenever you receive a new message in your inbox.

Example

Below is an example of the JSON data you'd receive from the "inbox chat message received" event.


{
	"Event":"ChatMessageRecieved",
	"Timestamp":"2018-05-31 12:57:40",
	"attemptNumber":1,
	"ChatThread":{
		"ChatThreadId":"3443244",
		"WithNumber":"+15554449998",
		"DateCreated":"2018-05-30 07:43:55"
	},
	"ChatMessage":{
		"ChatMessageId":"1442243",
		"FromNumber":"+15554449998",
		"Body":"Hey guys, what time are you open till?",
		"MediaUrl":"https://www.slicktext.com/images/homepage/text_marketing_example_resturant.jpg",
		"MessageRead":false,
		"Received":"2018-05-31 12:57:40"
	},
	"Textwords":[
		{
		"TextwordId":"9454817",
		"Textword":"slicktext",
		"Description": "This is a demo textword",
		"AutoReply":"Thanks for joining the SlickText text alerts list! Use co..."
		}
	]
}