Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
{ type: 'notification_event',
app_id: '6543b80da436916e2d7fb2a94b5cd014b92f6b86',
data:
{ type: 'notification_event_data',
item:
{ type: 'conversation',
id: '4907116390',
created_at: 1495435113,
updated_at: 1495436298,
user:
{ type: 'user',
id: '57ffd5f45d83085e92108d91',
user_id: 'google-oauth2|100883522325299973274',
name: 'Glenn Block',
email: 'glenn.block@gmail.com' },
assignee:
{ type: 'admin',
id: '723181',
name: 'Glenn Block',
email: 'glenn.block@auth0.com' },
conversation_message:
{ type: 'conversation_message',
id: '102518522',
subject: 'This is a test',
body: '<p class="intercom-align-left">Hi Glenn,</p>\n<p class="intercom-align-left">This is a test mail</p>',
author: { type: 'admin', id: '723181' },
attachments: [] },
conversation_parts:
{ type: 'conversation_part.list',
conversation_parts:
[ { type: 'conversation_part',
id: '604023153',
part_type: 'comment',
body: '<p>Test</p>',
created_at: 1495436298,
updated_at: 1495436298,
notified_at: 0,
assigned_to: null,
author:
{ type: 'user',
id: '57ffd5e45d83085e92108d91',
name: 'Glenn Block',
email: 'glenn.block@gmail.com' },
attachments: [],
external_id: null } ],
total_count: 1 },
open: true,
read: true,
metadata: {},
tags: { type: 'tag.list', tags: [] },
links: { conversation_web: 'https://app.intercom.io/a/apps/5543b80da216916e2d7fb2a94b5cd014b92f6b86/inbox/all/conversations/9907116390' } } },
links: {},
id: 'notif_09c2bef0-3ebc-11e7-8ccf-8d63a6917ab2',
topic: 'conversation.user.replied',
delivery_status: 'pending',
delivery_attempts: 1,
delivered_at: 0,
first_sent_at: 1495436299,
created_at: 1495436299,
self: null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment