The message model

Example Message Object

{
    "type": "message",
    "id": "489373052",
    "created_at": 1539897198,
    "subject": "This is the subject - if it's an email",
    "body": "<p>Hello</p>",
    "message_type": "email"
}

Message are how you reach out to contacts in Intercom. They are created when an admin sends an outbound message to a contact.

Message Object

KeyTypeDescription
typeStringAlways message.
idStringThe id representing the message.
created_atUNIX TimestampThe time the conversation was created.
subjectStringThe subject of the message.
Only present if message_type: email.
bodyStringThe message body, which may contain HTML.
message_typeStringThe type of message that was sent. Can be email, inapp, facebook or twitter.
conversation_idStringThe associated conversation_id. Only returned when creating a conversation.