Skip to content

Instantly share code, notes, and snippets.

@OseasSon
OseasSon / contact-user-created.txt
Created March 4, 2024 14:05
contact.user.created
{
"type": "notification_event",
"app_id": "d90noo0b",
"data": {
"type": "notification_event_data",
"item": {
"type": null,
"id": "contact123",
"workspace_id": null,
"external_id": null,
@OseasSon
OseasSon / admin-away_mode_updated.txt
Created March 4, 2024 12:27
admin.away_mode_updated
{
"type": "notification_event",
"app_id": "d90noo0b",
"data": {
"type": "notification_event_data",
"item": {
"type": "admin",
"id": null,
"name": null,
"email": null,
@OseasSon
OseasSon / content_stat-survey.txt
Created March 4, 2024 12:24
content_stat.survey
{
"type": "notification_event",
"app_id": "d90noo0b",
"data": {
"type": "notification_event_data",
"item": {
"type": "content_stat.survey",
"created_at": 1709555037,
"content_stat": {
"id": "contentStatId123",
@OseasSon
OseasSon / company-created.txt
Created March 4, 2024 12:23
company.created
{
"type": "notification_event",
"app_id": "d90noo0b",
"data": {
"type": "notification_event_data",
"item": {
"type": "company",
"id": "",
"company_id": "",
"app_id": "",
@OseasSon
OseasSon / conversation-admin-assigned.txt
Last active March 4, 2024 12:24
conversation.admin.assigned
{
"type": "notification_event",
"app_id": "d90noo0b",
"data": {
"type": "notification_event_data",
"item": {
"type": "conversation",
"id": "",
"created_at": null,
"updated_at": null,
@OseasSon
OseasSon / gist:fc4f1ee3e5e861575440f154ce8ef89e
Created July 28, 2023 11:29
Example payload from content_stat.survey
{
"type": "notification_event",
"app_id": "d90xxx0b",
"data": {
"type": "notification_event_data",
"item": {
"type": "content_stat.survey",
"created_at": 1690543628,
"content_stat": {
"id": "contentStatId123",
@OseasSon
OseasSon / gist.json
Last active April 5, 2023 13:18
Date values formatting
{
"headers": {
"Date": "Tue, 28 Mar 2023 09:49:39 GMT",
"Accept": "application/json",
"Accept-Encoding": "gzip,deflate",
"Host": "prod-191.westeurope.logic.azure.com",
"User-Agent": "Intercom/Parrot,1.3",
"Intercom-Webhook-Subscription-ID": "nsub_wd_d141a19c-0413-46a1-943f-705cb1a85faf_sn98f9uw",
"X-Hub-Signature": "sha1=8543c05e8aaff91d2041850d7c34186837d4ce56",
"Intercom-Version": "2.8",