Created
September 18, 2018 20:01
-
-
Save fIa5h/aedcedf1ceb72cc88b625c9ead484ca6 to your computer and use it in GitHub Desktop.
Example Intercom web-hook payload
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "notification_event_data", | |
"item": { | |
"type": "conversation", | |
"id": "18255009678", | |
"created_at": 1535647240, | |
"updated_at": 1535952882, | |
"user": { | |
"type": "user", | |
"id": "5b881d43dc78d66a0817eab9", | |
"user_id": "262", | |
"name": "Ryan Musser", | |
"email": "[email protected]" | |
}, | |
"assignee": { | |
"type": "admin", | |
"id": "2245467", | |
"name": "Ryan Musser", | |
"email": "[email protected]" | |
}, | |
"conversation_message": { | |
"type": "conversation_message", | |
"id": "250148377", | |
"subject": "", | |
"body": "<p>Hey! This is a test comment!</p>", | |
"author": { | |
"type": "user", | |
"id": "5b881d43dc78d66a0817eab9" | |
}, | |
"attachments": [] | |
}, | |
"conversation_parts": { | |
"type": "conversation_part.list", | |
"conversation_parts": [ | |
{ | |
"type": "conversation_part", | |
"id": "1742989616", | |
"part_type": "comment", | |
"body": "<p>Hello there?<br></p>", | |
"created_at": 1535652195, | |
"updated_at": 1537279028, | |
"notified_at": 1535652195, | |
"assigned_to": null, | |
"author": { | |
"type": "admin", | |
"id": "2245467", | |
"name": "Ryan Musser" | |
}, | |
"attachments": [], | |
"external_id": null | |
} | |
], | |
"total_count": 1 | |
}, | |
"open": true, | |
"read": true, | |
"metadata": {}, | |
"tags": { | |
"type": "tag.list", | |
"tags": [ | |
{ | |
"type": "tag", | |
"id": "1980481", | |
"name": "Aer Lingus: Escalate to Astute" | |
} | |
] | |
}, | |
"tags_added": { | |
"type": "tag.list", | |
"tags": [ | |
{ | |
"type": "tag", | |
"id": "1980481", | |
"name": "Aer Lingus: Escalate to Astute" | |
} | |
] | |
}, | |
"links": { | |
"conversation_web": "https://app.intercom.io/a/apps/fj72futc/inbox/all/conversations/18255009678" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment