Message are how you reach out to contacts in Intercom. They are created when an admin sends an outbound message to a contact.
The type of message that was sent. Can be email, inapp, facebook, twitter or whatsapp.
Enum:"email""inapp""facebook""twitter""whatsapp"
Example:"inapp"
ownerobject or null(Admin)
The admin who sent the message. Only present when the message has an owner.
The style of the email, such as plain or personal. Only present when message_type is email.
Example:"plain"
The external identifier of the message, if one was set when the message was created. Only returned for messages started by a contact.
Example:"api:order-1234"
{ "type": "user_message", "id": "1488971108", "created_at": 1667560812, "subject": "Greetings", "body": "Hello", "message_type": "inapp", "conversation_id": "64619700005570", "owner": { "type": "admin", "id": "1295", "name": "Joe Example", "email": "jdoe@example.com", "job_title": "Associate", "away_mode_enabled": false, "away_mode_reassign": false, "away_status_reason_id": 12345, "has_inbox_seat": true, "team_ids": [ … ], "avatar": { … }, "team_priority_level": { … }, "role": { … } }, "template": "plain", "external_id": "api:order-1234", "whatsapp_message_id": "wamid.EXAMPLE123" }