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.

16.9 KB
Raw Blame
{
    "type": "notification_event",
    "app_id": "abc123def",
    "data": {
        "type": "notification_event_data",
        "item": {
            "type": "ticket",
            "id": "215472629311235",
            "ticket_id": "66040342",
            "ticket_attributes": {
                "_default_title_": "Unclear user message 'erf' with pending email response",
                "_default_description_": "User sent an unclear message 'erf' and was informed that replies will be sent here and to [email protected]; awaiting further clarification or response.",
                "Platforms": "rewg",
                "Root cause": null
            },
            "ticket_state": {
                "type": "ticket_state",
                "id": "4517896",
                "category": "resolved",
                "internal_label": "Resolved",
                "external_label": "Resolved"
            },
            "ticket_type": {
                "type": "ticket_type",
                "id": "2979330",
                "name": "Tickets",
                "description": "When a customer query can’t be instantly resolved, convert to support request ticket to ensure the right details are captured and allow customers to keep track of progress.",
                "icon": "🎟",
                "workspace_id": "abc123def",
                "archived": false,
                "created_at": 1767066651,
                "updated_at": 1767066651,
                "is_internal": false,
                "ticket_type_attributes": {
                    "type": "list",
                    "data": [
                        {
                            "type": "ticket_type_attribute",
                            "id": "8514183",
                            "workspace_id": "abc123def",
                            "name": "_default_title_",
                            "description": "",
                            "data_type": "string",
                            "input_options": {
                                "multiline": false
                            },
                            "order": 0,
                            "required_to_create": false,
                            "required_to_create_for_contacts": false,
                            "visible_on_create": true,
                            "visible_to_contacts": true,
                            "default": true,
                            "ticket_type_id": 2979330,
                            "archived": false,
                            "created_at": 1767066651,
                            "updated_at": 1767066651
                        },
                        {
                            "type": "ticket_type_attribute",
                            "id": "8514184",
                            "workspace_id": "abc123def",
                            "name": "_default_description_",
                            "description": "",
                            "data_type": "string",
                            "input_options": {
                                "multiline": true
                            },
                            "order": 1,
                            "required_to_create": false,
                            "required_to_create_for_contacts": false,
                            "visible_on_create": true,
                            "visible_to_contacts": true,
                            "default": true,
                            "ticket_type_id": 2979330,
                            "archived": false,
                            "created_at": 1767066651,
                            "updated_at": 1767066651
                        },
                        {
                            "type": "ticket_type_attribute",
                            "id": "8514185",
                            "workspace_id": "abc123def",
                            "name": "Platforms",
                            "description": "",
                            "data_type": "string",
                            "input_options": {
                                "multiline": false
                            },
                            "order": 2,
                            "required_to_create": false,
                            "required_to_create_for_contacts": false,
                            "visible_on_create": true,
                            "visible_to_contacts": true,
                            "default": false,
                            "ticket_type_id": 2979330,
                            "archived": false,
                            "created_at": 1767066651,
                            "updated_at": 1767066651
                        },
                        {
                            "type": "ticket_type_attribute",
                            "id": "8514186",
                            "workspace_id": "abc123def",
                            "name": "Root cause",
                            "description": "",
                            "data_type": "string",
                            "input_options": {
                                "multiline": false
                            },
                            "order": 3,
                            "required_to_create": false,
                            "required_to_create_for_contacts": false,
                            "visible_on_create": true,
                            "visible_to_contacts": true,
                            "default": false,
                            "ticket_type_id": 2979330,
                            "archived": false,
                            "created_at": 1767066651,
                            "updated_at": 1767066651
                        }
                    ]
                },
                "category": "Customer"
            },
            "contacts": {
                "type": "contact.list",
                "contacts": [
                    {
                        "id": "696346bbaebb5a479d3851a3",
                        "role": "lead"
                    }
                ]
            },
            "admin_assignee_id": "9608799",
            "team_assignee_id": "0",
            "created_at": 1768113868,
            "updated_at": 1768117266,
            "ticket_parts": {
                "type": "ticket_part.list",
                "ticket_parts": [
                    {
                        "type": "ticket_part",
                        "id": "37403241257",
                        "part_type": "attribute_collected",
                        "created_at": 1768113868,
                        "updated_at": 1768113868,
                        "author": {
                            "id": "9608808",
                            "type": "bot",
                            "name": "Fin",
                            "email": "[email protected]"
                        },
                        "attachments": [],
                        "redacted": false
                    },
                    {
                        "type": "ticket_part",
                        "id": "37403241627",
                        "part_type": "language_detection_details",
                        "created_at": 1768113869,
                        "updated_at": 1768113869,
                        "author": {
                            "id": "9608808",
                            "type": "bot",
                            "name": "Fin",
                            "email": "[email protected]"
                        },
                        "attachments": [],
                        "redacted": false
                    },
                    {
                        "type": "ticket_part",
                        "id": "37403242516",
                        "part_type": "channel_and_reply_time_expectation",
                        "body": "<p>You’ll get replies here and in your email:<br>✉️ <b>[email protected]</b></p>\n<p>The team will reply as soon as they can.</p>",
                        "created_at": 1768113872,
                        "updated_at": 1768113872,
                        "author": {
                            "id": "9608808",
                            "type": "bot",
                            "name": "Fin",
                            "email": "[email protected]"
                        },
                        "attachments": [],
                        "redacted": false
                    },
                    {
                        "type": "ticket_part",
                        "id": "37403374462",
                        "part_type": "ticket_state_updated_by_admin",
                        "ticket_state": "submitted",
                        "previous_ticket_state": "submitted",
                        "created_at": 1768114250,
                        "updated_at": 1768114250,
                        "author": {
                            "id": "9608799",
                            "type": "admin",
                            "name": "John Doe",
                            "email": "[email protected]"
                        },
                        "attachments": [],
                        "redacted": false
                    },
                    {
                        "type": "ticket_part",
                        "id": "37403424009",
                        "part_type": "assignment",
                        "created_at": 1768114389,
                        "updated_at": 1768114389,
                        "assigned_to": {
                            "type": "admin",
                            "id": "9608799"
                        },
                        "author": {
                            "id": "9608799",
                            "type": "admin",
                            "name": "John Doe",
                            "email": "[email protected]"
                        },
                        "attachments": [],
                        "redacted": false
                    },
                    {
                        "type": "ticket_part",
                        "id": "37403439476",
                        "part_type": "assignment",
                        "created_at": 1768114432,
                        "updated_at": 1768114432,
                        "assigned_to": {
                            "type": "team",
                            "id": "9680998"
                        },
                        "author": {
                            "id": "9608799",
                            "type": "admin",
                            "name": "John Doe",
                            "email": "[email protected]"
                        },
                        "attachments": [],
                        "redacted": false
                    },
                    {
                        "type": "ticket_part",
                        "id": "37403461654",
                        "part_type": "assignment",
                        "body": "<p class=\"no-margin\">AD</p>",
                        "created_at": 1768114494,
                        "updated_at": 1768114494,
                        "assigned_to": {
                            "type": "admin",
                            "id": "9608799"
                        },
                        "author": {
                            "id": "9608799",
                            "type": "admin",
                            "name": "John Doe",
                            "email": "[email protected]"
                        },
                        "attachments": [],
                        "redacted": false
                    },
                    {
                        "type": "ticket_part",
                        "id": "37403467236",
                        "part_type": "assignment",
                        "created_at": 1768114511,
                        "updated_at": 1768114511,
                        "assigned_to": {
                            "type": "nobody_admin",
                            "id": null
                        },
                        "author": {
                            "id": "9608799",
                            "type": "admin",
                            "name": "John Doe",
                            "email": "[email protected]"
                        },
                        "attachments": [],
                        "redacted": false
                    },
                    {
                        "type": "ticket_part",
                        "id": "37403474386",
                        "part_type": "assignment",
                        "body": "<p class=\"no-margin\">mathew</p>",
                        "created_at": 1768114530,
                        "updated_at": 1768114530,
                        "assigned_to": {
                            "type": "admin",
                            "id": "9608799"
                        },
                        "author": {
                            "id": "9608799",
                            "type": "admin",
                            "name": "John Doe",
                            "email": "[email protected]"
                        },
                        "attachments": [],
                        "redacted": false
                    },
                    {
                        "type": "ticket_part",
                        "id": "37403497489",
                        "part_type": "title_changed",
                        "created_at": 1768114596,
                        "updated_at": 1768114596,
                        "author": {
                            "id": "9608799",
                            "type": "admin",
                            "name": "John Doe",
                            "email": "[email protected]"
                        },
                        "attachments": [],
                        "redacted": false
                    },
                    {
                        "type": "ticket_part",
                        "id": "37403526220",
                        "part_type": "ticket_attribute_updated_by_admin",
                        "created_at": 1768114679,
                        "updated_at": 1768114679,
                        "author": {
                            "id": "9608799",
                            "type": "admin",
                            "name": "John Doe",
                            "email": "[email protected]"
                        },
                        "attachments": [],
                        "redacted": false,
                        "updated_attribute_data": {
                            "attribute": {
                                "type": "attribute",
                                "id": "8514185",
                                "label": "Platforms"
                            },
                            "value": {
                                "type": "value",
                                "id": "rewg",
                                "label": "rewg",
                                "previous": ""
                            }
                        }
                    },
                    {
                        "type": "ticket_part",
                        "id": "37404498124",
                        "part_type": "close",
                        "created_at": 1768117266,
                        "updated_at": 1768117266,
                        "author": {
                            "id": "9608799",
                            "type": "admin",
                            "name": "John Doe",
                            "email": "[email protected]"
                        },
                        "attachments": [],
                        "redacted": false
                    },
                    {
                        "type": "ticket_part",
                        "id": "37404498160",
                        "part_type": "ticket_state_updated_by_admin",
                        "ticket_state": "resolved",
                        "previous_ticket_state": "submitted",
                        "created_at": 1768117266,
                        "updated_at": 1768117266,
                        "author": {
                            "id": "9608799",
                            "type": "admin",
                            "name": "John Doe",
                            "email": "[email protected]"
                        },
                        "attachments": [],
                        "redacted": false
                    }
                ],
                "total_count": 13
            },
            "open": false,
            "snoozed_until": null,
            "linked_objects": {
                "type": "list",
                "data": [],
                "total_count": 0,
                "has_more": false
            },
            "category": "Customer",
            "is_shared": true,
            "company_id": null,
            "channel": "messenger"
        }
    },
    "links": {},
    "id": "notif_aedb66d9-7147-43ee-8b75-fe3ee2108b11",
    "topic": "ticket.closed",
    "delivery_status": "pending",
    "delivery_attempts": 1,
    "delivered_at": 0,
    "first_sent_at": 1768117267,
    "created_at": 1768117267,
    "self": null
}