Skip to content

Instantly share code, notes, and snippets.

@bdmac
Created June 8, 2015 16:33
Show Gist options
  • Save bdmac/5de223d419e2696a46d9 to your computer and use it in GitHub Desktop.
Save bdmac/5de223d419e2696a46d9 to your computer and use it in GitHub Desktop.
message.created check_in_response payload
{
"id":"c9186f95-8e3c-4c61-a23b-f70cadb0b9b2",
"data":{
"check_in_time":"2015-06-05T03:00:00Z",
"room_number":"113",
"granted_room_upgrade":true,
"additional_details":null
},
"created_at":"2015-06-04T09:36:28.502-07:00",
"status":"delivered",
"type":"Messages::CheckInResponse",
"category":"check-in-response",
"compiled_template":{
"text/html":"<p>Your room, 113, will be ready at 5:00pm. Unfortunately, we were unable to guarantee room availability before 12:00pm. </p> <p>Please present your Photo ID at the Express Check-in Desk.</p>",
"text/plain":"Hotel Kabuki: Your room, 113, will be ready at 5:00pm. Unfortunately, we were unable to guarantee room availability before 12:00pm. \n\nPlease present your Photo ID at the Express Check-in Desk.\n\nREPLY to this message with any questions during your stay."
},
"to_guest":true,
"sender_type":"User",
"sender_name":"Brian McManus",
"webhook_event_name":"message.created"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment