Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

5.5 KB
Raw Blame
{
    "type": "notification_event",
    "app_id": "abc123def",
    "data": {
        "type": "notification_event_data",
        "item": {
            "type": "granular_subscribe",
            "contact": {
                "type": "contact",
                "id": "6961cf78fb9d13be07871c78",
                "workspace_id": "abc123def",
                "external_id": "22",
                "role": "user",
                "email": "[email protected]",
                "phone": "+1 555-123-4567",
                "name": "Sample User",
                "avatar": null,
                "owner_id": null,
                "social_profiles": {
                    "type": "list",
                    "data": []
                },
                "has_hard_bounced": false,
                "marked_email_as_spam": false,
                "unsubscribed_from_emails": false,
                "created_at": "2026-01-10T04:03:04.963+00:00",
                "updated_at": "2026-01-10T05:38:04.931+00:00",
                "signed_up_at": null,
                "last_seen_at": null,
                "last_replied_at": null,
                "last_contacted_at": null,
                "last_email_opened_at": null,
                "last_email_clicked_at": null,
                "language_override": null,
                "browser": null,
                "browser_version": null,
                "browser_language": null,
                "os": null,
                "location": {
                    "type": "location",
                    "country": null,
                    "region": null,
                    "city": null,
                    "country_code": null,
                    "continent_code": null
                },
                "android_app_name": null,
                "android_app_version": null,
                "android_device": null,
                "android_os_version": null,
                "android_sdk_version": null,
                "android_last_seen_at": null,
                "ios_app_name": null,
                "ios_app_version": null,
                "ios_device": null,
                "ios_os_version": null,
                "ios_sdk_version": null,
                "ios_last_seen_at": null,
                "custom_attributes": {},
                "tags": {
                    "type": "list",
                    "data": [],
                    "url": "/contacts/6961cf78fb9d13be07871c78/tags",
                    "total_count": 0,
                    "has_more": false
                },
                "notes": {
                    "type": "list",
                    "data": [],
                    "url": "/contacts/6961cf78fb9d13be07871c78/notes",
                    "total_count": 0,
                    "has_more": false
                },
                "companies": {
                    "type": "list",
                    "data": [],
                    "url": "/contacts/6961cf78fb9d13be07871c78/companies",
                    "total_count": 0,
                    "has_more": false
                },
                "opted_out_subscription_types": {
                    "type": "list",
                    "data": [],
                    "url": "/contacts/6961cf78fb9d13be07871c78/subscriptions",
                    "total_count": 0,
                    "has_more": false
                },
                "opted_in_subscription_types": {
                    "type": "list",
                    "data": [
                        {
                            "id": "1943066",
                            "type": "subscription",
                            "url": "/subscription_types/1943066"
                        }
                    ],
                    "url": "/contacts/6961cf78fb9d13be07871c78/subscriptions",
                    "total_count": 1,
                    "has_more": false
                },
                "utm_campaign": null,
                "utm_content": null,
                "utm_medium": null,
                "utm_source": null,
                "utm_term": null,
                "referrer": null,
                "sms_consent": false,
                "unsubscribed_from_sms": true,
                "enabled_push_messaging": null
            },
            "subscription_types": {
                "type": "list",
                "data": [
                    {
                        "type": "subscription",
                        "id": "1943066",
                        "state": "live",
                        "consent_type": "opt_in",
                        "default_translation": {
                            "name": "Announcements",
                            "description": "Offers, product and feature announcements",
                            "locale": "en"
                        },
                        "translations": [
                            {
                                "name": "Announcements",
                                "description": "Offers, product and feature announcements",
                                "locale": "en"
                            }
                        ],
                        "content_types": [
                            "email"
                        ]
                    }
                ]
            },
            "created_at": 1768023485
        }
    },
    "links": {},
    "id": "notif_64f6393f-9f58-4129-a38b-e70a08931524",
    "topic": "granular.subscribe",
    "delivery_status": "pending",
    "delivery_attempts": 1,
    "delivered_at": 0,
    "first_sent_at": 1768023485,
    "created_at": 1768023484,
    "self": null
}