Ticket Create

Triggers when a ticket is created in iOmniHub

{
    "action": "ticket_created",
    "customer": {
        "id": 15157748,
        "primary_id": "990b521c65a711edba291647a91fbbd9",
        "avatar": null,
        "first_name": "Anonymous",
        "last_name": "User",
        "full_name": "Shuvo",
        "gender": "",
        "timezone": null,
        "locale": "",
        "language": "",
        "phone": "",
        "email": "shuvo@iOmniHub.ai",
        "created_at": "1668600601",
        "last_message_text": "ticket",
        "last_message_time": "1670078420",
        "city": "Dhaka",
        "region": "Dhaka",
        "country": "Bangladesh",
        "ip_address": "103.95.98.102",
        "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"
    },
    "channel": {
        "id": 12570,
        "type": "livechat_messenger",
        "name": "iOmniHub Live Support"
    },
    "team": {
        "id": 343,
        "name": "iOmniHub Labs"
    },
    "ticket": {
        "id": 8192170,
        "is_replied": false,
        "is_resolved": false,
        "conversation_text": "ticket",
        "created_at": "1670078420",
        "assigned_agent": null,
        "assigned_group": null,
        "resolved_by": null,
        "tags": []
    }
}

Ticket Resolve

Triggers when a ticket is resolved in iOmniHub

# TICKET RESOLVED
{
    "action": "ticket_resolved",
    "customer": {
        "id": 15157748,
        "primary_id": "990b521c65a711edba291647a91fbbd9",
        "avatar": null,
        "first_name": "Anonymous",
        "last_name": "User",
        "full_name": "Shuvo",
        "gender": "",
        "timezone": null,
        "locale": "",
        "language": "",
        "phone": "",
        "email": "shuvo@iOmniHub.ai",
        "created_at": "1668600601",
        "last_message_text": "ticket",
        "last_message_time": "1670078420",
        "city": "Dhaka",
        "region": "Dhaka",
        "country": "Bangladesh",
        "ip_address": "103.95.98.102",
        "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"
    },
    "channel": {
        "id": 12570,
        "type": "livechat_messenger",
        "name": "iOmniHub Live Support"
    },
    "team": {
        "id": 343,
        "name": "iOmniHub"
    },
    "ticket": {
        "id": 8192170,
        "is_replied": false,
        "is_resolved": true,
        "conversation_text": "ticket",
        "created_at": "1670078420",
        "assigned_agent": null,
        "assigned_group": null,
        "resolved_by": {
            "id": 7,
            "email": "",
            "avatar": "",
            "full_name": "Shuvo Rahman",
            "status": "online"
        },
        "tags": []
    }
}

Ticket Tag

Triggers when a ticket is tagged in iOmniHub

{
    "action": "ticket_tagged",
    "customer": {
        "id": 15157748,
        "primary_id": "990b521c65a711edba291647a91fbbd9",
        "avatar": null,
        "first_name": "Anonymous",
        "last_name": "User",
        "full_name": "Shuvo",
        "gender": "",
        "timezone": null,
        "locale": "",
        "language": "",
        "phone": "",
        "email": "shuvo@iOmniHub.ai",
        "created_at": "1668600601",
        "last_message_text": "ticket",
        "last_message_time": "1670078420",
        "city": "Dhaka",
        "region": "Dhaka",
        "country": "Bangladesh",
        "ip_address": "103.95.98.102",
        "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"
    },
    "channel": {
        "id": 12570,
        "type": "livechat_messenger",
        "name": "iOmniHub Live Support"
    },
    "team": {
        "id": 343,
        "name": "iOmniHub Labs"
    },
    "ticket": {
        "id": 8192573,
        "is_replied": true,
        "is_resolved": false,
        "conversation_text": "",
        "created_at": "1670079237",
        "assigned_agent": {
            "id": 7,
            "email": "shuvo.rahman@iOmniHub.ai",
            "avatar": "",
            "full_name": "Shuvo Rahman",
            "status": "online"
        },
        "assigned_group": null,
        "resolved_by": null,
        "tags": [
            {
                "id": 2909,
                "name": "Test Tag"
            }
        ]
    }
}

Ticket Reopen

Triggers when a ticket is reopened in iOmniHub

{
    "action": "ticket_reopened",
    "customer": {
        "id": 15157748,
        "primary_id": "990b521c65a711edba291647a91fbbd9",
        "avatar": null,
        "first_name": "Anonymous",
        "last_name": "User",
        "full_name": "Shuvo",
        "gender": "",
        "timezone": null,
        "locale": "",
        "language": "",
        "phone": "",
        "email": "shuvo@iOmniHub.ai",
        "created_at": "1668600601",
        "last_message_text": "ticket",
        "last_message_time": "1670078420",
        "city": "Dhaka",
        "region": "Dhaka",
        "country": "Bangladesh",
        "ip_address": "103.95.98.102",
        "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"
    },
    "channel": {
        "id": 12570,
        "type": "livechat_messenger",
        "name": "iOmniHub Live Support"
    },
    "team": {
        "id": 343,
        "name": "iOmniHub Labs"
    },
    "ticket": {
        "id": 8192170,
        "is_replied": false,
        "is_resolved": true,
        "conversation_text": "ticket",
        "created_at": "1670078420",
        "assigned_agent": null,
        "assigned_group": null,
        "reopened_by": {
            "id": 7,
            "email": "shuvo.rahman@iOmniHub.ai",
            "avatar": "",
            "full_name": "Shuvo Rahman",
            "status": "online"
        },
        "tags": []
    }
}

Customer Create

Triggers when a customer is created in iOmniHub

{
    "action": "customer_created",
    "customer": {
        "id": 15157748,
        "primary_id": "990b521c65a711edba291647a91fbbd9",
        "avatar": null,
        "first_name": "Anonymous",
        "last_name": "User",
        "full_name": "Shuvo",
        "gender": "",
        "timezone": null,
        "locale": "",
        "language": "",
        "phone": "",
        "email": "shuvo@iOmniHub.ai",
        "created_at": "1668600601",
        "last_message_text": "ticket",
        "last_message_time": "1670078420",
        "city": "Dhaka",
        "region": "Dhaka",
        "country": "Bangladesh",
        "ip_address": "103.95.98.102",
        "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36"
    },
    "channel": {
        "id": 12570,
        "type": "livechat_messenger",
        "name": "iOmniHub Live Support"
    },
    "team": {
        "id": 343,
        "name": "iOmniHub Labs"
    },
    "ticket": {}
}